Mediathek erstellt keine xml-Datei

S

SKURREAL

Neues Mitglied
Thread Starter
Dabei seit
22.11.2014
Beiträge
6
Reaktionspunkte
0
Hallo zusammen,

ich habe seit einiger Zeit ein Problem mit dem Zugriff anderer Programme auf meine Itunes-Mediathek. Aus mir unbekannten Gründen updated Itunes meine "Itunes Music Library"-xml-Datei seit dem 9.10.14 nicht mehr, erstellt auch keine neue Datei, wenn ich sie lösche. Ich habe eine itl-Datei, die sich regelmäßig erneuert. Was kann ich tun? Muss ich eine neue Mediathek erstellen?

Apple-Support:


  • iTunes Library.xml enthält einige (aber nicht alle) derselben Informationen, die auch in der Datei "iTunes Library" enthalten sind. Mit der Datei "iTunes Library.xml" werden anderen Programmen auf Ihrem Computer die Musiktitel und Wiedergabelisten zur Verfügung gestellt. Wenn Sie diese Datei löschen, erstellt iTunes eine neue Kopie aus der Datei "iTunes Library"."
 
nochmal einen Schritt zurück. Das eigentliche Problem ist mir nicht ganz klar. Welche Programme haben welche Probleme mit dem Zugriff auf welche Library und welche Versionen setzt du ein?
 
Im Grunde geht es mir um "Djay", das auf die xml-Datei "Itunes Music Library" zugreift. Das Problem ist, dass meine Itunes-Mediathek weder meine xml-Datei ab dem 9.10. aktualisierte noch eine neue xml-Datei erstellt, wenn ich meine vom Oktober vorübergehend lösche. Das is natürlich schlecht, weil ich in Itunes Wiedergabelisten fürs auflegen erstelle und djay dann nur die itunes-mediathek vom Oktober einlesen kann.

Selbst wenn ich in Itunes unter Ablage/Mediathek/Mediathek exportieren drücke, passiert absolut nichts, es wird keine Datei am angegebenen Speicherort erstellt.

Aja, Itunes 12.0 unter Mac OS 10.10
 
Mir ist zwar auch nicht so ganz klar, was da vorgeht, vielleicht hat es mit einem Update zu tun…
Oder sind die Schreibrechte für die alte .xml irgendwie verändert?

Vielleicht könntest Du aber mal das folgende Prozedere probieren um die Neuanlage aus der vorhandenen Mediathek zu provozieren:

iTunes: So erstellen Sie Ihre iTunes-Mediathek und Wiedergabelisten neu
In diesem Artikel wird erläutert, wie Sie Ihre iTunes-Mediathek und Wiedergabelisten neu erstellen.

iTunes-Mediatheksdatei neu erstellen
Hinweis: Nachdem Sie Ihre Mediathek neu erstellt haben, wird allen Geräten, die Sie mit iTunes synchronisieren (Apple TV, iPod, iPhone, iPad), Ihre iTunes-Mediathek als neue Mediathek angezeigt und vollständig neu synchronisiert. Die nächste Synchronisierung mit einem solchen Gerät wird daher länger dauern und einige Optionen zurücksetzen, da Ihre neu erstellte Mediathek noch nicht an die Geräteumgebung angepasst ist.
Weiterlesen - etwa auf der Mitte der Seite:
http://support.apple.com/de-de/HT1451

Good Luck…
Sebastiano
 
Zuletzt bearbeitet:
diese xml brauchste unter OS X gar nicht für iTunes!
 
Hat auch nicht geschrieben, daß er sie für iTunes braucht. Wofür er/sie sie braucht, steht aber da. Post #3.
 
  • Gefällt mir
Reaktionen: madu
diese xml brauchste unter OS X gar nicht für iTunes!

Die Datei brauchen andere Programme (iPhoto, iMovie, Fremdprogramme) um iTunes-Inhalte benutzen zu können.
Steht übrigens auch in #1 im Zitat vom Apple-Supprt.

@SKURREAL
hast Du mal eine neue Library erstellt (iTunes mit gedrückter alt-Taste starten)? Fehlt dort dann die .xml auch?
Und wie sieht es unter einem anderen Benutzer aus? Besteht dort das Problem ebenso?
 
Danke für alle Antworten bisher.

@Sebastiano: Das wäre wirklich meine letzte Wahl, das mach ich dann, wenn wirklich nichts anderes mehr funktionieren sollte.

@madu: Das werde ich morgen mal probieren, das würde mich auch interessieren.

Allgemein, gibt es vielleicht ein Datenmengenlimit für die xml-Datei? Ich habe mittlerweile über 500 Gb in meiner Itunesmediathek, vielleicht hat das dann einfach ein Limit überschritten? Aber im Grunde kann das ja auch nicht sein, weil itunes dann eigentlich eine neue xml-Datei erstellen müsste, wenn ich die andere lösche.

Ich hab eben keine Lust die ganzen Daten in eine neue Mediathek zu transferieren, ich glaube aber, es läuft darauf hinaus. :(



EDIT:

Ich habe jetzt ein wenig rumprobiert. Wenn ich eine neue Mediathek erstelle, bekomme ich tatsächlich auch eine neue xml-Datei, die sich jedoch wiederum anscheinend nur dann verändert, wenn ich manuell Musik hinzufüge und nicht, wenn ich den "Itunes Media" Ordner oder die itl-Datei austausche. Und eine neue Datei ist auch nicht erschienen nachdem ich die xml gelöscht habe. Muss ich also alle Daten neu importieren oder fällt jemand noch etwas dazu ein?

@madu: Wegen Benutzer: ich habe nur einen, sollte ich einen zweiten anlegen um das zu überprüfen?
 
Zuletzt bearbeitet:
Die Lösung in #4 halte ich nicht für zielführend. Da geht es um Wiederherstellung der .itl-Datei (der Library-Datei von iTunes) aus der .xml-Datei.
Hier aber wird ja die .xml nicht erstellt/aktualisiert, mit der .itl gibt es kein Problem.

Ich habe da aber noch etwas interessantes gefunden. Tönt recht einleuchtend.
Beachte zur Fehlersuche den letzten Absatz, so sollte(n) der/die problembehaftete(n) Song(s) rasch zu finden sein :)

Summary:
The iTunes XML exporter is crashing due to funky characters is some of the fields of some of the songs in your library. You will need to fix the problematic fields in the songs in your library and this will fix the problem.

1) Your ITL file is not exporting properly

When iTunes is running it uses the ITL (ITunesLibrary) file. This is a binary file in a proprietary Apple format. When you exit iTunes, it tries to export your library to the XML file in the same directory (both files are in the iTunes/Media folder). If at some point you added a song with a funky character (non-latin characterset) in one of the fields (not necessarily the name of the file, but in the information fields), when the XML exporter tries to process the file, it crashes, thereby not updating the XML file.

The reason the XML file exists is so that other software can load the iTunes library; the ITL format is proprietary and has not be released publicly. DJ software, like Virtual DJ (or any other software that reads the XML for that matter), will read the information from the XML file. Even if you delete your entire library, if the XML exporter is crashing the DJ software will still load the old XML file (and therefore behave as though you still have you old library).

If you look at the dates of the two files, they should be the same. If they are not, or if you do not have an XML file, this problem is happening to you. Note that the ITL file is binary, and so it will be smaller, whereas the XML file is Unicode text and it will be much larger. To give you an idea, I have 16,000 songs in my library and the ITL is 6.5Mb; the XML is 26Mb.

Because your export likely worked in the past (before you added the problematic song in question), you still have a legacy XML file from some past operations.

2) What you need to do to find the song

I got this fix from the apple support community:

https://discussions.apple.com/thread/2168081?start=0&tstart=0

Thank you to Arseniy Ivanov for figuring this out!

Here is his suggestion:
-------
Okay, it seems I have figured out something here.
XML creation crashes on some of the characters that it's unable to convert to XML-entities correctly.
In my case, it was this particular sequence in the Composer field, which made it crash.

54 43 4F 4D 00 00 00 15 00 00 01 FF FE 9E DA

So just check whether any of your files contain some kind of weird characters.
The following method might be helpful:

1. Create new smart playlist with a rule "Playlist is Music"
2. Set limit to approx half your library size, ordered by Artist
3. Try to export in XML the playlist via File -> Library -> Export playlist
4. If the file has been created, delete it, increase the limit by some amount; if the export has failed, decrease limit by some amount.
5. After several tries you will find a limit number, after which the creation fails. Go down to the end of this playlist and check the info of the file.

It also might happen that several files contain those nasty characters, so you will have to clean them all up.
-------

The only suggestion I would add is a little further down the post. Take a look at the date that your XML file stopped updating. This is likely when you added the song in question. I made a smart playlist that added the most recent additions and it helped me find the file in question. You can be creative here. For me, I had a bunch of non-printable and non-latin characters in a variety of fields. When you get to a bunch of files that don't work, browse through the information view of the songs and look for the funny stuff. It does work!!

3) How you will know that it works

When you think you have fixed the problem, exit iTunes. If the XML file last modified date is the same as the ITL file - it worked!!

Good luck!

Quelle:
https://discussions.apple.com/thread/2168081?start=15&tstart=0
 
  • Gefällt mir
Reaktionen: SKURREAL
Ich habe jetzt ein wenig rumprobiert. Wenn ich eine neue Mediathek erstelle, bekomme ich tatsächlich auch eine neue xml-Datei, die sich jedoch wiederum anscheinend nur dann verändert, wenn ich manuell Musik hinzufüge und nicht, wenn ich den "Itunes Media" Ordner oder die itl-Datei austausche. Und eine neue Datei ist auch nicht erschienen nachdem ich die xml gelöscht habe. Muss ich also alle Daten neu importieren oder fällt jemand noch etwas dazu ein?
Also da nun einfach den Medienordner oder die itl austauschen wird nicht klappen. Es ging nur darum zu sehen, ob die xml bei einer neuen Mediathek erstellt wird.
Wenn Du (bei der Test-Mediathek) iTunes beendest, die xml löschst, dann iTunes wieder startest, wird sie aber wieder erstellt oder?

@madu: Wegen Benutzer: ich habe nur einen, sollte ich einen zweiten anlegen um das zu überprüfen?

Das hat sich eigentlich erübrigt, die xml wird ja *grundsätzlich* erstellt (bei neuer Mediathek).
Ich würde das Problem nun erst mal nach obigem Post angehen.

Falls es dann noch nötig ist, oder auch für ein anderes Mal: Einfach einen neuen Benutzer anlegen. Kann man danach auch wieder löschen. So kann man - bei Problemen aller Art - eingrenzen, ob das Problem im System bzw. Programm, oder beim Benutzer (Einstellungen etc.) liegt.
 
Wow!! Vielen Dank! das wird zwar mühselig, aber zumindest ist das schonmal kein Einzelfall!

Ich glaube, ich weiß sogar, woher diese "54 43 4F 4D 00 00 00 15 00 00 01 FF FE 9E DA" -Kommentare ursprünglich herkommen. da gabs so ein Musikprogramm/plugin, wo man Moods festlegen konnte, die haben das ausgespuckt.
 
das wird zwar mühselig
Nein, das sollte sogar nun recht einfach sein. ;)
Du hast ja das Datum der letzten Aktualisierung der xml-Datei. Der/die fehlerhaften Songs müssen kurz darauf zugefügt worden sein. Du brauchst also nur Deine Mediathek nach dem Zugefügt-Datum zu sortieren (od. eine entsprechende int. Playlist zu erstellen) und die Songs ab diesem Zeitpunkt durchgehen :)
 
Dabei habe ich folgendes entdeckt:

Letzte xml-Datei-Aktualisierung: 9.10

Wenn ich in djay reingehe und dann nachsehe, wann ich das neueste Lied der Oktober-xml-Datei hinzugefügt habe, kommt 18.9 raus. Versteh ich nicht ^^
 
Ok, hat funktioniert. Ich bedanke mich herzlich!
 
Sehr schön :)
 
Zurück
Oben Unten