gharris999 wrote:
> I'd be happy to help test. I'm traveling quite a bit at the moment so
> it may take me a few days to try out any changes.
Could you try this modification to the LocalPlayer handler - I think
this will mean it automatically avoids direct access for virtual tracks
as used by CUE sheets. [don't have any so am hoping you can test!]
Code:
--------------------
diff -dur /home/adrian/plugins/LocalPlayer/LocalFile.pm
Plugins/LocalPlayer/LocalFile.pm
--- /home/adrian/plugins/LocalPlayer/LocalFile.pm 2012-12-29
15:28:53.000000000 +0000
+++ Plugins/LocalPlayer/LocalFile.pm 2013-05-13 20:41:54.000000000 +0100
@@ -14,8 +14,10 @@
sub canDirectStreamSong {
my ($class, $client, $song) = @_;
- # local player only for players supporting 'loc' and non sync, non
seek case
- if ($prefs->get('loc') && $client->can('myFormats') &&
$client->myFormats->[-1] eq 'loc' && !$client->isSynced && !$song->seekdata) {
+ # local player only for players supporting 'loc' and non sync, non
seek case, non virtual track (from CUE sheet)
+ if ($prefs->get('loc') && $client->can('myFormats') &&
$client->myFormats->[-1] eq 'loc' &&
+ !$client->isSynced && !$song->seekdata &&
!$song->track->virtual) {
+
return "file://127.0.0.1:3483/" . $song->track->url;
}
--------------------
------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=97862
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix