In order deepen my findings, I modified the method "normalize_location"
in /usr/share/perl5/Slim/Plugin/iTunes/Common.pm and wanted to see, what
happens. So I inserted following code-snippet at Line 358 (just before
returning $url):

# ElMuto's extension
# replace %26 by ampersand to get
# matching file urls in SCs DB
$log->warn("original url was $url");
$url =~ s/%26/\&/;
$log->warn("..changed url is $url");
# end of ElMuto's extension

Interestingly enough, even after restart of the squeezecenter-service,
this code-modification seems to have no effect in the execution. Not
even the messages are written to the log.

Could anybody tell me, what I can do to test my code modifications on a
normal Ubuntu-SC-Installation? I would really like to avoid setting up
an SC-dev-environment for testing one line of effective code.


-- 
ElMuto
------------------------------------------------------------------------
ElMuto's Profile: http://forums.slimdevices.com/member.php?userid=32058
View this thread: http://forums.slimdevices.com/showthread.php?t=66475

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to