Bug 4573 - iTunes files are not picked up
: iTunes files are not picked up
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: iTunes
: 6.5.1
: PC Fedora
: P2 normal (vote)
: ---
Assigned To: Chris Owens
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-07 14:10 UTC by jlesky
Modified: 2009-01-29 09:47 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jlesky 2006-12-07 14:10:59 UTC
I'm sharing my music from my Windows box running iTunes to a Linux box running Slimserver.  When I scan my library, the iTunes files are not found by Slimserver.

The problem is simply that Slimserver is not properly substituting the base path defined as the "iTunes Music Folder" in the iTunes Plugin for base path found in the "iTunes Music Library.xml".

The problem is just a syntax issue in the sub normalize_location in Common.pm.

This line is causing the issue:

$url =~ s/$class->iTunesLibraryBasePath/$base/isg;


Replacing it with this solves problem:

my $itunesbase = $class->iTunesLibraryBasePath;
$url =~ s/$itunesbase/$base/isg;
Comment 1 Chris Owens 2006-12-08 12:46:20 UTC
Is there a reason not to implement the suggested patch, Dan?
Comment 2 Dan Sully 2006-12-09 08:56:21 UTC
nope, that should be implemented.
Comment 3 KDF 2006-12-09 15:33:09 UTC
committed to trunk at change 10919
Comment 4 KDF 2007-08-04 16:06:58 UTC
marking as fixed, since we have a change number.  please reopen if there are still any issues.
Comment 5 Chris Owens 2008-03-07 09:04:00 UTC
This bug is being closed since it was resolved for a version which is now released!  Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html

If you are still seeing this bug, please re-open it and we will consider it for a future release.