Forum » General support and Bug reporting

Cross-Platform iPod Plugin

 
  • Thanks

    Seems to work a treat, although I did lose the first batch of songs through (I think) not being connected to the internet when I ran the script.

    A question - is there an output file I can capture? I use my iPod at work, and have iTunes intalled on my desktop PC there. However the PC is not connected to the internet, so I can't download anything to Audioscrobbler through it. Obviously if I sync my iPod through my work PC I will still lose the played tracks. Is there a way of installing this new gizmo and then 'capturing' the information it would have sent to Audioscrobbler so that I can somehow upolad it when I get home? No worries if there isn't; I only sync at work in order to fiddle with playlists, so don't need to do it very often.

    Thanks again for the software.

    • Darrell said...
    • User
    • 22 Mar 2005, 23:41
    Thanks Muti! Been waiting for this for ages! Now if only I can get it to work...
    Reading through the thread, I followed all the steps. It successfully parsed my playcounts but when I get to the part where I enter "Y" to submit the tracks, It always gives me "unknown error submitting". I tried it again and again but it all stops there. What should I do? Please help me....

  • Re: Re:

    Quoth sveskemus:
    iTunes deletes the Play Counts file on syncronization. You should either set iTunes to manual syncronization or disable the iTunes helper program as described earlier in this thread.

    I noticed that the iPod seems to "forget" the Play Counts if you leave it off long enough that it goes into deep sleep (ie you see an Apple logo when turning it back on)

    Want to eat your cake and have it too? Try new Schröedinger's Cake!
    Were you 1979 born?

    • pcc said...
    • User
    • 23 Mar 2005, 04:01
    Awesome plugin Muti. I've been watching this site for months for an ipod/windows solution, thanks!

    Got it working today, but after my last sync i get a message on my audioscrobbler page saying:

    "Your plugin reported a submission error: Submission contains invalid characters - check your tags."

    My tags do contain some funky accented characters, and they definitely didn't look right in the pip console output, but I didn't think much of it (although they look fine on the ipod/itunes/file system). Any thoughts on this?

    Thanks,
    Paul

    • Muti said...
    • User
    • 23 Mar 2005, 04:45

    Re:

    Quoth pcc:
    Awesome plugin Muti. I've been watching this site for months for an ipod/windows solution, thanks!

    Got it working today, but after my last sync i get a message on my audioscrobbler page saying:

    "Your plugin reported a submission error: Submission contains invalid characters - check your tags."

    My tags do contain some funky accented characters, and they definitely didn't look right in the pip console output, but I didn't think much of it (although they look fine on the ipod/itunes/file system). Any thoughts on this?

    Thanks,
    Paul


    I've noticed the same thing with some of my tracks and have basically just ignored the error as I have no idea which tracks of mine cause that error. It'd be helpful if the Audioscrobbler error message displayed the track information that caused the error..

    • pcc said...
    • User
    • 23 Mar 2005, 04:58
    i suspect the track is:

    title: Kèlè Mandi
    album: Bowmboï
    artist: Rokia Traoré

    but i'm not sure either. pm me if you'd like some more info.

    • iPodHOM said...
    • User
    • 23 Mar 2005, 17:37

    Re:

    Quoth hotphil:
    So near, so near! I've got it going to the point where it tries to upload the listing to Audioscrobbler - it asks to upload the listing and I press Y then it says there's an Audioscrobbler error "unknown error" and to try later. Any ideas on what I should check/do?


    eek! i've got this same problem too!!

    seems as though "Darrell is also having the problem!

    Quoth Darrell:
    Thanks Muti! Been waiting for this for ages! Now if only I can get it to work...
    Reading through the thread, I followed all the steps. It successfully parsed my playcounts but when I get to the part where I enter "Y" to submit the tracks, It always gives me "unknown error submitting". I tried it again and again but it all stops there. What should I do? Please help me....


    anyone know whats going on?!
    this is what it looks like when things go bad
    (Error Message)


    on another note...
    when running the script after it says "Successfully parsed iTunesDB/Play Counts", it seems to take quite awhile to move on to the next stange (where it lists the files, and asks if you want to submit), by awhile i mean around 5 minutes, there'd be about 50-60 songs in the list once its done...
    Just wondering if this is normal? does it take round this time for everyone else that uses it?

    (it this of course doesn't sumbit that songs, which is of course what i most want to resolve!)

    Never "Dismantle An Atomic Bomb".... unless theres one around...
    but then make sure you've found out "Hot To" ;-)...
    Edited by iPodHOM on 23 Mar 2005, 17:44
    • hotphil said...
    • User
    • 23 Mar 2005, 17:50
    I am not alone then! Had a thought that Windows firewall may be stopping Audiopod sending anything, turned it off and alas, still the same.

    • Muti said...
    • User
    • 23 Mar 2005, 18:44
    I've committed a version of fetchandsubmit.php that spits out some debug output when it cannot determine the error message (Unknown error). Please grab it from http://projects.afterglo.ws/file/trunk/audioPod/fetchandsubmit.php?rev=110&format=raw and let me know what the debug output displays.

    In regards to the delay after parsing the iTunes, the next step is what is called handshaking. The only reason this would take a long time is if post.audioscrobbler.com is not responding to the handshake request. I am curious if the people who are receiving these "Unknown errors" are behind proxies as this script makes a direct connection over port 80.

    • [Deleted user] said...
    • User
    • 23 Mar 2005, 18:58
    Awesome, yay, etc.

    • hotphil said...
    • User
    • 23 Mar 2005, 19:06
    Giving new php file a go now...

    Still got the error sadly:
    "Submit to Audioscrobbler? [y/n]: y
    Audio Scrobbler Error, retry later: Unknown error submitting tracks"

    Edited by hotphil on 23 Mar 2005, 19:19
    • Muti said...
    • User
    • 23 Mar 2005, 20:38
  • Freekin' Sweet!

    I was concerned that because I sync my iPod manually I would not be able to use this tool, but alas, I set it up to read the DB right off the iPod and manually deleted my playcount file and it indeed worked like a charm! Thank you soooooo much for such a cool little utility. My playcount shall now rise by an order of magnitude (I listen to my iPod a LOT more than my laptop). This tool truly makes Audioscrobbler 20 times more useful to me.

    • makv said...
    • Subscriber
    • 23 Mar 2005, 23:03

    Re:

    Quoth deanchristesen:
    Alright thanks for the help, but unfortunately it still doesn't work. Here are more details on what I've done.

    I've changed the top of fetchandsubmit.php to...

    $GLOBALS['iTunesDir'] = 'G:/iPod_Control/iTunes'; (with backslashes)
    $GLOBALS['asUsername'] = 'deanchristesen';
    $GLOBALS['asPassword'] = 'mypassword';

    And audiopod.cmd now says:

    cd C:/audiopod (the new location of audiopod.cmd)
    php.exe fetchandsubmit.php
    start/b c:/progra~1/itunes/itunes.exe
    exit
    (With backslashes where necessary)

    Thanks for the help.



    So what actually happens when you run it?

    If you just see a window flash up for a moment and then disappear, have you tried running the commands in a command prompt window instead to see what error you're getting?

    Don't look so surprised



    Resident Fall Expert(ah) at
    • Mewzors said...
    • User
    • 24 Mar 2005, 06:09
    http://members.cox.net/blitzddr/protocol.JPG

    There's a picture of the error I get. It succeessfully parses, but then the "Audio Scrobbler error, retry later: Incorrect protocol version" thing pops up. So... any help?

    • iPodHOM said...
    • User
    • 24 Mar 2005, 06:14

    Re:

    Quoth Muti:
    I've committed a version of fetchandsubmit.php that spits out some debug output when it cannot determine the error message (Unknown error). Please grab it from http://projects.afterglo.ws/file/trunk/audioPod/fetchandsubmit.php?rev=110&format=raw and let me know what the debug output displays.

    In regards to the delay after parsing the iTunes, the next step is what is called handshaking. The only reason this would take a long time is if post.audioscrobbler.com is not responding to the handshake request. I am curious if the people who are receiving these "Unknown errors" are behind proxies as this script makes a direct connection over port 80.


    oh cool, i'm just going out, but i'll grab that file and give it a spin later.

    As for connection, i'm not behind a proxie or anything, but i am on a very slow dialup connection (this must be why the handshake is slow?), connection speed is around 30k (3k downloads in otherwords)

    Never "Dismantle An Atomic Bomb".... unless theres one around...
    but then make sure you've found out "Hot To" ;-)...
    • hotphil said...
    • User
    • 24 Mar 2005, 07:59
    Try this revision: http://projects.afterglo.ws/file/trunk/audioPod/fetchandsubmit.php?rev=111&format=raw nofollow=yes

    Cheers for all your continued work on this Muti, but the above link doesn't work for me.

    • Darrell said...
    • User
    • 24 Mar 2005, 10:36
    I downloaded the new revision, but still cannot submit to AS. :(
    Here's what it looks like:


    F:Documents and SettingsDarrellMy DocumentsMy DownloadsiPodaudioPod>php.ex
    e fetchandsubmit.php
    Successfully parsed iTunesDB/Play Counts
    Audioscrobbler handshake completed
    Queueing: Santana & Michelle Branch Shaman [Europe Top 100] The Game Of Love
    (255 secs)
    2005-03-24 01:18:31 UTC (2005-03-24 09:18:31 Chi)
    Queueing: The Bible Wave 180 Graceland
    (209 secs)
    2005-03-24 01:06:51 UTC (2005-03-24 09:06:51 Chi)
    Queueing: Parokya Ni Edgar Bigotilyo [Takbo, Edgar, Tsaka Na Lang
    (270 secs)
    2005-03-24 01:10:20 UTC (2005-03-24 09:10:20 Chi)
    Queueing: irene cara Mixed Emotions anyone can see
    (218 secs)
    2005-03-24 01:03:12 UTC (2005-03-24 09:03:12 Chi)
    Queueing: michael johnson Mixed Emotions i'll always love
    you (221 secs)
    2005-03-24 01:14:51 UTC (2005-03-24 09:14:51 Chi)
    Queueing: karen wyman Mixed Emotions somebody waiting
    (174 secs)
    2005-03-24 01:22:46 UTC (2005-03-24 09:22:46 Chi)
    Queueing: Freestyle All Hits Live in Araneta Ride with Me
    (209 secs)
    2005-03-24 00:59:44 UTC (2005-03-24 08:59:44 Chi)
    Note: If non-ASCII characters look wrong, it is because your terminal does not s
    upport UTF-8
    Submit to Audioscrobbler? [y/n]: y
    Audio Scrobbler Error, retry later: Unknown error submitting tracks
    Debug output:
    HTTP/1.0 200 OK
    Server: Apache-Coyote/1.1
    Content-Type: text/plain;charset=ISO-8859-1
    Date: Thu, 24 Mar 2005 10:29:53 GMT
    X-Cache: MISS from proxy.skyinet.net
    Connection: close

    BADAUTH
    INTERVAL 1


    F:Documents and SettingsDarrellMy DocumentsMy DownloadsiPodaudioPod>pause
    Press any key to continue . . .

    It says BADAUTH? But I made sure my username and password is correct... What should I do, Muti?

  • Re:

    Quoth hotphil:
    Try this revision: http://projects.afterglo.ws/file/trunk/audioPod/fetchandsubmit.php?rev=111&format=raw nofollow=yes

    Cheers for all your continued work on this Muti, but the above link doesn't work for me.


    doesn't work for me either...

    "Don't Eat The Yellow Snow"
    • Muti said...
    • User
    • 24 Mar 2005, 17:38

    Re:

    If you are having problems, please try http://projects.afterglo.ws/file/trunk/audioPod/fetchandsubmit.php?rev=112&format=raw. I've made a few small changes, and I'm betting it probably won't fix some of the issues that have been reported, but it's possible.


    Mewzors: Your issue is very odd as I have no idea why Audioscrobbler would return that error.

    • Darrell said...
    • User
    • 24 Mar 2005, 18:13

    Re: Re:

    Quoth Muti:
    If you are having problems, please try http://projects.afterglo.ws/file/trunk/audioPod/fetchandsubmit.php?rev=112&format=raw. I've made a few small changes, and I'm betting it probably won't fix some of the issues that have been reported, but it's possible.


    Mewzors: Your issue is very odd as I have no idea why Audioscrobbler would return that error.

    Did that, but now I'm getting this:


    F:Documents and SettingsDarrellMy DocumentsMy DownloadsiPodaudioPod>php.ex
    e fetchandsubmit.php
    Successfully parsed iTunesDB/Play Counts
    Audio Scrobbler Error, retry later: Invalid POST URL returned, unable to continu
    e

    F:Documents and SettingsDarrellMy DocumentsMy DownloadsiPodaudioPod>pause
    Press any key to continue . . .

    Please help... I badly need this to work... Thanks! :)

    • Muti said...
    • User
    • 24 Mar 2005, 18:21
    That error would be caused by the AudioScrobbler handshake failing, I just committed a version that outputs some handshake debug information, http://projects.afterglo.ws/file/trunk/audioPod/fetchandsubmit.php?rev=114&format=raw.

    Edit: changed the URL.

    Edited by Muti on 24 Mar 2005, 18:24
    • [Deleted user] said...
    • User
    • 24 Mar 2005, 18:23
    I'm sure there was some sort of app to autorun a program on connnection of iPod, but I can't find it anywhere on ipodlounge.com

    It would be super useful.

    • [Deleted user] said...
    • User
    • 24 Mar 2005, 18:34
    And here's some decent icons:


    • hotphil said...
    • User
    • 24 Mar 2005, 19:32
    Ran the new version and got the "Audio Scrobbler Error, retry later: Invalid POST URL returned, unable to continu
    e" error message, followed by html for a page returned by my firewall. Darn. Issue's at my end :-(
    Audioscrobbler itself has always worked fine, any suggestions on what I need to enable firewall-wise? Please don't say incoming=all etc ;-)

    Edited by hotphil on 24 Mar 2005, 19:34
Anonymous users may not post messages. Please log in or create an account to post in the forums.