Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 9 FirstFirst 1234 ... LastLast
Results 11 to 20 of 82
  1. #11
    Junior Member
    Join Date
    Jul 2015
    Location
    Scheveningen (The Netherlands)
    Posts
    23
    Quote Originally Posted by mherger View Post
    > <key>Music
    > Folder</key><string>file://localhost/C:/Users/xxxxxx/Music/iTunes/iTunes%20Media/</string>
    >
    > Interestingly, this <key> is now located (in the broken xml) at the very
    > bottom of the file.
    >
    > At this point, I've got itunes closed so no more changes are going to be
    > made to the xml. Using notepad, I moved the <key> from the bottom of
    > the file back up to the top where the rest of the <key>s are defined.
    > Saved the changes and pointed LMS back at this previously broken
    > xml...It worked...everything was back to how it was before I upgraded.


    What if you added that folder information to the "iTunes Media Folder"
    setting in Settings/iTunes? This used to be there for eg. NAS users who
    had to map the NAS' internal paths to those in the XML file. But it
    could help your case, too.


    --

    Michael
    I my situation path is like this: \\DISKSTATION\music\iTunes\iTunes Media
    Still doesn't work yet! However exporting the XML is a workaround!

  2. #12
    Junior Member
    Join Date
    Mar 2014
    Location
    Toronto, CA
    Posts
    23
    Quote Originally Posted by mherger View Post
    > Any news on this issue?
    >
    > Is there going to be an update of LMS iTunes plugin (Who would do this
    > with Logitech out of the picture?)?


    If you bothered to read previous postings and answer my simple question,
    then we might be one step closer to getting this back to work.

    --

    Michael
    Michael,

    If i understand correctly what you are proposing, it provides instant relief but will not ensure what used to be "seamless" LMS updates with iTunes changes.

    Regards,
    VSMI
    -Logitech Media Server Version: 7.9.0 - 161.1068
    -Synology DS1512+ INTEL Atom D2700 3GB Ram;DSM 6.0.2-8451 Update 7
    -2x Squeezebox Touch
    -2x Squeezebox Duet
    -iTunes 12.5.4.42 library (using Logitech iTunes Integration plugin)
    -iPeng 9.2.1
    -Spotify (v2.3.9) plugin by Triode

  3. #13
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,837

    Did iTunes 12.2 (latest) break theitunes plugin in LMS?

    > If i understand correctly what you are proposing, it provides instant
    > relief but will not ensure what used to be "seamless" LMS updates with
    > iTunes changes.


    If I understand correctly what you are saying, you prefer not to have
    any iTunes integration than one which is not the most "seamless"
    imaginable? Your choice.

    --

    Michael

  4. #14
    Senior Member
    Join Date
    May 2009
    Location
    Minneapolis
    Posts
    104
    It's seems utterly reasonable to want the SB ecosystem to keep working without hacks or the need to manually refresh libraries. That said, getting that with an EOL product may be more challenging than folks want to mess with.

    Using a time machine back up, I downgraded to the last version of iTunes before the 12.2 and things are back to normal. 90 min. of my life I'd rather have back, but it works.

    Yesterday, the head of Apple Music tweeted that Home Sharing is coming back in iOS 9. Maybe that's good news for our community.

    I think it says quite a bit that this thread has not exploded. I would have thought Mac users would be really pissed.

  5. #15
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,837

    Did iTunes 12.2 (latest) break theitunes plugin in LMS?

    > It's seems utterly reasonable to want the SB ecosystem to keep working
    > without hacks or the need to manually refresh libraries.


    What hack? What manual refresh? Heck, did anybody even bother to check
    out the option I've been talking about? It has been around for years,
    has served many very well.

    > I think it says quite a bit that this thread has not exploded. I would
    > have thought Mac users would be really pissed.


    The problem afaict doesn't show up on all installations. I've had no
    problems scanning my iTunes library on two installations. Both of which
    had updated iTunes and XML files.

    --

    Michael

  6. #16
    Quote Originally Posted by mherger View Post
    > It's seems utterly reasonable to want the SB ecosystem to keep working
    > without hacks or the need to manually refresh libraries.


    What hack? What manual refresh? Heck, did anybody even bother to check
    out the option I've been talking about? It has been around for years,
    has served many very well.

    > I think it says quite a bit that this thread has not exploded. I would
    > have thought Mac users would be really pissed.
    The manual refresh ismarketing is referring to is (probably) having to export the library in itunes in order for it to build a working xml.
    I have tried many different permutations of paths in the itunes media library field to no avail. Michael, am I correct in assuming that LMS is installed on the same machine as your itunes is running on? I guess I should have clarified that the problem itunes library (windows or mac) lives on a different host than the LMS.
    Last edited by wonton; 2015-07-08 at 14:23.

  7. #17
    Junior Member
    Join Date
    Mar 2014
    Location
    Toronto, CA
    Posts
    23
    Quote Originally Posted by mherger View Post
    > It's seems utterly reasonable to want the SB ecosystem to keep working
    > without hacks or the need to manually refresh libraries.


    What hack? What manual refresh? Heck, did anybody even bother to check
    out the option I've been talking about? It has been around for years,
    has served many very well.

    > I think it says quite a bit that this thread has not exploded. I would
    > have thought Mac users would be really pissed.


    The problem afaict doesn't show up on all installations. I've had no
    problems scanning my iTunes library on two installations. Both of which
    had updated iTunes and XML files.

    --

    Michael
    Michael,

    Could you please take a few minutes and describe your workaround, step-by-step, and how it behaves in day-to-day library update situation. I am sure that this will make it easier for both myself and other interested members to understand it and replicate it, if it actually does what used to be a fairly straight forward process.

    Regards,
    VSMI
    -Logitech Media Server Version: 7.9.0 - 161.1068
    -Synology DS1512+ INTEL Atom D2700 3GB Ram;DSM 6.0.2-8451 Update 7
    -2x Squeezebox Touch
    -2x Squeezebox Duet
    -iTunes 12.5.4.42 library (using Logitech iTunes Integration plugin)
    -iPeng 9.2.1
    -Spotify (v2.3.9) plugin by Triode

  8. #18
    Quote Originally Posted by mherger View Post
    > It's seems utterly reasonable to want the SB ecosystem to keep working
    > without hacks or the need to manually refresh libraries.


    What hack? What manual refresh? Heck, did anybody even bother to check
    out the option I've been talking about? It has been around for years,
    has served many very well.

    > I think it says quite a bit that this thread has not exploded. I would
    > have thought Mac users would be really pissed.


    The problem afaict doesn't show up on all installations. I've had no
    problems scanning my iTunes library on two installations. Both of which
    had updated iTunes and XML files.

    --

    Michael
    I had this problem. I updated DSM, LMS and iTunes all about the same time. After that I lost the playlists after I chose to clear everything and rescan library. I tracked down the root-cause to a bug in Import.pm source file in iTunes plugin support for LMS.

    The XML parsing code that retrieves the value of "Music Folder" key is sensitive to where the key is located. With iTunes 12.0 this key has moved to bottom of the file. So the parser code gets to it only after parsing all the playlists and that is too late.

    I have experimented with a fix that gets this key before parsing the xml file for playlists. The following diff to Importer.pm takes should work regardless of the order of the keys in the xml file.

    diff Importer.pm Importer_orig.pm
    16d15
    < use XML::Simple;
    118,148d116
    < sub getMusicFolder {
    < my $class = shift;
    < my $file = shift || $class->findMusicLibraryFile;
    < my $type = 'Music Folder';
    < my $myfolder = undef;
    <
    < open(XML, $file) or do {
    < print("Couldn't open [$file]: [$@]");
    < };
    <
    < while(<XML>) {
    < if (/<key>$type/) {
    < $myfolder = "<?xml version="1.0" encoding="UTF-8"?><dict>" .$_."</dict>";
    < }
    < }
    <
    < close(XML);
    <
    < if ($myfolder) {
    < my $parser = XML::Simple->new;
    < my $data = $parser->XMLin($myfolder);
    <
    < undef $myfolder;
    < $myfolder = ${$data}{'string'};
    < $class->iTunesLibraryBasePath( $class->strip_automounter($myfolder) );
    < if ( main::INFOLOG && $log->is_info ) {
    < $log->info("Found the music folder: ", $class->iTunesLibraryBasePath);
    < }
    < }
    < }
    <
    204,205d171
    < $class->getMusicFolder;
    <
    353d318
    < #$file = Slim::Utils::Misc::pathFromFileURL($url);
    570c535
    < #$class->iTunesLibraryBasePath( $class->strip_automounter($value) );
    ---
    > $class->iTunesLibraryBasePath( $class->strip_automounter($value) );
    572,574c537,539
    < #if ( main::INFOLOG && $log->is_info ) {
    < # $log->info("Found the music folder: ", $class->iTunesLibraryBasePath);
    < #}
    ---
    > if ( main::INFOLOG && $log->is_info ) {
    > $log->info("Found the music folder: ", $class->iTunesLibraryBasePath);
    > }

    Baskaran

  9. #19
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,837

    Did iTunes 12.2 (latest) break theitunes plugin in LMS?

    I've applied a change to 7.9 which will hopefully deal with the latest
    changes in the iTunes XML file. Please give it a try and report back.
    Thanks!

    --

    Michael

  10. #20
    Junior Member
    Join Date
    Mar 2014
    Location
    Toronto, CA
    Posts
    23
    Quote Originally Posted by mherger View Post
    I've applied a change to 7.9 which will hopefully deal with the latest
    changes in the iTunes XML file. Please give it a try and report back.
    Thanks!

    --

    Michael
    For Synology users does this mean that this should be picked up by Pinkdot and incorporated in a new repack?

    VSMI
    -Logitech Media Server Version: 7.9.0 - 161.1068
    -Synology DS1512+ INTEL Atom D2700 3GB Ram;DSM 6.0.2-8451 Update 7
    -2x Squeezebox Touch
    -2x Squeezebox Duet
    -iTunes 12.5.4.42 library (using Logitech iTunes Integration plugin)
    -iPeng 9.2.1
    -Spotify (v2.3.9) plugin by Triode

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •