Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 8 of 8
  1. #1
    Senior Member dwc's Avatar
    Join Date
    Oct 2005
    Posts
    363

    SOme flacs won't play, why looking so hard for lame.exe?

    Second time this happened to me, warranted a posting. If I can't resolve it here I'll file a bug, and maybe you all can let me know what data to include with the bug. I don't know if this a corrupt db or not, I can't even see an error message in the debug output, and I have nearly all the flags turned on (see below).

    I rip a cd to flac. Go to it via browse music folder. and try to play the cd. Only the first track plays. The others get that "error opening file for: " error. I rescan, same issue. Last time this happened a total rescan seemed to work, but not so well this time. I'm trying oto get some insigt into the problem by flipping all the debug flags on, and I can't see any error messages in the console. I do see a bunch of "looking for flac.exe" though. Why's that?

    Can anyone tell from the output below why the track won't play? BTW, this is not for the vast majority of discs, it's happened on a couple so far...

    ===

    C:\PROGRA~1\SlimServer\server>slim --d_sql --d_stream_v --d_command --d_files --
    d_info --d_import --d_cli --d_client --d_control --d_filehandle --d_display --d_
    paths --d_parse --d_source_v > debug.txt
    2005-11-13 20:47:24.8780 Checking for mDNSResponderPosix.exe in C:\PROGRA~1\Slim
    Server\server\Bin\MSWin32-x86-multi-thread\mDNSResponderPosix.exe
    2005-11-13 20:47:24.8783 Checking for mDNSResponderPosix.exe in C:\PROGRA~1\Slim
    Server\server\Bin\MSWin32\mDNSResponderPosix.exe
    2005-11-13 20:47:24.8786 Checking for mDNSResponderPosix.exe in C:\PROGRA~1\Slim
    Server\server\Bin\mDNSResponderPosix.exe
    2005-11-13 20:47:24.8868 Found binary undef for mDNSResponderPosix.exe
    2005-11-13 20:47:25.1647 Metadata database saving into: C:\Program Files\SlimSer
    ver\server\Cache\slimserversql.db
    2005-11-13 20:47:25.1709 Connected to database dbi:SQLite:dbname=C:\Program File
    s\SlimServer\server\Cache\slimserversql.db
    2005-11-13 20:47:25.1757 No upgrades found for database v. 16
    2005-11-13 20:47:25.1764 DBI: Supressing periodic commit - no dirty items
    2005-11-13 20:47:25.1858 loading types config file...
    2005-11-13 20:47:25.1929 Import: Adding Folder Scan
    2005-11-13 20:47:25.1932 Import: Adding Playlist Scan
    2005-11-13 20:47:25.4970 cracked: http://localhost:9000/browsedb.html?hierarchy=
    age,track&level=0 with [localhost],[9000],[/browsedb.html?hierarchy=age,track&le
    vel=0]
    2005-11-13 20:47:25.7979 browsedb - hierarchy: age,track level: 0
    2005-11-13 20:47:25.8051 Start and End node: [default:default]
    2005-11-13 20:47:25.8054 Start and End node: [contributor:default]
    2005-11-13 20:47:25.8056 Field query. Need additional join. start and End node:
    [contributor:contributor]
    2005-11-13 20:47:25.8063 Running SQL query: [SELECT COUNT(*) FROM (SELECT DISTIN
    CT tracks.id AS id,tracks.multialbumsortkey AS multialbumsortkey,tracks.thumb AS
    thumb,tracks.age AS age,tracks.remote AS remote,tracks.ct AS ct,tracks.audio AS
    audio,tracks.titlesort AS titlesort,tracks.album AS album,tracks.tracknum AS tr
    acknum,tracks.url AS url,tracks.tag AS tag,tracks.title AS title,tracks.disc AS
    disc,tracks.fs AS fs FROM contributor_track, tracks, contributors WHERE contribu
    tor_track.track = tracks.id AND contributors.id = contributor_track.contributor
    AND ( contributor_track.role IN ( ?, ? ) AND tracks.audio = ? ))]
    2005-11-13 20:47:25.8065 Bind arguments: [1, 5, 1]

    2005-11-13 20:47:26.0625 Start and End node: [contributor:contributor]
    2005-11-13 20:47:26.0628 Field query. Need additional join. start and End node:
    [contributor:contributor]
    2005-11-13 20:47:26.0629 Start and End node: [album:contributor]
    2005-11-13 20:47:26.0631 Field query. Need additional join. start and End node:
    [album:album]
    2005-11-13 20:47:26.0639 Running SQL query: [SELECT COUNT(*) FROM (SELECT DISTIN
    CT contributors.id AS id,contributors.name AS name,contributors.namesort AS name
    sort,contributors.moodlogic_id AS moodlogic_id,contributors.moodlogic_mixable AS
    moodlogic_mixable,contributors.musicmagic_mixable AS musicmagic_mixable FROM co
    ntributor_track, tracks, contributors, albums WHERE contributor_track.track = tr
    acks.id AND contributors.id = contributor_track.contributor AND albums.id = trac
    ks.album AND ( albums.compilation = ? AND contributor_track.role IN ( ?, ? ) ))
    ]
    2005-11-13 20:47:26.0641 Bind arguments: [0, 1, 5]

    2005-11-13 20:47:26.1231 Start and End node: [contributor:album]
    2005-11-13 20:47:26.1234 Field query. Need additional join. start and End node:
    [contributor:contributor]
    2005-11-13 20:47:26.1239 Running SQL query: [SELECT COUNT(*) FROM (SELECT DISTIN
    CT albums.id AS id,albums.title AS title,albums.titlesort AS titlesort,albums.co
    ntributor AS contributor,albums.compilation AS compilation,albums.year AS year,a
    lbums.artwork_path AS artwork_path,albums.disc AS disc,albums.discc AS discc,alb
    ums.musicmagic_mixable AS musicmagic_mixable FROM contributor_track, tracks, con
    tributors, albums WHERE contributor_track.track = tracks.id AND contributors.id
    = contributor_track.contributor AND albums.id = tracks.album AND ( contributor_
    track.role IN ( ?, ? ) ))]
    2005-11-13 20:47:26.1241 Bind arguments: [1, 5]

    2005-11-13 20:47:26.2017 Running SQL query: [SELECT DISTINCT albums.id AS id,alb
    ums.title AS title,albums.titlesort AS titlesort,albums.contributor AS contribut
    or,albums.compilation AS compilation,albums.year AS year,albums.artwork_path AS
    artwork_path,albums.disc AS disc,albums.discc AS discc,albums.musicmagic_mixable
    AS musicmagic_mixable FROM tracks, albums WHERE albums.id = tracks.album ORDER
    BY tracks.age desc, tracks.disc, tracks.tracknum, tracks.titlesort LIMIT 100]
    2005-11-13 20:47:28.7095 pushing button mode: home
    2005-11-13 20:47:28.7135 pushing button mode: INPUT.List
    2005-11-13 20:47:28.7244 headphone : found nowPlayingPlaylist - will loadtracks
    2005-11-13 20:47:28.7248 Executing command 00:04:20:06:03:16: playlist (addtrac
    ks) (listref) (ARRAY(0x3dad974)) () () () ()
    2005-11-13 20:47:28.7255 headphone : shuffleType is: none
    2005-11-13 20:47:28.7259 Returning array: playlist (addtracks) (listref) (ARRAY
    (0x3dad974)) () () () ()
    2005-11-13 20:47:28.7375 pushing button mode: off
    2005-11-13 20:47:28.7395 pushing button mode: OFF.datetime
    2005-11-13 20:47:37.9943 Executing command 00:04:20:06:03:16: ir (768910ef) (12
    660.162) () () () () ()
    2005-11-13 20:47:37.9951 Executing command 00:04:20:06:03:16: button (passback)
    (12660.162) (1) () () () ()
    2005-11-13 20:47:37.9957 Returning array: button (passback) (12660.162) (1) ()
    () () ()
    2005-11-13 20:47:37.9959 Returning array: ir (768910ef) (12660.162) () () () ()
    ()
    2005-11-13 20:47:38.1013 Executing command 00:04:20:06:03:16: ir (768910ef) (12
    660.269) () () () () ()
    2005-11-13 20:47:38.1018 Executing command 00:04:20:06:03:16: button (passback)
    (12660.269) (1) () () () ()
    2005-11-13 20:47:38.1023 Returning array: button (passback) (12660.269) (1) ()
    () () ()
    2005-11-13 20:47:38.1024 Returning array: ir (768910ef) (12660.269) () () () ()
    ()
    2005-11-13 20:47:38.2511 Executing command 00:04:20:06:03:16: button (passback)
    (12660.418) (1) () () () ()
    2005-11-13 20:47:38.2519 Executing command 00:04:20:06:03:16: play () () () ()
    () () ()
    2005-11-13 20:47:38.2870 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\MSWin32-x86-multi-thread\lame.exe
    2005-11-13 20:47:38.2876 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\MSWin32\lame.exe
    2005-11-13 20:47:38.2878 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\lame.exe
    2005-11-13 20:47:38.2963 Found binary undef for lame.exe
    2005-11-13 20:47:38.2982 _checkValidity: Checking to see if file:///O:/FLAC/Vari
    ous/Dreamland/04-Thula_Mama_(South_Africa).flac has changed.
    2005-11-13 20:47:38.3024 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\MSWin32-x86-multi-thread\lame.exe
    2005-11-13 20:47:38.3029 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\MSWin32\lame.exe
    2005-11-13 20:47:38.3031 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\lame.exe
    2005-11-13 20:47:38.3113 Found binary undef for lame.exe
    2005-11-13 20:47:38.3133 _checkValidity: Checking to see if file:///O:/FLAC/Vari
    ous/Dreamland/05-Arriba_Del_Cielo_(Mexico).flac has changed.
    2005-11-13 20:47:38.3174 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\MSWin32-x86-multi-thread\lame.exe
    2005-11-13 20:47:38.3179 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\MSWin32\lame.exe
    2005-11-13 20:47:38.3181 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\lame.exe
    2005-11-13 20:47:38.3263 Found binary undef for lame.exe
    2005-11-13 20:47:38.3280 _checkValidity: Checking to see if file:///O:/FLAC/Vari
    ous/Dreamland/06-Yi-Rrana_(Australia).flac has changed.
    2005-11-13 20:47:38.3322 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\MSWin32-x86-multi-thread\lame.exe
    2005-11-13 20:47:38.3327 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\MSWin32\lame.exe
    2005-11-13 20:47:38.3329 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\lame.exe
    Last edited by dwc; 2005-11-13 at 21:59.

  2. #2
    Senior Member dwc's Avatar
    Join Date
    Oct 2005
    Posts
    363

    part 2

    2005-11-13 20:47:38.3410 Found binary undef for lame.exe
    2005-11-13 20:47:38.3427 _checkValidity: Checking to see if file:///O:/FLAC/Vari
    ous/Dreamland/07-L%E1_Vai_Algu%E9m_(Brazil).flac has changed.
    2005-11-13 20:47:38.3468 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\MSWin32-x86-multi-thread\lame.exe
    2005-11-13 20:47:38.3473 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\MSWin32\lame.exe
    2005-11-13 20:47:38.3476 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\lame.exe
    2005-11-13 20:47:38.3557 Found binary undef for lame.exe
    2005-11-13 20:47:38.3574 _checkValidity: Checking to see if file:///O:/FLAC/Vari
    ous/Dreamland/08-Cradle_Spell_of_Dunvegan_(Scotland).flac has changed.
    2005-11-13 20:47:38.3680 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\MSWin32-x86-multi-thread\lame.exe
    2005-11-13 20:47:38.3685 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\MSWin32\lame.exe
    2005-11-13 20:47:38.3687 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\lame.exe
    2005-11-13 20:47:38.3769 Found binary undef for lame.exe
    2005-11-13 20:47:38.3786 _checkValidity: Checking to see if file:///O:/FLAC/Vari
    ous/Dreamland/09-Numi_Numi_(USA).flac has changed.
    2005-11-13 20:47:38.3827 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\MSWin32-x86-multi-thread\lame.exe
    2005-11-13 20:47:38.3832 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\MSWin32\lame.exe
    2005-11-13 20:47:38.3834 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\lame.exe
    2005-11-13 20:47:38.3919 Found binary undef for lame.exe
    2005-11-13 20:47:38.3937 _checkValidity: Checking to see if file:///O:/FLAC/Vari
    ous/Dreamland/10-Cradle_Song_(Japan).flac has changed.
    2005-11-13 20:47:38.3978 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\MSWin32-x86-multi-thread\lame.exe
    2005-11-13 20:47:38.3983 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\MSWin32\lame.exe
    2005-11-13 20:47:38.3985 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\lame.exe
    2005-11-13 20:47:38.4068 Found binary undef for lame.exe
    2005-11-13 20:47:38.4085 _checkValidity: Checking to see if file:///O:/FLAC/Vari
    ous/Dreamland/11-Canci%F3n_Para_Dormir_a_un_Ni%F1o_(Argentina).flac has changed.

    2005-11-13 20:47:38.4127 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\MSWin32-x86-multi-thread\lame.exe
    2005-11-13 20:47:38.4132 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\MSWin32\lame.exe
    2005-11-13 20:47:38.4134 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\lame.exe
    2005-11-13 20:47:38.4219 Found binary undef for lame.exe
    2005-11-13 20:47:38.4237 _checkValidity: Checking to see if file:///O:/FLAC/Vari
    ous/Dreamland/12-Durme_Durme_(Brazil).flac has changed.
    2005-11-13 20:47:38.4278 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\MSWin32-x86-multi-thread\lame.exe
    2005-11-13 20:47:38.4283 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\MSWin32\lame.exe
    2005-11-13 20:47:38.4286 Checking for lame.exe in C:\PROGRA~1\SlimServer\server\
    Bin\lame.exe
    2005-11-13 20:47:38.4367 Found binary undef for lame.exe
    2005-11-13 20:47:38.4384 _checkValidity: Checking to see if file:///O:/FLAC/Vari
    ous/Dreamland/13-Lullaby_(Tatarstan,Russia).flac has changed.
    2005-11-13 20:47:38.4419 Returning array: play () () () () () () ()
    2005-11-13 20:47:38.4427 pushing button mode: playlist
    2005-11-13 20:47:38.4460 Returning array: button (passback) (12660.418) (1) ()
    () () ()
    2005-11-13 20:47:47.7673 forceCommit: syncing to the database.
    2005-11-13 20:47:47.8966 forceCommit: syncing to the database.

    C:\PROGRA~1\SlimServer\server>

  3. #3
    Senior Member dwc's Avatar
    Join Date
    Oct 2005
    Posts
    363
    Grabbed nightly 6.2.1, no change.

  4. #4
    Senior Member dwc's Avatar
    Join Date
    Oct 2005
    Posts
    363
    A full db rescan resolved. Must have been a db f-up. Now I have the sqllite client, so next time I'll see if I can find the problem.

    -Dan

  5. #5
    Senior Member dwc's Avatar
    Join Date
    Oct 2005
    Posts
    363
    Happened again. here's the problem:

    http://www.sonic.net/dcarwin/images/corrupt-db.JPG

    Track info not written to db. This is induced by browsing to folder before scanning the folder (i.e before doing a db rescan).

    any fixes or workarounds?

    -Dan

  6. #6
    Senior Member davep's Avatar
    Join Date
    Apr 2005
    Location
    Singapore
    Posts
    630
    I can confirm that this has happened to me also a few times. In my eagerness to hear a new album which I am ripping to flac I sometimes dive straight into Browse Folders and hit Play on the first track. This plays fine but the following tracks won't until a full rescan is done.

    My workaround so far has been to let the ripping process run its course while I go elsewhere and have a cup of tea.

    davep

  7. #7
    Senior Member
    Join Date
    Apr 2005
    Location
    Raleigh, NC
    Posts
    410

    Re: SOme flacs won't play,why looking so hard for lame.exe?

    dwc wrote:

    > http://www.sonic.net/dcarwin/images/corrupt-db.JPG
    >
    > Track info not written to db. This is induced by browsing to folder
    > before scanning the folder (i.e before doing a db rescan).


    It looks like maybe the Browse Music Folder autoscan isn't getting far
    enough along before you hit Play.

    Some things to try:

    1) Browse to the folder and then wait a few seconds. Does this give the
    server time to find all the tracks? Check in the SQL viewer to confirm.
    This is going on the theory that the Play request is coming in before
    the folder scan can finish.

    2) Browse to the folder and then scroll thru each track. On scrolling
    back around to the lead track, hit Play. Again, check SQL viewer to
    confirm that the tracks are getting into the db.

    3) Browse to the folder, waiting or scrolling as necessary. Then browse
    or search by artist or album (db, not folder navigation). Do you find
    all of the tracks? Hit Play here instead.

    And please file a bug report. This should be fixable in code and all
    will benefit.

    --rt

  8. #8
    Senior Member dwc's Avatar
    Join Date
    Oct 2005
    Posts
    363
    Thanks RT, I'll try those tests this evening. Last night I did pause upon entering the folder before playing tracks, but I didn't record how long I waited. I'll be a bit more professional tonight. Testing with a db search and double checking with the SQL Lite client is a good idea.

    Thanks,
    Dan

    p.s. bug number 2556

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •