Re: [SlimDevices: Plugins] Solution: TrackStat data to iTunes export on Mac OS
Here is the debug output: 1st track info: Title: Come On Girl Path: media:Music:iTunes:iTunes Media:Music:Taio Cruz:Rokstarr (Bonus Track Version):08 Come On Girl.m4a Type of entry: played Date info: 20101202220456 Converted date: Friday, February 12, 2010 12:00:00 AM Alternative date conversion method: Thu Dec 2 22:04:56 EST 2010 The script claimed that the following had an invalid date and time format. Lazy Bird|||/media/Music/iTunes/iTunes Media/Music/John Coltrane/Blue Train/05 Lazy Bird.mp3|played|20110122192759| Moment's Notice|||/media/Music/iTunes/iTunes Media/Music/John Coltrane/Blue Train/02 Moment's Notice.mp3|played|20110122210852| -- slope_rabbit slope_rabbit's Profile: http://forums.slimdevices.com/member.php?userid=32922 View this thread: http://forums.slimdevices.com/showthread.php?t=83307 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] iTunes Update
I have had this problem for months. It seems that there is a partial solution in another thread. Check out: http://forums.slimdevices.com/showthread.php?t=83307 -- slope_rabbit slope_rabbit's Profile: http://forums.slimdevices.com/member.php?userid=32922 View this thread: http://forums.slimdevices.com/showthread.php?t=83467 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Solution: TrackStat data to iTunes export on Mac OS
Thanks so much for doing all this work. I have been irked by the lack of iTunes/Trackstat integration ever since I got a new mac with Snow Leopard and became unable to install/use AppleScript::Glue. I downloaded your zip file, but it only contains the binary and no Readme or source files. When I run your script, it doesn't handle the date format that is created by TrackStat plugin (or for that matter, James Craig's iTunes plugin). Here is an excerpt of the format of both files from today: nas-96-85-77:/c/media/Music/Playlists# grep Tchintchirote TrackStat_iTunes_Hist.txt iTunes_Hist.txt TrackStat_iTunes_Hist.txt:Tchintchirote|||/media/Music/iTunes/iTunes Media/Music/Cesaria Evora/Cabo Verde/01 Tchintchirote.m4a|played|20101211084250|60 iTunes_Hist.txt:Tchintchirote|Cesaria Evora|Cabo Verde|/media/Music/iTunes/iTunes Media/Music/Cesaria Evora/Cabo Verde/01 Tchintchirote.m4a|played|20101211084633| The date format in both files is mmdd. Although I haven't been able to read your source, it appears that the application expects ddmm since it complains every time there is a number greater than 12 is in the last position. Additionally, it added songs played December 2nd to iTunes as played February 12th. Is there a setting or something else quite obvious that I am missing? If so, I am happy to admit stupidity and fix it. Thanks for your time. Version: 7.6.0 - r31605 @ Thu Dec 9 02:04:30 PST 2010 Hostname: nas-96-85-77 IP: 192.168.2.4 HTTP Port: 9000 OS: Netgear RAIDiator - EN - utf8 Platform: sparc-linux Perl Version: 5.8.8 - sparc-linux Database Version: DBD::SQLite 1.30_06 (sqlite 3.7.2) Total Players Recognized: 1 -- slope_rabbit slope_rabbit's Profile: http://forums.slimdevices.com/member.php?userid=32922 View this thread: http://forums.slimdevices.com/showthread.php?t=83307 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Question about iTunesUpdate and ReadyNas
James, Thanks for the clarification. Based on your suggestion, I checked out the Readme file. I unchecked Direct Update. When I attempted to run the perl script manually on my mac, it had some errors. Do you have any suggestion on how to fix the script so that it can run? :~/Downloads/iTunesUpdate$ ./iTunesUpdate.pl /Volumes/media/Music/Playlists/iTunes_Hist.txt : command not foundline 18: ./iTunesUpdate.pl: line 19: use: command not found : command not foundline 19: ./iTunesUpdate.pl: line 20: syntax error near unexpected token `(' '/iTunesUpdate.pl: line 20: `use POSIX qw(strftime); Thanks. -- slope_rabbit slope_rabbit's Profile: http://forums.slimdevices.com/member.php?userid=32922 View this thread: http://forums.slimdevices.com/showthread.php?t=68130 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Question about iTunesUpdate and ReadyNas
Thanks for the response. I realized that the perl script doesn't have a path to perl in it. It executed on the command line when run as suggested. It also works to add #!/usr/bin/perl as the first line of the script - this is standard for unix like OSs. It ran with just one song in the file, but didn't seem to work because it did not find the right path to the files. The files are in /Volumes/media and it told iTunes to look in /media. $ perl ./iTunesUpdate.pl /Volumes/media/Music/Playlists/iTunes_Hist.txt ==logTrackToiTunes() Searching iTunes for R.E.M. Star Me Kitten Attempting to make connection to iTunes... -- script -- tell application iTunes Version end tell -- result -- 9.0 -- done -- result: 9.0 Connection established to iTunes: 9.0 -- script -- tell application iTunes search library playlist 1 for R.E.M. Star Me Kitten end tell -- result -- {file track id 18246 of library playlist id 16346 of source id 48 of application iTunes} -- done -- result: [ file track id 18246 of library playlist id 16346 of source id 48 ] -- script -- tell application iTunes location of (file track id 18246 of library playlist id 16346 of source id 48) end tell -- result -- missing value -- done -- result: missing value Checking for: /media/Music/iTunes/iTunes Music/R.E.M_/Automatic For The People/09 Star Me Kitten.mp3 False Match: missing value Track not found in iTunes -- slope_rabbit slope_rabbit's Profile: http://forums.slimdevices.com/member.php?userid=32922 View this thread: http://forums.slimdevices.com/showthread.php?t=68130 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
[SlimDevices: Plugins] Question about iTunesUpdate and ReadyNas
I had been running SC with iTunesUpdate successfully on my mac for a number of months, but decided to move my music to a nas and run SC from the nas. I have been able to successfully stream from the nas to my Boom and to iTunes on my mac. iTunesUpdate does not appear to be communicating with iTunes. It correctly shows the song playing, but has no additional data. However, it seems unable to update recent play counts to iTunes. The logged messages on the nas are confusing. [09-09-20 20:49:01.9673] Plugins::iTunesUpdate::Plugin::_openiTunes (1731) iTunes not supported on platform [09-09-20 20:49:01.9745] Plugins::iTunesUpdate::Plugin::_getTrackDetailsFromiTunes (1469) Track: file:///media/Music/iTunes/iTunes%20Music/Compilations/Once%20More%20With%20Feeling/05%20Standing%20In%20the%20Way.mp3 not found in iTunes Which iTunes file does the plugin need access to? I have tried moving both the iTunes Library and iTunes Music Library.xml to the nas, but iTunes prefers to recreate them in ~/Music/iTunes and I haven't found a work around to this. I am running iTunes 9, SC 7.3.3 - 27044, and iTunesUpdate 2.7.0. I would appreciate any suggestions. -- slope_rabbit slope_rabbit's Profile: http://forums.slimdevices.com/member.php?userid=32922 View this thread: http://forums.slimdevices.com/showthread.php?t=68130 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins