mherger wrote:
>
> > If its complicated to change it in the LMS core it might be possible
> to
> > handle it in the plugin if its possible to somehow retrieve the
> > database track object through an extra call/query if the plugin get a
> > remote track object from objectForUrl. However, since Im not able to
> do
> > this myself it could maybe be a bit tricky for a new developer to
> > implement such fix. This of course assumes there is a database track
> > object available. Not sure in which situations objectForUrl would
> return
> > a remote track object ?
>
> Basically whenever there's one. Which would always be the case when
> dealing with it while it's being played.
>
> I was considering adding a parameter to objectForUrl for the very
> purpose you suggest, but went with a less "intrusive" way which I
> thought wouldn't require any change on your end. Alas, it wasn't good
> enough.
>
The current fix on your end is significantly better than what we had and
works with the only exception that online tracks might sometimes be
repeated in dynamic playlists. Might even be good enough until someone
implements a new actively maintained plugin that can replace mine.
If you are reasonably sure it isnt a problem for LMS itself if remote
track objects is sometimes returned it might be better/easier if someone
tries to fix it on the plugin side. Is there currently any method the
plugin could use to get a database track object if it sees that the
track id returned from objectForUrl is negative ?
I suspect its going to be easier for someone to introduce an extra call
on the plugin side instead of trying to introduce usage fo urlmd5
column.
Erland Isaksson ('My homepage' (http://erland.isaksson.info))
Developer of 'many plugins/applets'
(https://wiki.slimdevices.com/index.php/User_Erland.html)
*Starting with LMS 8.0 I no longer support my plugins/applets* ('see
here for more information'
(https://forums.slimdevices.com/showthread.php?49483-Announce-New-versions-of-erlands-plugins&p=998836&viewfull=1#post998836)
)
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=49483
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins