This image is the top of the content box. Unfortunately, there is no information-based reason for this div to be here. It's just here for design reasons. Sorry.
Go Back   MisticRiver :: For iriver Enthusiasts > All things Rockbox > ROCKbox Forums
Home Forums Register FAQ Search Today's Posts Mark Forums Read


Welcome to the misticriver forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old October 8th, 2006, 02:38 AM
Hoping For A Cool Title
 
Join Date: Aug 2005
Posts: 73
Last.FM/AudioScrobbler - LogScrobbler

Since there is last.fm support for rockbox that lets you capture all the tracks you listen to while on the go, and sync them to last.fm when you get to your PC. I wrote this app, to allow easy syncing with last.fm (for Windows XP)

<<Requires .NET 2.0 >>

Here is LogScrobbler 0.14


CHANGES:
Fixed a bug that wasn't a bug

0.14 (REV 57)
x Fixed some bugs with settings path.
+ Added "Fix zero time stamps" as a one-time use button, or permanent setting(this option should help those who have players that do not time stamp the played tracks(no internal clock) this adds up the length of all the checked items, then subtracts the total from the current time and fits all the tracks up to the current time. (hope that make sense ).
o widened the form as its starting to get crowded.

0.13(REV 56)
Don't Ask.

0.12c
x fixed bug - if items are unchecked do not include them in the time shift.
+ added row colors, and unselected turn gray.

0.12
o Settings file LogScrobbler.txt should now be in app directory(not C: Let me know if this blows up)
+ Added Save password checkbox(I will encrypt soon I swear)
+ Added checkbox to display Avatar or not(Runs faster off, but funner on)


0.11 (REV 45)
(Skipped 0.10 felt wierd about that number for a version )
+ Added last.fm avatar image, and made it clickable to take you to your page.
o Changed filter for file browse to allow for .scrobbler*.*log (for someone that said their file is .scrobbler-timeless.log) (not sure this fixes all your issues)
(Sorry not a lot of useful stuff in this one)


0.9 (REV 40)
+ Display track length as time format xxx rather than total seconds in track selection listview.
+ Added setting to exit LogScrobbler instead of minimize to tray.
+ Added Close button in "Show my last posts to Last.fm" dialog.

0.8 (REV 39)
+ Added Save Settings button, (used to have to hit Go, but couldn't if there is no log file yet)
+ Added similar Last.FM skins and save the setting when switched.(doesnt affect the about screen, don't think anyone will care)


0.7
+ Added ability to see last 10 items posted to last.fm, in another little window(double click to go to the artist page)
+ Added ability to shift the time of the tracks from the log forward to after the last track posted to Last.fm
+ Added link to your last.fm in systray menu
X minor bug fixes.


0.6
x I think this fixes some issue with safely removing usb device.
+ added setting for exit after processing complete
+ added progress bar.
+ added this file

0.5
+ added selectable list to sync
x fixed small bugs


0.1 - 0.4
Don't remember all the items - started this file at 0.6
+ added about window
+ Delete file after processing option
+ Save settings

Let me know if you have any suggestions or feedback.
Tim G.

Last edited by kernelsandirs : November 5th, 2006 at 11:58 PM. Reason: changed versions
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old October 13th, 2006, 01:24 AM
Hoping For A Cool Title
 
Join Date: Aug 2005
Posts: 73
Here is LogScrobbler 0.7

It has a couple cool features
+ Added a popup that shows your latest posts to Last.FM
+ Added a "Shift Time" feature (this allows you to shift the time on the tracks in your log file before submitting to Last.FM, in case you don't sync before you listen to some tracks on your PC, it automatically looks up the last post to Last.fm and shifts your "Played At" times just past the last track posted, so you don't get the error about submitting tracks earlier than previously submitted tracks)

Tim G.
__________________
Kernelsandirs' Last.fm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old October 19th, 2006, 05:26 AM
Hoping For A Cool Title
 
Join Date: Apr 2006
Location: Warwickshire, UK
Posts: 59
This patch has now been incorporated into the main Rockbox CVS version.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old October 19th, 2006, 10:10 AM
Hoping For A Cool Title
 
Join Date: Aug 2005
Posts: 73
awesome, I don't have to re-compile every time I want to try the new CVS!!!
__________________
Kernelsandirs' Last.fm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old October 19th, 2006, 11:41 AM
Hoping For A Cool Title
 
Join Date: Aug 2005
Posts: 73
Here is LogScrobbler 0.8

Forgot to post this here when I released it a few days ago

+ Added Last.FM like skins, (and it saves your choice)
+ Added save settings button,(used to have to hit go, but could not if no log file existed)
__________________
Kernelsandirs' Last.fm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old October 19th, 2006, 11:18 PM
Newbie Floating Down The Mistic River
 
Join Date: Mar 2006
Posts: 2
Could you please add command line options to LogScrobbler? Nothing fancy really, just send all tracks in the specified log file to the server.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old October 24th, 2006, 07:07 AM
Hoping For A Cool Title
 
Join Date: Oct 2005
Location: Gent, Belgium
Posts: 89
questions:
- if it sends them to last.fm, aren't you supposed to see them in your recently played list on last.fm? I can't see them.
- the 'show my last posts' is always empty - maybe a hint to the above question?
- Can you add an option to make [x] really close the app and not go into the tray?
- commandline operation would be great
- name and password stored in plain text in c:\ --> URGH! why not store it in the same folder as the exe and at least try to encrypt it a bit....

And yes, I see the list of played tracks in the list before I hit GO
And yes, my DAP and PC clocks are set OK

thanks,
Peter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old October 24th, 2006, 07:57 AM
Emerging Corporeal Entity
 
Join Date: Sep 2005
Location: Perth, Western Australia
Posts: 851
Send a message via AIM to iwantanimac Send a message via MSN to iwantanimac
Great Job! Loving this functionality!
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old October 24th, 2006, 03:10 PM
Hoping For A Cool Title
 
Join Date: Aug 2005
Posts: 73
Quote:
Originally Posted by Pétur View Post
questions:
- if it sends them to last.fm, aren't you supposed to see them in your recently played list on last.fm? I can't see them.
- the 'show my last posts' is always empty - maybe a hint to the above question?
- Can you add an option to make [x] really close the app and not go into the tray?
- commandline operation would be great
- name and password stored in plain text in c:\ --> URGH! why not store it in the same folder as the exe and at least try to encrypt it a bit....

And yes, I see the list of played tracks in the list before I hit GO
And yes, my DAP and PC clocks are set OK

thanks,
Peter
as for not showing up or maybe syncing are you getting an error?
please see this post about the "Nothing to sync or unable to connect to last.fm" error

Command line option may be coming soon, I am very new to programming C# so even though the app works great for most, I can certainly see room for improvement, and I am learning a ton while writing this app. I think the same holds true for the password and file location, they will be there soon, I just have to fix them as I get em' I am also going to fix the UTF-8 encoding issues.

Hopefully the app is at least good enough for now to useful for most.

Also for anyone that wants the source code for this app, it is available on my google code page Here

the dll for my app came from Harry Caul(I think that is his name) I had to make a couple tweaks to it so I'll post those changes later
but if you just use the dll as is in my zip it should work fine when you compile it.
__________________
Kernelsandirs' Last.fm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old October 24th, 2006, 03:18 PM
Hoping For A Cool Title
 
Join Date: Oct 2005
Location: Gent, Belgium
Posts: 89
Quote:
Originally Posted by kernelsandirs View Post
as for not showing up or maybe syncing are you getting an error?
please see this post about the "Nothing to sync or unable to connect to last.fm" error
The trouble is, I don't get any error, it just fills the progressbar and then pops up the small messagebox saying complete (or something like that)

Quote:
Originally Posted by kernelsandirs View Post
Command line option may be coming soon, I am very new to programming C# so even though the app works great for most, I can certainly see room for improvement, and I am learning a ton while writing this app. I think the same holds true for the password and file location, they will be there soon, I just have to fix them as I get em' I am also going to fix the UTF-8 encoding issues.

Hopefully the app is at least good enough for now to useful for most.

Also for anyone that wants the source code for this app, it is available on my google code page Here

the dll for my app came from Harry Caul(I think that is his name) I had to make a couple tweaks to it so I'll post those changes later
but if you just use the dll as is in my zip it should work fine when you compile it.
well if UTF8 gets fixed and I can get it to actually sync, and find an easy way to exit it, it will be usefull

I'm patient... I don't do C#, just C/C++ (though it shouldn't be that hard) and have absolutely no time to look at more code - I even neglect RockBox code way too much

good luck!
__________________
http://www.rockbox.org/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old October 25th, 2006, 12:35 AM
Hoping For A Cool Title
 
Join Date: Aug 2005
Posts: 73
LogScrobbler 0.9

Here is LogScrobbler 0.9

some small changes.(didn't get to code as much as I thought I get to tonight)

+ Display track length as time format min:sec rather than total seconds in track selection listview.
+ Added setting to exit LogScrobbler instead of minimize to tray.
+ Added Close button in "Show my last posts to Last.fm" dialog.



Had some scope creep and since I don't truly know how to set version numbers when coding a project I'll just keep going like 0.10, 0.11... till I thinks its 1.0

TODO(or so I want to do, and don't hold me accountable)
"Select Tracks" button open AND closes listbox(instead of little x button)
add track as separate column in "show last played"
display as local timezone
maybe hide settings, or make separate form?
systray ico change on detect log.
disable Time Shift button if not able to shift
add profile image
add command line opt
move settings to LS folder
encrypt password
Lets clean this whole thing up(getting pretty ugly as far as GUI's go)
__________________
Kernelsandirs' Last.fm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old October 25th, 2006, 01:09 AM
Moderating by the seat of my pants :)
 
Join Date: Aug 2004
Location: Korea
Posts: 8,893
Always worth consulting the wiki

http://en.wikipedia.org/wiki/Version_number

a
__________________

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old October 25th, 2006, 01:33 AM
Hoping For A Cool Title
 
Join Date: Oct 2005
Location: Gent, Belgium
Posts: 89
Quote:
Originally Posted by kernelsandirs View Post
Had some scope creep and since I don't truly know how to set version numbers when coding a project I'll just keep going like 0.10, 0.11... till I thinks its 1.0
Yep, seems like the way to go.

Thanks for the close option.

Still puzzled by the uploading. It says sync complete but I can't see them on the last.fm page, and the 'Show my last posts' list is always empty. Any idea / debug version / ....

Maybe I should have a look at the code
__________________
http://www.rockbox.org/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old October 25th, 2006, 01:55 AM
Hoping For A Cool Title
 
Join Date: Aug 2005
Posts: 73
Quote:
Originally Posted by Pétur View Post
Still puzzled by the uploading. It says sync complete but I can't see them on the last.fm page, and the 'Show my last posts' list is always empty. Any idea / debug version
very strange, I don't think I have seen anyone not be able to sync at all, (except those with IE proxy settings) especially if if appears to process sucessfully, unfortunately the dll I am using; I am not able to find any good messages for errors and such, I may need to write my own.

I know I still have an issue with UTF-8, do you log files have strange characters in them? Even when I have weird chars though I am still able to sync, just shows up weird on last.fm.

do you have a copy of a .scrobbler.log that is not working that I can see?
__________________
Kernelsandirs' Last.fm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old October 25th, 2006, 04:15 AM
Hoping For A Cool Title
 
Join Date: Oct 2005
Location: Gent, Belgium
Posts: 89
No funny characters...

attached is sample scrobbler log (renamed to fit attachment board rules)
Attached Files
File Type: txt scrobblerlog.txt (3.2 KB, 137 views)
__________________
http://www.rockbox.org/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old October 26th, 2006, 01:06 AM
Hoping For A Cool Title
 
Join Date: Oct 2005
Location: Gent, Belgium
Posts: 89
AAAARGH... me stupid

it's working alright, once you learn to enter your password correctly
Sorry for the trouble!


Peter
__________________
http://www.rockbox.org/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old October 26th, 2006, 08:55 AM
Emerging Corporeal Entity
 
Join Date: Sep 2005
Location: Perth, Western Australia
Posts: 851
Send a message via AIM to iwantanimac Send a message via MSN to iwantanimac
Quote:
Originally Posted by kernelsandirs View Post
Also for anyone that wants the source code for this app, it is available on my google code page Here
Awesome. I'm gonna check that out later. This app is great. Brillaint job, kernel.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old October 27th, 2006, 01:16 AM
Hoping For A Cool Title
 
Join Date: Aug 2005
Posts: 73
Yeah I wish there was a way for me to get a proper bad password error from the dll I am using, I may take a look at that next and make some better errors all around.
__________________
Kernelsandirs' Last.fm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old October 27th, 2006, 08:26 AM
Newbie Floating Down The Mistic River
 
Join Date: Sep 2004
Posts: 50
hi,
i have some problems with this tool, my h140 always makes a file called .scrobbler-timeless.log
and if i start uploading the renamed file, .scrobbler.log, last.fm will recognize only 1 file. the first file of the log..
and it says on last.fm:
Some tracks you submitted have not been added to your profile for the following reason:
Submissions from before the date you registered are not allowed.

hmm.. can anybody help me?

bye
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old October 29th, 2006, 01:09 AM
Hoping For A Cool Title
 
Join Date: Aug 2005
Posts: 73
Here is LogScrobbler 0.11 (Skipped 0.10 felt weird)

Created a setup.exe version also if anyone likes a nice setup that creates a start menu item and all that jazz

Added Avatar image from last.fm
Changed browse filter to allow for benschi's .scrobbler-timeless.log name

OK the image from last.fm may not be in everyone's list of things they wanted but I am learning things while playing around with this stuff so I thought it was cool( I can put in a setting so remove it or just actually remove it later) (if you type in random names and hit "Save Settings" it will show thier image just be sure to set it back to yours before hitting go)

benschi: do you have a copy of your file you can post, I don't think my changing the filter will help your issue of the error but you shouldn't have to rename the file now. have you tried clicking the "Time Shift" button before submitting?

anyway have fun
__________________
Kernelsandirs' Last.fm

Last edited by kernelsandirs : October 29th, 2006 at 01:39 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #21 (permalink)  
Old October 29th, 2006, 05:42 AM
obo obo is offline
Newbie Floating Down The Mistic River
 
Join Date: Jun 2006
Posts: 8
The .scrobbler-timeless.log files are produced on targets that don't have RTCs. The timestamp entry is always recorded as 0. The perl script gets around this by counting backwards, and guesstimating the playtime from the track length.
<