fix library path
This commit is contained in:
parent
866174e47e
commit
7f62cc0b07
1 changed files with 2 additions and 4 deletions
|
@ -4,8 +4,6 @@ import os
|
||||||
import sys
|
import sys
|
||||||
import webbrowser
|
import webbrowser
|
||||||
|
|
||||||
from twisted.internet import glib2reactor
|
|
||||||
|
|
||||||
from twisted.web.server import Site
|
from twisted.web.server import Site
|
||||||
from twisted.internet import reactor
|
from twisted.internet import reactor
|
||||||
|
|
||||||
|
@ -17,9 +15,9 @@ from version import __version__
|
||||||
|
|
||||||
def itunes_path():
|
def itunes_path():
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
path = os.path.expanduser('~/Music/iTunes/iTunes Library.xml')
|
path = os.path.expanduser('~/Music/iTunes/iTunes Music Library.xml')
|
||||||
elif sys.platform == 'win32':
|
elif sys.platform == 'win32':
|
||||||
path = os.path.expanduser('~\\Music\\iTunes\\iTunes Library.xml')
|
path = os.path.expanduser('~\\Music\\iTunes\\iTunes Music Library.xml')
|
||||||
else:
|
else:
|
||||||
path = None
|
path = None
|
||||||
return path
|
return path
|
||||||
|
|
Loading…
Reference in a new issue