PDA

View Full Version : Menu_Browse_Genre, Menu_Browse_Artist Don't Work in Linux?



mdw
2006-09-27, 12:27
Please help -

Upgraded to 6.5 on Fedora Core 4. No changes to polling program which uses CLI. 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.

mherger
2006-09-27, 12:39
> Upgraded to 6.5 on Fedora Core 4. No changes to polling program which
> uses CLI. Suddenly, "button menu_browse_genre, menu_browse_artist"
> don't work. Can tell if the following error trap is related:

You mean these commands do not work from the CLI any longer? You should
say so in the subject, would be much clearer.

--

Michael

-----------------------------------------------------------------
http://www.herger.net/SlimCD - your SlimServer on a CD
http://www.herger.net/slim - AlbumReview, Biography, MusicInfoSCR

mdw
2006-09-27, 13:00
Sorry, I should have been more clear.

Yes, it does not seem to work in the CLI. Interestingly, "button menu_browse_playlist" and "button menu_browse_album" both work. My Default.map says -

# 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

mherger
2006-09-27, 13:27
> Yes, it does not seem to work in the CLI. Interestingly, "button
> menu_browse_playlist" and "button menu_browse_album" both work.

I'm sorry I can't say more than confirm the problem. Please open a bug at
http://bugs.slimdevices.com in the CLI category. Thanks!

BTW: what do you use this for? I can't imagine a serious use for the CLI
when I'm still bound to be in front of the player to see its effects :-)

--

Michael

-----------------------------------------------------------------
http://www.herger.net/SlimCD - your SlimServer on a CD
http://www.herger.net/slim - AlbumReview, Biography, MusicInfoSCR

mdw
2006-09-28, 03:56
Ok, I'll open up a bug.

I use this to control the squeezebox remotely (on another floor of the house) and remote the display output to my Crestron touchpanel. This allows me to integrate everything in my whole house audio system through a touchpanel.

mherger
2006-09-28, 04:24
> I use this to control the squeezebox remotely (on another floor of the
> house) and remote the display output to my Crestron touchpanel.

Do you replicate the player's display on your panel?

--

Michael

-----------------------------------------------------------------
http://www.herger.net/SlimCD - your SlimServer on a CD
http://www.herger.net/slim - AlbumReview, Biography, MusicInfoSCR

mdw
2006-09-28, 10:35
yes but in a different format. If my touchpanel could display HTML, I'd of course connect through the web server. Since it cannot, I use a TCP connection and send commands through the CLI and interpret the responses on the touchpanel display. If you can think of a better way to do this, I'd be very interested in some ideas ....

mherger
2006-09-28, 11:09
> If you can think of a better way
> to do this, I'd be very interested in some ideas ....

I can't say whether it's better or worse. But the CLI offers a very
powerful set of commands which won't bind you to interpreting remote key
presses. But they probably need more programming on your side.

Have a look at SlimRemote: while there's always room for improvement it
relies 99.9% on the CLI for all server interaction (exception being http
for the cover art). You can run powerful queries on your collection.

--

Michael

-----------------------------------------------------------------
http://www.herger.net/SlimCD - your SlimServer on a CD
http://www.herger.net/slim - AlbumReview, Biography, MusicInfoSCR