Re: Accessing data in songStreamController

Michael Herger <slim-b/[email protected]> Mon, 12 Dec 2022 07:13:24 +0100
Newsgroups gmane.music.equipment.slimdevices.devel
Message-ID <[email protected]>
>    [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"

Would you have some more context about what you're trying to do, and how 
you're getting here?

> 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

"redir" is available for RemoteTrack. But the above error is for a local 
"Track". Local files obviously shouldn't redirect. Maybe you should 
check whether a file isRemote or not before checking the redir 
attribute? But lack of context this is just a wild guess.