PDA

View Full Version : Getting stream name



mherger
2005-02-24, 02:01
In my MusicInfo screensaver I used the following instruction to get a
stream's name (or playlist name):

$streamName = Slim::Music::Info::standardTitle($client,
$client->currentPlaylist())

This does not work any more. I get the following error messages:

2005-02-24 09:47:57.1757 Null track request!
2005-02-24 09:47:57.1760 Backtrace:

frame 0: Slim::DataStores::DBI::DBIStore::objectForUrl
(/home/mh/eclipse/SVN/Slim/Music/Info.pm line 582)
frame 1: Slim::Music::Info::standardTitle
(/home/mh/eclipse/SVN/Plugins/MusicInfoSCR.pm line 420)
frame 2: Plugins::MusicInfoSCR::getFormatString
(/home/mh/eclipse/SVN/Plugins/MusicInfoSCR.pm line 362)
frame 3: Plugins::MusicInfoSCR::getFormatStrings
(/home/mh/eclipse/SVN/Plugins/MusicInfoSCR.pm line 323)
frame 4: Plugins::MusicInfoSCR::screensaverMusicInfoLines
(/home/mh/eclipse/SVN/Slim/Player/SqueezeboxG.pm line 549)
frame 5: Slim::Player::SqueezeboxG::scrollUpdate
(/home/mh/eclipse/SVN/Slim/Utils/Timers.pm line 53)
frame 6: Slim::Utils::Timers::checkTimers (./slimserver.pl line 536)
frame 7: main::idle (./slimserver.pl line 506)
frame 8: main::main (./slimserver.pl line 1026)

Use of uninitialized value in hash element at
/home/mh/eclipse/SVN/Slim/Music/Info.pm line 1423.
Use of uninitialized value in exists at
/home/mh/eclipse/SVN/CPAN/Tie/Cache/LRU/Array.pm line 71.
Use of uninitialized value in split at
/home/mh/eclipse/SVN/Slim/Music/Info.pm line 1432.
Use of uninitialized value in hash element at
/home/mh/eclipse/SVN/Slim/Music/Info.pm line 1432.
2005-02-24 09:47:57.1767 Null track request!
2005-02-24 09:47:57.1770 Backtrace:

frame 0: Slim::DataStores::DBI::DBIStore::objectForUrl
(/home/mh/eclipse/SVN/Slim/Music/Info.pm line 395)
frame 1: Slim::Music::Info::infoFormat
(/home/mh/eclipse/SVN/Slim/Music/Info.pm line 618)
frame 2: Slim::Music::Info::standardTitle
(/home/mh/eclipse/SVN/Plugins/MusicInfoSCR.pm line 420)
frame 3: Plugins::MusicInfoSCR::getFormatString
(/home/mh/eclipse/SVN/Plugins/MusicInfoSCR.pm line 362)
frame 4: Plugins::MusicInfoSCR::getFormatStrings
(/home/mh/eclipse/SVN/Plugins/MusicInfoSCR.pm line 323)
frame 5: Plugins::MusicInfoSCR::screensaverMusicInfoLines
(/home/mh/eclipse/SVN/Slim/Player/SqueezeboxG.pm line 549)
frame 6: Slim::Player::SqueezeboxG::scrollUpdate
(/home/mh/eclipse/SVN/Slim/Utils/Timers.pm line 53)
frame 7: Slim::Utils::Timers::checkTimers (./slimserver.pl line 536)
frame 8: main::idle (./slimserver.pl line 506)
frame 9: main::main (./slimserver.pl line 1026)


How can I savely try to get that information for online streams (like
RadioIO)?

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
SlimString Translation Helper (http://www.herger.net/slim/)