Bug 4188 - CUE-sheet can't be browsed in player, OK in web interface
: CUE-sheet can't be browsed in player, OK in web interface
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Playlists
: 6.5.0
: Other All
: P2 normal with 1 vote (vote)
: ---
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-22 12:12 UTC by Pete
Modified: 2009-09-08 09:25 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
cuesheet file (1.73 KB, application/octet-stream)
2006-10-10 15:12 UTC, Ross Levine
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pete 2006-09-22 12:12:02 UTC
Opening a cue-sheet in the player (Browse -> Music Folder -> ... --> file.cue) gives
the "Empty"-message. Going back, and then re-opening it (that is, hitting left and 
then right on the remote) causes SB3 (firmware 64) to clear the screen. One can't
leave the blank screen using the arrow keys, but "Now playing" etc works.

Browsing the CUE-sheet works fine when using the web interface.

Logs with --d_sql (tell me if others are wanted) follows.

******** First browsing of the cue-file from player (gives "Empty" message):

2006-09-22 20:51:08.4673 levelMap:
$VAR1 = {
          'playlist' => 'playlisttrack'
        };
2006-09-22 20:51:08.4687 filters:
$VAR1 = {};
2006-09-22 20:51:08.4694 find:
$VAR1 = {};
2006-09-22 20:51:08.4719 $self->result_class: [Slim::Schema::Playlist]
2006-09-22 20:51:08.4724 descend: working on level: [Playlist]
2006-09-22 20:51:08.4728 $self->result_source->schema->source($level)->result_class: [Slim::Schema::Playlist]
2006-09-22 20:51:08.4733 Calling method: [browse]
2006-09-22 20:51:08.4740 descend: working on level: [PlaylistTrack]
2006-09-22 20:51:08.4746 $self->result_source->schema->source($level)->result_class: [Slim::Schema::PlaylistTrack]
2006-09-22 20:51:08.4750 Calling method: [descendPlaylistTrack]
2006-09-22 20:51:08.4774 SELECT me.id, me.url, me.content_type, me.title, me.titlesort, me.titlesearch, me.album, me.tracknum, me.timestamp, me.filesize, me.disc, me.thumb, me.remote, me.audio, me.audio_size, me.audio_offset, me.year, me.secs, me.cover, me.vbr_scale, me.bitrate, me.samplerate, me.samplesize, me.channels, me.block_alignment, me.endian, me.bpm, me.tagversion, me.drm, me.moodlogic_id, me.moodlogic_mixable, me.musicmagic_mixable, me.musicbrainz_id, me.playcount, me.lastplayed, me.lossless, me.lyrics, me.rating, me.replay_gain, me.replay_peak FROM tracks me WHERE ( ( me.id IS NULL ) ): 
2006-09-22 20:51:08.4858 SELECT track.id, track.url, track.content_type, track.title, track.titlesort, track.titlesearch, track.album, track.tracknum, track.timestamp, track.filesize, track.disc, track.thumb, track.remote, track.audio, track.audio_size, track.audio_offset, track.year, track.secs, track.cover, track.vbr_scale, track.bitrate, track.samplerate, track.samplesize, track.channels, track.block_alignment, track.endian, track.bpm, track.tagversion, track.drm, track.moodlogic_id, track.moodlogic_mixable, track.musicmagic_mixable, track.musicbrainz_id, track.playcount, track.lastplayed, track.lossless, track.lyrics, track.rating, track.replay_gain, track.replay_peak FROM playlist_track me  JOIN tracks track ON ( track.id = me.track ) WHERE ( me.playlist = ? ) ORDER BY me.position: '49113'
2006-09-22 20:51:08.4925 SELECT me.id, me.url, me.content_type, me.title, me.titlesort, me.titlesearch, me.album, me.tracknum, me.timestamp, me.filesize, me.disc, me.thumb, me.remote, me.audio, me.audio_size, me.audio_offset, me.year, me.secs, me.cover, me.vbr_scale, me.bitrate, me.samplerate, me.samplesize, me.channels, me.block_alignment, me.endian, me.bpm, me.tagversion, me.drm, me.moodlogic_id, me.moodlogic_mixable, me.musicmagic_mixable, me.musicbrainz_id, me.playcount, me.lastplayed, me.lossless, me.lyrics, me.rating, me.replay_gain, me.replay_peak FROM tracks me WHERE ( ( me.id IS NULL ) ): 


******** Second browse from player (leaves the screen blank):
2006-09-22 20:51:26.6786 levelMap:
$VAR1 = {
          'playlist' => 'playlisttrack'
        };
2006-09-22 20:51:26.6797 filters:
$VAR1 = {};
2006-09-22 20:51:26.6812 find:
$VAR1 = {};
2006-09-22 20:51:26.6838 $self->result_class: [Slim::Schema::Playlist]
2006-09-22 20:51:26.6843 descend: working on level: [Playlist]
2006-09-22 20:51:26.6847 $self->result_source->schema->source($level)->result_class: [Slim::Schema::Playlist]
2006-09-22 20:51:26.6851 Calling method: [browse]
2006-09-22 20:51:26.6859 descend: working on level: [PlaylistTrack]
2006-09-22 20:51:26.6864 $self->result_source->schema->source($level)->result_class: [Slim::Schema::PlaylistTrack]
2006-09-22 20:51:26.6868 Calling method: [descendPlaylistTrack]
2006-09-22 20:51:26.6893 SELECT me.id, me.url, me.content_type, me.title, me.titlesort, me.titlesearch, me.album, me.tracknum, me.timestamp, me.filesize, me.disc, me.thumb, me.remote, me.audio, me.audio_size, me.audio_offset, me.year, me.secs, me.cover, me.vbr_scale, me.bitrate, me.samplerate, me.samplesize, me.channels, me.block_alignment, me.endian, me.bpm, me.tagversion, me.drm, me.moodlogic_id, me.moodlogic_mixable, me.musicmagic_mixable, me.musicbrainz_id, me.playcount, me.lastplayed, me.lossless, me.lyrics, me.rating, me.replay_gain, me.replay_peak FROM tracks me WHERE ( ( me.id IS NULL ) ): 
2006-09-22 20:51:26.6920 Couldn't push into new mode: [browsedb] !: Can't call method "all" on an undefined value at /big1/SlimServer_v6.5.0/Slim/Buttons/BrowseDB.pm line 724.


** Browsing from web interface (works):
2006-09-22 20:52:24.6931 SELECT me.id, me.url, me.content_type, me.title, me.titlesort, me.titlesearch, me.album, me.tracknum, me.timestamp, me.filesize, me.disc, me.thumb, me.remote, me.audio, me.audio_size, me.audio_offset, me.year, me.secs, me.cover, me.vbr_scale, me.bitrate, me.samplerate, me.samplesize, me.channels, me.block_alignment, me.endian, me.bpm, me.tagversion, me.drm, me.moodlogic_id, me.moodlogic_mixable, me.musicmagic_mixable, me.musicbrainz_id, me.playcount, me.lastplayed, me.lossless, me.lyrics, me.rating, me.replay_gain, me.replay_peak FROM tracks me WHERE ( me.id = ? ): '48088'
2006-09-22 20:52:24.7085 levelMap:
$VAR1 = {
          'playlist' => 'playlisttrack'
        };
2006-09-22 20:52:24.7092 filters:
$VAR1 = {
          'playlist.id' => '48088'
        };
2006-09-22 20:52:24.7103 working on levelname: [playlist]
2006-09-22 20:52:24.7109 find:
$VAR1 = {
          'playlisttrack' => {
                               'me.id' => '48088'
                             }
        };
2006-09-22 20:52:24.7117 $self->result_class: [Slim::Schema::Playlist]
2006-09-22 20:52:24.7123 descend: working on level: [Playlist]
2006-09-22 20:52:24.7128 $self->result_source->schema->source($level)->result_class: [Slim::Schema::Playlist]
2006-09-22 20:52:24.7134 Calling method: [browse]
2006-09-22 20:52:24.7157 descend: working on level: [PlaylistTrack]
2006-09-22 20:52:24.7163 $self->result_source->schema->source($level)->result_class: [Slim::Schema::PlaylistTrack]
2006-09-22 20:52:24.7167 Calling method: [descendPlaylistTrack]
2006-09-22 20:52:24.7192 SELECT me.id, me.url, me.content_type, me.title, me.titlesort, me.titlesearch, me.album, me.tracknum, me.timestamp, me.filesize, me.disc, me.thumb, me.remote, me.audio, me.audio_size, me.audio_offset, me.year, me.secs, me.cover, me.vbr_scale, me.bitrate, me.samplerate, me.samplesize, me.channels, me.block_alignment, me.endian, me.bpm, me.tagversion, me.drm, me.moodlogic_id, me.moodlogic_mixable, me.musicmagic_mixable, me.musicbrainz_id, me.playcount, me.lastplayed, me.lossless, me.lyrics, me.rating, me.replay_gain, me.replay_peak FROM tracks me WHERE ( ( me.id = ? ) ): '48088'
2006-09-22 20:52:24.7305 SELECT COUNT( * ) FROM playlist_track me  JOIN tracks track ON ( track.id = me.track ) WHERE ( me.playlist = ? ): '48088'
2006-09-22 20:52:24.7345 SELECT COUNT( * ) FROM playlist_track me  JOIN tracks track ON ( track.id = me.track ) WHERE ( me.playlist = ? ): '48088'
2006-09-22 20:52:24.7398 SELECT track.id, track.url, track.content_type, track.title, track.titlesort, track.titlesearch, track.album, track.tracknum, track.timestamp, track.filesize, track.disc, track.thumb, track.remote, track.audio, track.audio_size, track.audio_offset, track.year, track.secs, track.cover, track.vbr_scale, track.bitrate, track.samplerate, track.samplesize, track.channels, track.block_alignment, track.endian, track.bpm, track.tagversion, track.drm, track.moodlogic_id, track.moodlogic_mixable, track.musicmagic_mixable, track.musicbrainz_id, track.playcount, track.lastplayed, track.lossless, track.lyrics, track.rating, track.replay_gain, track.replay_peak FROM playlist_track me  JOIN tracks track ON ( track.id = me.track ) WHERE ( me.playlist = ? ) ORDER BY me.position LIMIT 13: '48088'
2006-09-22 20:52:24.7570 SELECT contributor.id, contributor.name, contributor.namesort, contributor.moodlogic_id, contributor.moodlogic_mixable, contributor.musicmagic_mixable, contributor.namesearch, contributor.musicbrainz_id FROM contributor_track me  JOIN contributors contributor ON ( contributor.id = me.contributor ) WHERE ( ( ( role IN ( ? ) ) AND ( me.track = ? ) ) ) GROUP BY contributor.id ORDER BY role desc: '1', '48089'
2006-09-22 20:52:24.7671 SELECT contributor.id, contributor.name, contributor.namesort, contributor.moodlogic_id, contributor.moodlogic_mixable, contributor.musicmagic_mixable, contributor.namesearch, contributor.musicbrainz_id FROM contributor_track me  JOIN contributors contributor ON ( contributor.id = me.contributor ) WHERE ( ( ( role IN ( ? ) ) AND ( me.track = ? ) ) ) GROUP BY contributor.id ORDER BY role desc: '1', '48090'
[and so on for the rest of the tracks]
Comment 1 Chris Owens 2006-09-25 17:16:18 UTC
Ross, could you look and see if this is reproducible with any CUE sheet, or if we need to get the poster to upload a sample CUE sheet?
Comment 2 Chris Owens 2006-09-29 09:37:15 UTC
I am able to browse CUE sheet music in my player interface.  Perhaps it has something to do with the format of the audio file.  Is this a WAV file or some other format, Pete?
Comment 3 Pete 2006-09-30 00:40:36 UTC
I have CUEs for both .flac, .ape and .mp3, none of them works for me. Doesn't work with 6.5.0 nor 6.5_v2006-09-29.

Complete steps to reproduce (for me):

1, Create a directory in the music folder (not the playlists folder).

2, Save http://www.archive.org/download/ByronGHarlanwithAmericanQuartet/ByronGHarlanwithAmericanQuartet-TheyGottaQuitKickinMyDawgAroundTheMissouriDawgSong.mp3 as dawg.mp3 in that directory.

3, Put the following in dawg.cue:
TITLE "dawg"
PERFORMER "byron"
FILE "dawg.mp3" WAVE
TRACK 01 AUDIO
TITLE "song"
PERFORMER "byron"
INDEX 01 00:00:00

4, Server Settings -> Basic Settings -> "Look for new and changed music".

5, Wait for rescan to complete.

6, In web interface: Verify that Browse -> Music Folder -> the-directory-created-in-step-1 -> dawg.cue works (if not, perhaps a full rescan is required).

7, In SB3: Using Browse -> Music Folder -> the-directory-created-in-step-1 -> dawg.cue reproduces the error.

If this still works for you, perhaps you could attach --d_sql output? (Preferably when browsing for the first and second time after a rescan, since I see different behaviour on first and second attempt.)
Comment 4 Ross Levine 2006-10-09 18:56:12 UTC
I think I've managed to reproduce this bug with 6.5.1 - 10266

I changed my music library to a directory with an mp3 file and a cuesheet to accompany it, I ripped with EAC. For some reason EAC creates broken cuesheets, which I managed to fix thanks to a pointer from Chris a little while back. Anyway, SlimServer (web UI) sees the file, and can 'browse' it no problem. 

In other words:

From web UI -> Browse -> music folder -> cuesheet file -> I see the tracks, and I can play them individually. 

Now for the bug:

From remote control -> Browse -> music folder -> cuesheet file -> screen just goes blank... 
 
Chris do you want my files? 
Comment 5 Chris Owens 2006-10-10 10:45:55 UTC
Ross, did you use the file Pete refers to?
Comment 6 Ross Levine 2006-10-10 13:05:00 UTC
Chris, no I created my own cuesheet and was still able to reproduce this. Do you want me to reproduce it with Pete's steps as well as my steps? 
Comment 7 Chris Owens 2006-10-10 15:05:18 UTC
Ah please go ahead and upload your files, in that case.
Comment 8 Ross Levine 2006-10-10 15:12:08 UTC
Created attachment 1628 [details]
cuesheet file
Comment 9 Ross Levine 2006-10-10 15:12:53 UTC
Thats just the cuesheet, if you want the mp3 file let me know. It's 76mb :/
Comment 10 Chris Owens 2007-10-22 09:34:41 UTC
QA needs to reproduce
Comment 11 Ross Levine 2007-12-03 17:27:42 UTC
QA has reproduced see comment #6. 
Comment 12 Blackketter Dean 2007-12-17 12:10:22 UTC
Andy, as long as you are looking at cue sheets, can you look at this?
Comment 13 Andy Grundman 2007-12-17 15:04:23 UTC
Fixed in change 15401.
Comment 14 Chris Owens 2008-03-07 09:03:09 UTC
This bug is being closed since it was resolved for a version which is now released!  Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html

If you are still seeing this bug, please re-open it and we will consider it for a future release.