Bug 4249 - Can't get "button menu_browse_genre or menu_browse_artist" to work
: Can't get "button menu_browse_genre or menu_browse_artist" to work
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: CLI
: 6.5.0
: PC Fedora
: P2 normal (vote)
: ---
Assigned To: Fred
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-28 10:44 UTC by Matt Wald
Modified: 2009-01-29 09:47 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Wald 2006-09-28 10:44:30 UTC
Hardware Squeezebox.  Server 6.5 on Fedora Core 4, PC platform.  

When using a CLI polling program (that I have been using for 3 years), the new 6.5 release does not work properly when the command "button menu_browse_genre" or "button menu_browse_artist" is sent.  However, "button menu_browse_playlist" works properly.  My Default.map file looks like:

# menu shortcuts
menu_playlist = menu_playlist
menu_browse_genre = menu_browse_genre
menu_browse_artist = menu_browse_artist
menu_browse_album = menu_browse_album
menu_browse_music = menu_browse_music
menu_search_artist = menu_search_artist
menu_search_album = menu_search_album
menu_search_song = menu_search_song
menu_browse_playlists = menu_browse_playlists
menu_plugins = menu_plugins
menu_home = menu_home
menu_settings = menu_settings
menu_pop = menu_pop
menu_now_playing = menu_now_playing
menu_synchronize = menu_synchronize


No changes to polling program which uses CLI were made when I upgraded to 6.5 from 6.2. Suddenly, "button menu_browse_genre, menu_browse_artist" don't work. Can tell if the following error trap is related:

2006-09-27 14:50:25.5075 ERROR: Can't find source for Artist
2006-09-27 14:50:25.5077 ERROR: Backtrace follows:

2006-09-27 14:50:25.5080 Backtrace:

frame 0: Slim::Schema::throw_exception (/usr/local/slimserver/CPAN/DBIx/Class/Schema.pm line 150)
frame 1: DBIx::Class::Schema::source (/usr/local/slimserver/CPAN/DBIx/Class/Schema.pm line 190)
frame 2: DBIx::Class::Schema::resultset (/usr/local/slimserver/Slim/Schema.pm line 394)
frame 3: Slim::Schema::rs (/usr/local/slimserver/Slim/Buttons/BrowseDB.pm line 686)
frame 4: Slim::Buttons::BrowseDB::setMode (/usr/local/slimserver/Slim/Buttons/Common.pm line 1608)
frame 5: (eval) (/usr/local/slimserver/Slim/Buttons/Common.pm line 1608)
frame 6: Slim::Buttons::Common::pushMode (/usr/local/slimserver/Slim/Buttons/Common.pm line 457)
frame 7: Slim::Buttons::Common::__ANON__ (/usr/local/slimserver/Slim/Hardware/IR.pm line 830)
frame 8: Slim::Hardware::IR::executeButton (/usr/local/slimserver/Slim/Control/Commands.pm line 148)
frame 9: Slim::Control::Commands::buttonCommand (/usr/local/slimserver/Slim/Control/Request.pm line 1485)
frame 10: (eval) (/usr/local/slimserver/Slim/Control/Request.pm line 1485)
frame 11: Slim::Control::Request::execute (/usr/local/slimserver/Plugins/CLI.pm line 576)
frame 12: Plugins::CLI::cli_process (/usr/local/slimserver/Plugins/CLI.pm line 398)
frame 13: Plugins::CLI::client_socket_buf_parse (/usr/local/slimserver/Plugins/CLI.pm line 346)
frame 14: Plugins::CLI::client_socket_read (/usr/local/slimserver/Slim/Networking/Select.pm line 238)
frame 15: Slim::Networking::Select::select (/usr/local/slimserver/slimserver.pl line 487)
frame 16: main::idle (/usr/local/slimserver/slimserver.pl line 440)
frame 17: main::main (/usr/local/slimserver/slimserver.pl line 1039)

2006-09-27 14:50:25.5082 Use of uninitialized value in hash element at /usr/local/slimserver/CPAN/DBIx/Class/Schema.pm line 152.
2006-09-27 14:50:25.5084 Couldn't push into new mode: [browsedb] !: Can't call method "resultset" on an undefined value at /usr/local/slimserver/CPAN/DBIx/Class/Schema.pm line 190.
Comment 1 Blackketter Dean 2006-10-01 22:42:54 UTC
Fred: is this a CLI issue or is it a db issue?
Comment 2 Chris Owens 2006-10-04 14:50:12 UTC
I know Fred's traveling at the moment, but I don't know for how long.
Comment 3 Fred 2006-10-06 11:38:37 UTC
Can you try to enable d_command and send the command from the IR interface? 
Comment 4 Fred 2006-10-09 08:06:16 UTC
Leftover hierarchies including 'artist' and not 'contributor' in Slim::Buttons::Common.pm. 

Fixed in SVN 10267.