It is currently Thu Sep 02, 2010 1:45 pm

Automatic Cassette Labeller

Discuss mods and get help with mods ONLY

Postby ThatJon » Sat Feb 10, 2007 4:10 am

I have created (with a little help from winniez) a script to automaticly download missing cassette labels and add tape colors.
The python script can be found here - put it in your songs folder, and run it to download the files.
If you don't have python installed, you can use the compiled version here - put the GetLabels folder in your songs directory, and run GetLabels.exe.
You should only need to run this program once to get all the labels; running it multiple times will only waste winniez's bandwidth.
This should help take a lot of the tedium out of the process of downloading labels.
Any feedback/comments?

Oh and btw, I know my code isn't that pretty - this was from a late night coding session, though.
Last edited by ThatJon on Sat Feb 10, 2007 4:11 am, edited 1 time in total.
User avatar
ThatJon
Member
 
Posts: 32
Joined: Sat Jan 20, 2007 1:44 pm
Location: United Kingdom
Karma: 0

Postby winniez » Sat Feb 10, 2007 4:21 am

1. no readme
2. running does nothing

please test before release, I don't want to close my hosting because of bad coding .... :(
Last edited by winniez on Sat Feb 10, 2007 4:22 am, edited 1 time in total.
User avatar
winniez
Member
 
Posts: 2449
Joined: Wed Sep 20, 2006 12:40 pm
Karma: 1

Postby winniez » Sat Feb 10, 2007 4:24 am

how can you check "this label is for this song ?" you have no gui...

title can be typed other way, same for artist... if it's auto, I'm pretty sure it will be horrible for my bandwitch and not efficient at all
Last edited by winniez on Sat Feb 10, 2007 4:24 am, edited 1 time in total.
User avatar
winniez
Member
 
Posts: 2449
Joined: Wed Sep 20, 2006 12:40 pm
Karma: 1

Postby Divra » Sat Feb 10, 2007 4:36 am

It seems to work nice for me, thanks, I really hope it doesn't sink Winniez's site...
Charts (Down as of November 25th)
Divra
Member
 
Posts: 486
Joined: Fri Sep 22, 2006 6:45 am
Location: Uppsala, Sweden
Karma: 0

Postby ThatJon » Sat Feb 10, 2007 4:55 am

winniez wrote:how can you check "this label is for this song ?" you have no gui...

title can be typed other way, same for artist... if it's auto, I'm pretty sure it will be horrible for my bandwitch and not efficient at all

Firstly, the lack of GUI:
I don't currently know how to use any GUI libraries for python. I am currently learning wxWidgets, and I may add a GUI in the future, but this is only the first release. However, if the artist and title are the same, then it is almost 100% likely that the label is the right one for the song.

Secondly, the problem of different titles/artists:
Although I will be adding an aliasing step in future releases, about 90% of the time people will write the artists/titles the same.

As for the worries about bandwidth, the only file downloaded is the parsed list; then labels are only downloaded if they are missing and needed. At the moment, due to the lack of aliasing the script will be using less bandwidth as it will not be downloading all the labels it could be.

Really, this is a beta version; it works, but it could work better. However, while I was making it I did focus on making it consume as little bandwidth as possible, and I think it currently does.
Last edited by ThatJon on Sat Feb 10, 2007 4:56 am, edited 1 time in total.
User avatar
ThatJon
Member
 
Posts: 32
Joined: Sat Jan 20, 2007 1:44 pm
Location: United Kingdom
Karma: 0

Postby ThatJon » Sat Feb 10, 2007 5:05 am

winniez wrote:2. running does nothing

I suspect that the reason it does nothing is probably because you already have all the cassette labels in your collection...
If you're not sure if it's working, try running it from the command line and see if it prints anything.
User avatar
ThatJon
Member
 
Posts: 32
Joined: Sat Jan 20, 2007 1:44 pm
Location: United Kingdom
Karma: 0

Postby winniez » Sat Feb 10, 2007 5:20 am

ThatJon wrote:
winniez wrote:how can you check "this label is for this song ?" you have no gui...

title can be typed other way, same for artist... if it's auto, I'm pretty sure it will be horrible for my bandwitch and not efficient at all

Firstly, the lack of GUI:
I don't currently know how to use any GUI libraries for python. I am currently learning wxWidgets, and I may add a GUI in the future, but this is only the first release. However, if the artist and title are the same, then it is almost 100% likely that the label is the right one for the song.

Secondly, the problem of different titles/artists:
Although I will be adding an aliasing step in future releases, about 90% of the time people will write the artists/titles the same.

As for the worries about bandwidth, the only file downloaded is the parsed list; then labels are only downloaded if they are missing and needed. At the moment, due to the lack of aliasing the script will be using less bandwidth as it will not be downloading all the labels it could be.

Really, this is a beta version; it works, but it could work better. However, while I was making it I did focus on making it consume as little bandwidth as possible, and I think it currently does.

ok :)

I understand ;)

Thx ;)

But I still think the more cool version can be two panels

left one : list of songs without labels
right one : list of available labels

and a way to link them ;)

(with auto-match if you want but a way to change some things) ;)
User avatar
winniez
Member
 
Posts: 2449
Joined: Wed Sep 20, 2006 12:40 pm
Karma: 1

Postby lardbloke » Sat Feb 10, 2007 6:51 am

Top prog my friend, works like a charm (for me anyway).

People are always moaning regarding free things, I dont understand it myself...
User avatar
lardbloke
Member
 
Posts: 50
Joined: Mon Oct 02, 2006 3:22 am
Location: Scotland
Karma: 0

Postby winniez » Sat Feb 10, 2007 7:06 am

lardbloke wrote:Top prog my friend, works like a charm (for me anyway).

People are always moaning regarding free things, I dont understand it myself...

I'm not "moaning", it uses MY server for so I have the right to be anxious and asking questions.

dumb
User avatar
winniez
Member
 
Posts: 2449
Joined: Wed Sep 20, 2006 12:40 pm
Karma: 1

Postby jii » Sat Feb 10, 2007 10:13 am

Worked for me. Great job, man!
What doesn't kill you, only makes you pissed off.
User avatar
jii
Member
 
Posts: 182
Joined: Tue Sep 26, 2006 12:20 am
Karma: 0

Postby winniez » Sat Feb 10, 2007 11:00 am

already 14 runnings :)
User avatar
winniez
Member
 
Posts: 2449
Joined: Wed Sep 20, 2006 12:40 pm
Karma: 1

Postby ThatJon » Sat Feb 10, 2007 2:53 pm

winniez wrote:already 14 runnings :)

But at least half of those were me testing it :p
User avatar
ThatJon
Member
 
Posts: 32
Joined: Sat Jan 20, 2007 1:44 pm
Location: United Kingdom
Karma: 0

Postby winniez » Sat Feb 10, 2007 3:24 pm

21 different IPs ;)
User avatar
winniez
Member
 
Posts: 2449
Joined: Wed Sep 20, 2006 12:40 pm
Karma: 1

Postby ernasty10050 » Sat Feb 10, 2007 5:43 pm

WOW -- AWESOME MOD! I love the FoF community.
:) been playing FoF since Aug. 11
ernasty10050
Member
 
Posts: 136
Joined: Mon Aug 14, 2006 7:42 pm
Location: USA
Karma: 0

Postby m0nkiii » Sat Feb 10, 2007 6:30 pm

It worked just fine.
Very nice ! Spanks :D
m0nkiii
Member
 
Posts: 236
Joined: Thu Dec 21, 2006 5:25 am
Location: Sweden
Karma: 0

Next

Return to FOF Mod Discussion and Support

Who is online

Users browsing this forum: kacpiszon7 and 2 guests