Bug 9508 - Controller cannot navigate to all sub-folders
: Controller cannot navigate to all sub-folders
Status: CLOSED INVALID
Product: SB Controller
Classification: Unclassified
Component: Browser
: unspecified
: PC Windows XP
: P3 normal (vote)
: 7.3.1
Assigned To: James Richardson
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-16 09:57 UTC by Osama Zaidan
Modified: 2009-01-23 20:39 UTC (History)
5 users (show)

See Also:
Category: ---


Attachments
Log file, without squeezecenter running (1.63 KB, application/octet-stream)
2008-09-24 16:44 UTC, Robert Hill
Details
running scan (986.49 KB, application/octet-stream)
2008-09-24 16:45 UTC, Robert Hill
Details
Bug_9508 Server Log after experiencing problem. (1.20 MB, application/octet-stream)
2008-09-25 21:12 UTC, Robert Hill
Details
My empty file structure of .mp3 files. (501.54 KB, text/plain)
2008-10-07 16:55 UTC, Robert Hill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Osama Zaidan 2008-09-16 09:57:24 UTC
From Squeezecenter's UI the customer can navigate to any level in his music folder but on the controller will not navigate to all sub-folders

For example if has a has a folder called;

Music->Rock->Michael Jackson->Thriller->Baby Be Mine 

From SC he can navigate to Baby Be Mine, but from the controller he only sees the Rock folder.



Windows Vista Home Premium
Version 7.2 r2873
(RN- 080909-000107)
Comment 1 Michael Herger 2008-09-17 04:45:27 UTC
What SC version? Any traces in server.log?

Please ask him to enable debugging for scan.scanner and os.files
Comment 2 Osama Zaidan 2008-09-18 16:04:00 UTC
SC version is 7.2
Waiting on the customer to generate the server and the scanner logs 
Comment 3 Chris Owens 2008-09-22 10:35:20 UTC
7.2.1 has some changes that might help, as well, if the customer is interested, Osama
Comment 4 Robert Hill 2008-09-24 16:44:43 UTC
Created attachment 4055 [details]
Log file, without squeezecenter running

Opened SqueezeCenter

*********************************************************

Information on all identified devices connected to SqueezeCenter
 
Library StatisticsTotal Tracks: 4,698

Total Albums: 396

Total Artists: 224

Total Genres: 62

Total Playing Time: 872:43:50
 
Music Scan DetailsDirectory Scan   (442  of  442)   Complete  00:00:04

SqueezeCenter has finished scanning your music collection. Total Time: 00:00:04
 
SqueezeCenterSqueezeCenter Version: 7.2 - 22900 @ Tue Aug 26 11:27:23 PDT 2008 - Windows Vista - EN - cp1252
Server IP address: 192.168.1.105
Perl Version: 5.8.8 MSWin32-x86-multi-


*********************************************************

1) Used SqueezeCenter to navigate to 

Music Folder > Jazz > Bill Evans > Symbiosis > 01-Bill Evans - First Movement A - Symbiosis.mp3

Location on Windows Vista Home Premium NTFS disk: 

C:\Users\Public\Public Music\Jazz\Bill Evans\Symbiosis\01-Bill Evans - First Movement A - Symbiosis.mp3

2) Music started playing immediately, and the name of the target file showed up on the handheld controller. All is well. 

3)  Then, used the controller to navigate to 

Music Library\Music Folder\Jazz\....

4)  Could not navigate any deeper in the structure.  The controller never went deeper than the "Jazz" directory. 

5) HOWEVER, music started playing anyway.  It started playing the top .mp3 file in the top set of subfolders in the Jazz subdirectory. 

That is, it started playing 

Jazz\Andreas Vollenweider\Dancing With The Lion Tour Collection\Pearls and Tears.mp3

6) To recap:  I successfully navigated using the SqueezeCenter software; unable to navigate any deeper than the Jazz subdirectory using the controller; it started playing the topmost .mp3 file in the Jazz subdirectory anyway. 

7)  I then closed the SqueezeCenter and acquired the two logs that you asked for. 

Hope this helps. -- Robert 




*********************************************************
Comment 5 Robert Hill 2008-09-24 16:45:35 UTC
Created attachment 4056 [details]
running scan
Comment 6 Robert Hill 2008-09-24 16:54:13 UTC
Additional information. 

I'm running SqueezeCenter on Windows Vista 32 Home Premium on a NTFS disk.

My music is stored in the Public Music directory at this location: 

C:\Users\Public\Public Music\

For instance, files are stored like this: 

C:\Users\Public\Public Music\Jazz\Bill Evans\Symbiosis\sample.mp3
C:\Users\Public\Public Music\Folk\Woody Guthrie\Asch Recordings\sample.mp3
C:\Users\Public\Public Music\New Wave\Devo\Are We Not Men?\sample.mp3

I have tried solving this problem by moving my music files to be closer to the root directory, e.g. 

C:\Music\Jazz\Bill Evans\Symbiosis\sample.mp3
C:\Music\Folk\Woody Guthrie\Asch Recordings\sample.mp3
C:\Music\New Wave\Devo\Are We Not Men?\sample.mp3

HOWEVER, this had no effect on the problem.  The symptoms were the same. 
Comment 7 Robert Hill 2008-09-24 16:59:50 UTC
In the event that it might be helpful, ..... 

I have been building a collection of .mp3 files for more than 10 years.  While the sound quality for the older ones is fine, the TAG information associated with each file is frequently terrible.  

Therefore, I don't like to rely on filters the present and sort my .mp3 files by TAG information.  For instance, I don't like to sort by Artist, Genre, or Album. 

Instead, I have stored my music in a file/folder system that makes sense to me.  I am relying on the Music Folder navigation to find my files.  

It is possible to use the Controller to sort through my files by Genre, ARtist, Album, etc.  However, that doesn't work for me only because my files don't have good TAG information. 

Robert 
Comment 8 Michael Herger 2008-09-25 03:30:52 UTC
could you please add server.log after you've tried to access one of those folders where it locks up?
Comment 9 Robert Hill 2008-09-25 03:51:43 UTC
I did generate the log files AFTER I purposefully generated the bug.  See details of comment #4. 

Robert 
Comment 10 Michael Herger 2008-09-25 04:11:03 UTC
Please be a bit more generous :-) That snippet doesn't have any relevant data. It's only telling us that you tried to run SC while it was already running?!?
Comment 11 Robert Hill 2008-09-25 06:35:04 UTC
Ok, I will do it again tonight when I get home from work. 

Please send me the command lines that you want me to run.  I know to open a DOS command prompt, navigate to the c:\Program Files\SqueezeCenter\Server directory (or whatever it is -- I'm not in front of that machine now). 

NOTE:  Running Vista, I found that I had to start the Command Prompt by the right-mouse-click "Run As Administrator" command.  

You wanted one that was run while SC was running, one while it was not.  Do you still want both?  

Please be specific with instructions and I'll be generous and specific with you to the best of my ability. 

:-) 

Robert 
Comment 12 Michael Herger 2008-09-25 07:13:40 UTC
No DOS required. 

Go to Settings/Advanced/Logging and enable debugging for control.queries, os.files, os.paths. Do your browsing until SBC locks up. Get the server.log file (you'll find the path in the above logging page). Disable those options again.
Comment 13 James Richardson 2008-09-25 11:22:55 UTC
(In reply to comment #7)
> In the event that it might be helpful, ..... 
> 
> Instead, I have stored my music in a file/folder system that makes sense to me.
>  I am relying on the Music Folder navigation to find my files.  
> 
> It is possible to use the Controller to sort through my files by Genre, ARtist,
> Album, etc.  However, that doesn't work for me only because my files don't have
> good TAG information. 
> 
> Robert 
> 

This may be a duplicate of all the other Music Folder (browsing) issues reported already.  See bug 9484 bug 9349 bug 8624 bug 8610 ...

Michal: your thoughts?
Comment 14 Robert Hill 2008-09-25 21:12:25 UTC
Created attachment 4064 [details]
Bug_9508 Server Log after experiencing problem.

There is lots of data in this log from my just-finished session.  Look for the extensive record of 08-09-25.  

After turning on logging, I used SC to navigate to 

Music Folder\Bill Evans\Symbiosis\01......mp3

Played fine.  I then queued up 02, 03, 04, and 05 from the same directory.  No problems. 

**************************************************
**************************************************

I then took the Controller and tried to navigate to 

Music Folder\New Wave\ etc etc etc

However, the hand-held controller would not see any deeper than the "New Wave" directory.  I did start playing the file 

Music Folder\New Wave\B-52s\B-52's - Love Shack.mp3

Check out this part of the log; this is possibly where the failure occurred: 

[08-09-25 23:31:42.2680] Slim::Control::Queries::statusQuery (3387) statusQuery(): setup non-zero player response
[08-09-25 23:31:45.0887] Slim::Control::Queries::statusQuery (3186) statusQuery()
[08-09-25 23:31:45.0924] Slim::Control::Queries::statusQuery (3387) statusQuery(): setup non-zero player response
[08-09-25 23:31:47.3509] Slim::Control::Queries::statusQuery (3186) statusQuery()
[08-09-25 23:31:47.3545] Slim::Control::Queries::statusQuery (3387) statusQuery(): setup non-zero player response
[08-09-25 23:31:47.4161] Slim::Control::Commands::playlistcontrolCommand (1630) Begin Function
[08-09-25 23:31:47.4219] Slim::Control::Queries::displaystatusQuery (1028) displaystatusQuery()

**************************************************
**************************************************

I then tried to use the Controller to navigate to 

Music Folder \ Classical Chinese \ 

but it wouldn't go any deeper than that on the hand-held controller. The system did, however start playing one of the top files in that directory, 

Music Folder \ Classical Chinese \ Cao Bao-An \ Erhu Music \ /01-Cao Bao-An-A Crescent Moon.mp3 

**************************************************
**************************************************

I notice every time this failure occurs that the following error message is in the log:  

[08-09-25 23:33:20.4319] Slim::Utils::Misc::findbin (120) Checking for lame.exe in C:\Program Files\SqueezeCenter\server\Bin\MSWin32-x86-multi-thread\lame.exe
[08-09-25 23:33:20.4324] Slim::Utils::Misc::findbin (120) Checking for lame.exe in C:\Program Files\SqueezeCenter\server\Bin\lame.exe
[08-09-25 23:33:20.4572] Slim::Utils::Misc::findbin (139) Didn't find binary for lame.exe

Maybe this is relevant?  

Many thanks.  Robert
Comment 15 Robert Hill 2008-09-25 21:33:12 UTC
Someone suggested that I upgrade to the latest version.  I just downloaded latest from slimdevices.com and am now running this version: 

Also, I have tried this both running SC as a service and only when I log in.  No difference. 

Robert

*************************************************
*************************************************

SqueezeCenter Version: 7.2 - 22900 @ Tue Aug 26 11:27:23 PDT 2008 - Windows Vista - EN - cp1252
Server IP address: 192.168.1.105
Perl Version: 5.8.8 MSWin32-x86-multi-thread
MySQL Version: 5.0.22-community-nt 

Platform Architecture: 586

Hostname: HP-Mini_Oct07

Server Port Number: 9000

Total Players Recognized: 1
Comment 16 Michael Herger 2008-09-29 01:17:05 UTC
Robert - with "latest" we meant the 7.2.1 nightly build. It features some improvements in the Controller related BMF code. When you try this, could you please also enable debugging for network.cometd? Thanks!
Comment 17 Michael Herger 2008-09-29 01:18:26 UTC
One more thing: could you please upload a copy of your _empty_ folder structure (all folders, no files, zipped)? This might help us reproduce your issue.
Comment 18 Chris Owens 2008-10-06 09:58:50 UTC
To give us a copy of your folder structure, you can copy your music folder (with all its files, into another directory on your hard drive.  Then use windows search function to find all the music files in that directory and delete them.  After that, you can zip up the folders and attach them to the bug.
Comment 19 Robert Hill 2008-10-07 16:55:31 UTC
Created attachment 4115 [details]
My empty file structure of .mp3 files. 

Following the instructions from Christopher Owens #18, I copied my files and folders to a new location, eliminated all files, and zipped it up.  

To my surprise, the empty directory structure constituted a 289 mb .zip file. 

FYI:  I'm a 20-year veteran technical writer.  I know how to zip a folder.  I have no idea why this empty folder should be 289 mb as .zip file, which is the same size as the folder BEFORE the .zip. 

So, instead of following Chris' instructions I went to a DOS prompt and entered: 

DIR /s >Bug_9508_Directory.txt

I have attached THAT file to this ticket. 

THEORY:  I suppose it's possible that there's some weird file corruption in my data files, somehow explaining why the .zip folder would be 289 mb in size.  But I don't know how that would be.  The files transfer and operate normally.  Normal diskcheck functions ok. 

Robert
Comment 20 Michael Herger 2008-10-08 02:51:14 UTC
Robert - could you please give the latest 7.2.1 build another try (at least rev. 23460). There have been quite a few changes in the browse music folder code.
Comment 21 Robert Hill 2008-10-08 04:30:01 UTC
I would be happy to give the latest build a try, but I do not know how to download it.  

I'm an outsider.  I've never participated in any bug other than this one. 

Please provide instructions on where to find this latest build and rev. 

Robert 
Comment 22 Michael Herger 2008-10-08 04:37:57 UTC
Oops, sorry for being unclear. You'll always find the latest 7.2 build here:

http://downloads.slimdevices.com/nightly/latest/7.2/

right now it is
http://downloads.slimdevices.com/nightly/latest/7.2/SqueezeCenter-7.2.1-23460.exe
Comment 23 Michael Herger 2008-10-17 08:32:49 UTC
Robert - any news?
Comment 24 Robert Hill 2008-10-18 04:05:34 UTC
No news here.  Still doesn't navigate any deeper in my directory structure than before, even with latest nightly build. 

Have upgraded SqueezeCenter to 7.2.1. -23614.  Upgrade was made "on top of" the previous one.  That is, I didn't uninstall before reinstalling.  Installation seemed to go well. Immediately after upgrade, the Controller upgraded firmware to 7.2 r3080.  

SqueezeCenter Version: 7.2.1 - 23614 @ Sat Oct 18 02:02:12 PDT 2008 - Windows Vista - EN - cp1252
Server IP address: 192.168.1.105
Perl Version: 5.8.8 MSWin32-x86-multi-thread
MySQL Version: 5.0.22-community-nt 

Robert 

Comment 25 Michael Herger 2008-10-28 01:13:39 UTC
QA - I can't reproduce this. Do you?
Comment 26 James Richardson 2008-11-11 08:54:16 UTC
QA is still unable to replicate this error.
Comment 27 Robert Hill 2008-11-20 18:32:47 UTC
This issue can be closed.  It is now resolved. 

THE ANSWER:  User interface design misunderstood.  While viewing the Controller screen, I saw the right arrow character " > " at the right side of the window and paired it with the right arrow triangle button.  I thought all along that the RIGHT arrow button was a counterpart to the LEFT arrow button on the controller.  

I was pressing the wrong &#@(#! button to make my selection!  I thought it was a right navigate arrow button, when in fact it is a triangle PLAY button. D'oh! 

Indeed, from the Home screen the PLAY button does in fact function exactly the same as the center SELECT button.  Pressing the PLAY button advances me through the navigation tree as expected, BUT ONLY TO A POINT.  It only advances me to the TOP LEVEL of my directory structure.  

From the top level of the directory, pressing the PLAY triangle button again does exactly what it should do:  it plays the first .mp3 file in the first subdirectory.  

But, because I had been using the PLAY button to navigate and had gotten it in my head that it was a right navigation ARROW (counterpart to the left navigation arrow), I expected that it should keep drilling down into my directory structure.  Hence, my bug report that no one can replicate.  We're pressing different buttons. 

RESOLUTION:  I would suggest passing this along to your technical writers so that they have an example of a misunderstanding of the user interface. 

Thanks to everyone for treating me so professionally and allowing me inside your development effort.  

Regards, 

Robert 

Comment 28 Michael Herger 2008-11-20 22:38:58 UTC
Thanks a lot for your feedback.
Comment 29 Chris Owens 2008-11-24 09:17:29 UTC
cc'ing our UI people