Enabling iTunes playlist import on a QNAP NAS

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
brainsontoast
Posts:2
Joined:Wed Jan 17, 2007 10:37 am
Enabling iTunes playlist import on a QNAP NAS

Post by brainsontoast » Wed Jun 24, 2015 10:51 pm

Hi all

Running QPKG 8.0.4 on my QNAP TS-269L. I've moved my iTunes library (including XML file) over to the NAS from my laptop, and have included the XML file in the path of files that are being scanned. However, I can't make the (standard, not smart) iTunes playlists from the XML file appear in my list of playlists.

I've tried using the rpc calls to set the ituneslib value, but it doesn't seem to matter.

Has anyone got this working in a similar scenario?

Thanks!

Will

Stormy1987
Posts:14
Joined:Thu Aug 12, 2010 10:51 pm
AV Hardware:Fritz!Box 7270

Re: Enabling iTunes playlist import on a QNAP NAS

Post by Stormy1987 » Mon Aug 17, 2015 10:28 pm

i have the same problem.

my whole library is placed into the Multimedia/Music/itunes Media folder of my QNAP 212. The library.itl and .xml are also placed on the QNAP in Mulitmedia/Music folder.


i tried the 2 following things:

1. Scan the Mulitmediafolder for all types

2. using the following command:

http://192.168.178.31:9000/rpc/set_opti ... ibrary.xml


But Twonky won't show my playlists.


Can anyone please try to help me? Is it possible with the qnap and the latest twonky 8 ?


I remember i made that work years ago with an old twonky kirkwood running on a Linkstation.

Stormy1987
Posts:14
Joined:Thu Aug 12, 2010 10:51 pm
AV Hardware:Fritz!Box 7270

Re: Enabling iTunes playlist import on a QNAP NAS

Post by Stormy1987 » Wed Aug 19, 2015 12:30 pm

Really noone an idea what i could try or what could be wrong?


Edit:

Same for me. Seems like it is a common problem. I searched and tried things for many hours without success.

However in Twonky 4.4.17 it works. Here are both .ini files to compare. Maybe anyone can find some mistake:


For twonky 4 using the getall command , the ituneslib links to /Multimedia/Music/iTunes+Library.xml. So i tried to set it the same for Twonky 8.1.1 without success.
i also tried http://192.168.178.31:9000/rpc/set_opti ... ibrary.xml


Here are both .ini files to compare. Maybe anyone can find some mistake:

Twonky 4

Code: Select all

accessuser= accesspwd= adaptcase=1 autotree=1 allname=- ALL - playlistnumentries=100 cachedir=/mnt/HDA_ROOT/twonkymedia/twonkymedia.db/cache cachemaxsize=100240 clearclientsonrestart=0 clients= clientautoenable=1 codepage=932 compilationsdir=Compilations,Sampler contentbase=/share contentdir=+M|/Multimedia/Music dbdir=/mnt/HDA_ROOT/twonkymedia/twonkymedia.db dyndns= dlnastrict=0 enableweb=2 folderprefix= followlinks=1 friendlyname=TwonkyMedia [%HOSTNAME%] httpport=9000 httpremoteport= ignoredir=AppleDouble,AppleDB,AppleDesktop,TemporaryItems ip= ituneslib=/Multimedia/Music/iTunes Library.xml language=en livevideoname= liveradioname= maxmem=0 musicnode1=Artist,%ARTIST musicnode10= musicnode2=Genre,%GENRE musicnode3=Album,%ALBUM musicnode4=Folder,%PATH musicnode5=Personal rating,%RATING musicnode6= musicnode7= musicnode8= musicnode9= alltracks=All Tracks allradio=All Stations playlistlastplayed=- Last played - playlistmostplayed=- Most played - playlists=Playlists internetradio=Internet Radio rootmusic=Music rtpport= nicrestart=0 norescale=0 nosearch=0 picturenode1=Folder,%PATH picturenode2=Date,%YEAR,%MONTH picturenode3= picturenode4= picturenode5= allpictures=All Photos rootpicture=Photos tagspicture=- Tags - platform=TS-Series NAS radio=0 radiogenre=Pop radioreread=1200 randomizeplaylists=0 scantime=120 startupmb=0 streambuffer=16384 uploadenabled=0 uploadmusicdir=/Music uploadpicturedir=/Picture uploadvideodir=/Video upnptimeout= v=0 videonode1=Folder,%PATH videonode2= videonode3= videonode4= videonode5= allvideos=All Videos rootvideo=Videos webnodes=MPV webpicturenum=0

'Twonky 8

Code: Select all

friendlyname=TwonkyMedia [%HOSTNAME%]
ip=
nicrestart=1
v=0
platform=qnap_marvell_6281
httpport=9000
ininame=twonkyvision-mediaserver6.ini
inipath=/etc/config
read_only=0
ssdpttl=4
ssdpheartbeattimeout=100
appdata=/var/twonky/twonkyserver
clearclientsonrestart=0
disablelocalssdp=1
enabletls=1
httpsport=9443
vlevel=4
stack_size=196608
language=de
userid=fe91b434e9f2fa427863c8b7beaae9df
appid=
portalusername=
twonkyinfo=ff9fc5d5287ca429fdb616fbda0356e1467031c369a29eb44b098c160d80bd434971b6bccf9f2a3176800bb01f6ba78b0715ecbf94b999a20f94c73a0a98a4079cead5237f0dbc879db6b79c1b7d472dfd6177f893a15ce4
enablequeuehandlerdevice=1
enablenmcwebapi=1
followlinks=1
flushlogmsg=0
webdavport=
ignoreip=
autoupdateurl=
mediatypefilter=A
enablereporting=15
reportingappid=
ssdpheartbeatport=1900
contentbase=/share
iface=
ignoreiface=
maxthreads=0
onlineservicename=
pdbexpiretime=14
profileserviceurl=
cachedir=/mnt/HDA_ROOT/twonkymedia/twonkymedia.db/cache
cachemaxsize=100240
maccacheleasetime=24
resourcedir=/share/HDA_DATA/.qpkg/TwonkyMedia/resources
enablefriendlyinfoupdate=
enabledeprecatedjsonandrssfeed=
multiusersupportenabled=0
multiusersupportdefaults=admin:admin:admin;guest::guest
multiusersupportdefaultuser=guest
multiusersupportdefaultrole=admin
disablestringpoolcache=
limit_devdesc_responses_ua=
limit_devdesc_responses_ip=
http_use_digest_auth=0
cvp2_auth=0
cvp2_services=0
keypackpath=
chromecast_receiver_app_id=
disablelogrotate=0
escape_json=1
presentation_url=
no_persist_conn=0
msearch_start_interval=3
msearch_interval=0
dmr_state_poll_interval=5
client_cache_size_limit=1048576
max_queue_size=-1
ruic_mode=3
rcs_poll_interval=30
thumbnail_cache_dir=tncache
thumbnail_cache_storage_type=M
thumbnail_cache_size=1048576
thumbnail_max_threads=1
cpautoenable=1
disable_dmr_plugins=0
ruiserverindexhtml=
accessuser=
accesspwd=
cdkey=
clientautoenable=1
codepage=932
compilationsdir=Compilations,Sampler
contentdir=-A|/Multimedia,-P|/Multimedia/Bilder,+M|/Multimedia/Music,-V|/Multimedia/Videos
dbdir=/mnt/HDA_ROOT/twonkymedia/twonkymedia.db
dyndns=
enableweb=2
disablewebui=0
httpremoteport=
ignoredir=AppleDouble,AppleDB,AppleDesktop,TemporaryItems,.@__thumb,@Recycle
ituneslib=/Multimedia/Music/iTunes Library.xml
scantime=-1
streambuffer=16384
uploadenabled=0
uploadmusicdir=
uploadpicturedir=
uploadvideodir=
mirroredmusicdir=
mirroredpicturedir=
mirroredvideodir=
servermanagedmusicdir=/share/twonky/music/Twonky
servermanagedpicturedir=/share/twonky/pictures/Twonky
servermanagedvideodir=/share/twonky/videos/Twonky
defaultview=advanceddefault
rmdrives=
rmhomedrive=/mnt/HDA_ROOT/twonkymedia/twonkymedia.db
rmautoshare=0
maxitems=0
aggregation=0
aggmode=0
secure_folder_path=
dtcpsessionlimit=8
dtcpsessioncount=
uploaddestinationfriendlyname=UploadDestination
uploadrestrictedprofiles=
disablefrontends=
upnpuploadlimit=0
disablesleepmode=0
uploadmaxfilesize=0,0,0
httpsessionlimit=
clearcacheonrestart=
scalermaxpixels=
hdrlnextreadyvalue=180
enablenonkeyframetstgen=0
importdir=
includefolder=0
rmupload=0
contentdiscoverymode=7
enableruiserver=0
disabletimeseek=1
albumartdir=
fseventingtest=0
disableduplicateremoval=0
ignoredirwithfile=.nomedia,.ignorethis
forceinitialscan=0
classifiedaccessuser=
classifiedaccesspwd=
twonkytuner_host=127.0.0.1
twonkytuner_port=
importscantime=
limittranscodingperclient=0
disablepmscaling=0
scannerwatchdogtimeout=
scannernotifychecktimeout=
dbnotifychecktimeout=
shutdownchecktimeout=
ignoredirsbeginningwith=
disableunsupportedmarker=0
delaynetwork=0
disabledtcp=0
dtcp_use_all_content=1
smartplaylistcutdate=
donotscandrm=0
memsharinglimit=0
fun_file_location=
fun_scaninterval=0
autoshare_upload_dirs=1
ignore_embedded_thumbnails=0
twonkyserver_registry=
ignore_credentials_on_localhost=
ignorefilebyext=
disable_token_check=0
live_streaming_path=
usefilenameinfolderview=0
audiobooklocations=
audiobookgenres=Audiobook
forcealbumartscaling=0
hdrlnextmovecopyvalue=10
licensestatus=2
licensedays=0
licenseregistered=1
licensemediamanager=0
mediafusionserverurl=http://api.twonky.com



The .xml is inside the Multimedia/Music

Locked