Re: [SlimDevices: Plugins] Solution: TrackStat data to iTunes export on Mac OS

2014-06-21 Thread waldo

waldo wrote: 
 Not sure anybody will look at this thread.
 I downloaded the script but when I run it, a message tells it is
 corrupted.
 Anybody could provide a fresh copy of this script?
 Regards

I'll answer myself.
The script cannot be run from Finder with a double-click.
Instead, open Terminal and run osascript /Path to
appleScript/TrackStat-iTunes-Data-Export.app



waldo's Profile: http://forums.slimdevices.com/member.php?userid=19888
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] Solution: TrackStat data to iTunes export on Mac OS

2014-06-12 Thread waldo

Not sure anybody will look at this thread.
I downloaded the script but when I run it, a message tells it is
corrupted.
Anybody could provide a fresh copy of this script?
Regards



waldo's Profile: http://forums.slimdevices.com/member.php?userid=19888
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] Solution: TrackStat data to iTunes export on Mac OS

2011-10-19 Thread prabbit

I figured out a workaround to my problem, but I think it's an issue with
how TrackStat_iTunes_Complete.txt (and TrackStat_iTunes_Hist.txt) is
written.

I did change my Date  Time back to Germany, then I looked more closely
at the text files written by TrackStat. 

When I was opening the files on my Windows system (using TextPad), I
was getting an error saying that there was an unreadable character used
and not compatible with Character Set 1251 (I think that was the
character referenced). TextPad converted the character by removing it,
so nothing looked amiss to me. However, when I opened the same file on
my Mac, the Mac didn't complain about the character set, but there
definitely was a strange character used throughout it.

You'll notice that my file names contain a rather unique character: ¬.
This is by design (and something I picked up from this forum years
ago). 

2008 ¬ 1-1 ¬ Offshore.mp3

When I open the TrackStat text files on my Mac, my files look one of
two ways (I've seen both, and think it could be related to which system
I use to view the files):

2008 Ŭ 1-1 Ŭ Offshore.mp3
(Å before the ¬) 

or 

2008 ¨¬ 1-1 ¨¬ Offshore.mp3
(umlaut before the ¬)

By searching for and replacing these characters (which is safe for me
because I don't have any instance of Å and the umlauts I do have in my
file names are always above another character and never alone), I was
able to save the file and run it successfully to update my iTunes
library.

Erland, if you read this, do you have any thoughts on the issue, since
it is TrackStat that is writing the file in the first place?


-- 
prabbit

prabbit's Profile: http://forums.slimdevices.com/member.php?userid=11142
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] Solution: TrackStat data to iTunes export on Mac OS

2011-10-13 Thread prabbit

I am having the same issues as both slope_rabbit (no relation =)) and
netchord. Using your tip to netchord, I was able to modify the script
so that I can choose the TrackStat_iTunes_Complete.txt file. Yes, it
was grayed out and unable before I modified the script.

The more pressing issue, actually, is the date and time issue that
slope_rabbit had. The first thing I tried was changing my Date  Time
to Germany, but that didn't help so I set the Date  Time back to
United States. The second thing I tried was using the debugger tool
provided on 2010-12-13 12:08. When I run that I get this message  (I
had to type it and this is exactly how it appears, except I removed
line breaks):

There has been an error:
Failed conversion of ''20110406100221 using format ''%Y%m%d%H%M%S
date: illegal time format
usage: date [-jnu][-d dst][-r seconds][-t west][-v
[+|-]val[ymwdHMS]]...[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]]
[+format]

A couple things to note:
1. I assume some developer other than you was responsible for the
message. I specifically used '' (two apostrophe) characters instead of
 (quotation marks) because that is what appears in the error message.
I presume it's benign, but wanted to mention it.
2. Notice how the format was %Y%m%d%H%M%S (using an uppercase %Y), but
the usage seems to indicate that it should be lowercase. I'm not a
script writer, so I'm not certain it's a mistake. Just mentioning it.


Finally, this is the entry (the first one) in my
TrackStat_iTunes_Complete.txt file:

Offshore|||/Volumes/MediaFiles/mp3_only/flac/Chicane/The Best of
Chicane 1996-2008/2008 ¬ 1-1 ¬
Offshore.mp3|played|20110406100221|51|1|1316128156

Any insight or thoughts? Is there anything you need from me?


-- 
prabbit

prabbit's Profile: http://forums.slimdevices.com/member.php?userid=11142
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] Solution: TrackStat data to iTunes export on Mac OS

2011-10-08 Thread -tm-

The app is an AppleScript indeed. If you right-click it and choose Show
package contents you can look at the source in main.scpt. 

When asking for the trackstat history file the script starts in your
iTunes Playlist folder per default. Only txt files are allowed. This
might be the reason all your files are grayed out. Trackstat writes
history file in format txt.

If you want to change this behavior simply remove of type {TXT} in
the script from line:
set fileRef to (choose file with prompt Select TrackStat history
file you want to apply: of type {TXT} default location (pathRef as
alias))


-- 
-tm-

-tm-'s Profile: http://forums.slimdevices.com/member.php?userid=37094
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] Solution: TrackStat data to iTunes export on Mac OS

2011-08-18 Thread netchord

when i run this app i get a window that asks you select a trackstat
history file to export.  all the choices (there's probably 100) are
grayed out and cannot be selected.  any thoughts on why this might be
the case?


-- 
netchord

--
4 TB Drobo--FW 800--mac mini--Ethernet
Transporter-- Wireworld Eclipse 6 coax--Meridian G61
G61-- Nordost Red Dawn--Primare 30.3
Primare--Ocos--Vienna Acoustics Beethoven/Maestro

netchord's Profile: http://forums.slimdevices.com/member.php?userid=21002
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] Solution: TrackStat data to iTunes export on Mac OS

2011-08-13 Thread wurz

Thanks very much for this. I've unleashed it on my mac and so far no
issues!


-- 
wurz

wurz's Profile: http://forums.slimdevices.com/member.php?userid=5438
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] Solution: TrackStat data to iTunes export on Mac OS

2011-01-22 Thread slope_rabbit

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] Solution: TrackStat data to iTunes export on Mac OS

2010-12-13 Thread -tm-

Two possible reasons for the error message you're seeing:
1) the manually created TrackStat history file has the wrong format
2) there is a general problem with date conversion in the app on
machines with a different localization than German language

I have attached a small utility to diagnose the source of error: Just
load the TrackStat history file and examine the output generated as
text file. Please report back with it.


+---+
|Filename: debug-TrackStatRatingExport.zip  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=10968|
+---+

-- 
-tm-

-tm-'s Profile: http://forums.slimdevices.com/member.php?userid=37094
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] Solution: TrackStat data to iTunes export on Mac OS

2010-12-11 Thread slope_rabbit

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