Re: Accessing data in songStreamController
Paul Webster <Paul.Webster.av9zfc-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]> Sun, 11 Dec 2022 15:42:33 +0000
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
Paul Webster wrote:
> Looking promising ...
> $song->track()->redir does seem to hold the original URL.
This was working well since I started using it 6 months ago ... however,
I am now seeing in the log (LMS 8.4)
Code:
--------------------
[22-12-11 14:54:10.0337] Slim::Player::Protocols::HTTP::getMetadataFor (1005) Metadata provider Plugins::RadioNowPlaying::Plugin::provider failed: Can't locate object method "redir" via package "Slim::Schema::Track"
--------------------
when my plugin code does a test on it.
I see that "redir" is still defined (I think I am looking in the right
place)
https://github.com/Logitech/slimserver/blob/54e29170d26e881605e8c7df60de0644e870d36b/Slim/Schema/RemoteTrack.pm#L36
Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=116388