Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: iTunesToRhythm.py: supply a source and destination  (gelezen 1362 keer)

Offline 2ndchance

  • Lid
iTunesToRhythm.py: supply a source and destination
« Gepost op: 2011/02/25, 10:39:52 »
Omdat ik van zowel ubuntu en windows gebruik maak, wil ik graag mijn itunes/rhythmbox ratings synchroniseren. Daarvoor heb ik het volgende script gevonden: http://www.esanbock.com/iTunesToRhythm/iTunesToRhythm.html

Ik heb deze uitgepakt en alle bestanden + itunes library xml naar mn home gekopieerd. In de terminal krijg ik het volgende:


jasper@jasper-Desktop:/home$ iTunesToRhythm.py -w -d ITunes\ Music\ Library.xml ~/.local/share/rhythmbox/rhythmdb.xml
iTunesToRhythm.py: command not found

Weet iemand wat ik fout doe?
« Laatst bewerkt op: 2011/03/14, 10:20:19 door 2ndchance »

Re: iTunesToRhythm.py: command not found
« Reactie #1 Gepost op: 2011/02/25, 10:54:31 »
Het commando moet zijn:

python iTunesToRhythm.py -w -d ITunes\ Music\ Library.xml ~/.local/share/rhythmbox/rhythmdb.xml

Offline 2ndchance

  • Lid
Re: iTunesToRhythm.py: command not found
« Reactie #2 Gepost op: 2011/02/25, 11:10:26 »
bedankt voor je snelle antwoord! Zo start het programma, maar ik kom er nog niet helemaal uit:

jasper@jasper-Desktop:~$ python iTunesToRhythm.py -w -d ITunes\ Music\ Library.xml ~/.local/share/rhythmbox/rhythmdb.xml
Usage: iTunesToRhythm [options] <inputfile>|itunes|mysql|wmp <outputfile>|mysql|itunes|wmp

Options:
  -h, --help            show this help message and exit
  -c, --confirm         confirm every match
  -w, --writechanges    write changes to destination file
  -a, --disambiguate    prompt u.....
....
....
iTunesToRhythm.py: error: you must supply a source and destination

Mijn itunes library kan niet gevonden worden? ik heb deze wel in home geplaatst en ook geprobeerd de locatie te veranderen in het commando (k probeer maar wat :s), zoals: python iTunesToRhythm.py -w -d home\jasper\Library.xml ~/.local/share/rhythmbox/rhythmdb.xml

Ik krijg dezelfde foutmelding. Hoe werkt dit programma precies? Is het noodzakelijk steeds mijn itunes library te kopieren of kan ik deze ook vanaf mijn windows schijf lezen?



Offline 2ndchance

  • Lid
Re: iTunesToRhythm.py: command not found
« Reactie #3 Gepost op: 2011/03/14, 10:13:11 »
Ik hoop dat iemand mij hier nog mee kan helpen...

Ik heb volgens mij de juiste bestanden in mijn Home folder geplaatst, maar kom er nog niet uit. Kan iemand hier aan zien wat ik nog fout doe?

~$ dir
Afbeeldingen     dumprhythm.py            PersonalBrain
Bureaublad     dumpwmp.py            Sjablonen
Desktop        examples.desktop         songparser.py
Documenten     iTunes\ Music\ Library.xml  test_brain
Downloads     iTunesToRhythm.py         test.brain
dumpamarok.py     LICENSE.txt            Video's
dumpitunesmac.py  Muziek            Win2-7Pack_v6.0_Multilang_Aero
dumpitunes.py     Openbaar            winetricks
jasper@jasper-Desktop:~$ python iTunesToRhythm.py -w -d ITunes\ Music\ Library.xml ~/.local/share/rhythmbox/rhythmdb.xml

................
iTunesToRhythm.py: error: you must supply a source and destination



Re: iTunesToRhythm.py: supply a source and destination
« Reactie #4 Gepost op: 2011/03/14, 18:57:42 »
Probeer eens -wd ipv -w -d...

Offline 2ndchance

  • Lid
Re: iTunesToRhythm.py: supply a source and destination
« Reactie #5 Gepost op: 2011/03/17, 08:08:16 »
helaas maakt dat geen verschil....