Automatic Cassette Labeller

Discuss mods and get help with mods ONLY
This topic is 17 years and 6 days old. Instead of replying, please begin a new topic, or search for another related topic that may be more suitable.
User avatar
ThatJon
Member
Posts: 32
Joined: January 20th, 2007
Location: United Kingdom
Reputation: 0

Postby ThatJon » Sat Feb 10, 2007 5: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 5:11 am, edited 1 time in total.
User avatar
winniez
Member
Posts: 2544
Joined: September 20th, 2006
Reputation: 11

Postby winniez » Sat Feb 10, 2007 5: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 5:22 am, edited 1 time in total.
User avatar
winniez
Member
Posts: 2544
Joined: September 20th, 2006
Reputation: 11

Postby winniez » Sat Feb 10, 2007 5: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 5:24 am, edited 1 time in total.
Divra
Member
Posts: 486
Joined: September 22nd, 2006
Location: Uppsala, Sweden
Reputation: 0
Contact:

Postby Divra » Sat Feb 10, 2007 5: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)
User avatar
ThatJon
Member
Posts: 32
Joined: January 20th, 2007
Location: United Kingdom
Reputation: 0

Postby ThatJon » Sat Feb 10, 2007 5: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 5:56 am, edited 1 time in total.
User avatar
ThatJon
Member
Posts: 32
Joined: January 20th, 2007
Location: United Kingdom
Reputation: 0

Postby ThatJon » Sat Feb 10, 2007 6: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
winniez
Member
Posts: 2544
Joined: September 20th, 2006
Reputation: 11

Postby winniez » Sat Feb 10, 2007 6: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
lardbloke
Member
Posts: 50
Joined: October 2nd, 2006
Location: Scotland
Reputation: 0

Postby lardbloke » Sat Feb 10, 2007 7: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
winniez
Member
Posts: 2544
Joined: September 20th, 2006
Reputation: 11

Postby winniez » Sat Feb 10, 2007 8: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
jii
Member
Posts: 182
Joined: September 26th, 2006
Reputation: 0

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

Worked for me. Great job, man!
What doesn't kill you, only makes you pissed off.
User avatar
winniez
Member
Posts: 2544
Joined: September 20th, 2006
Reputation: 11

Postby winniez » Sat Feb 10, 2007 12:00 pm

already 14 runnings :)
User avatar
ThatJon
Member
Posts: 32
Joined: January 20th, 2007
Location: United Kingdom
Reputation: 0

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

winniez wrote:already 14 runnings :)

But at least half of those were me testing it :p
User avatar
winniez
Member
Posts: 2544
Joined: September 20th, 2006
Reputation: 11

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

21 different IPs ;)
ernasty10050
Member
Posts: 136
Joined: August 14th, 2006
Location: USA
Reputation: 0
Contact:

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

WOW -- AWESOME MOD! I love the FoF community.
:) been playing FoF since Aug. 11
m0nkiii
Member
Posts: 236
Joined: December 21st, 2006
Location: Sweden
Reputation: 0
Contact:

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

It worked just fine.
Very nice ! Spanks :D

Return to “FOF Mod Discussion and Support”

Who is online

Users browsing this forum: No registered users and 7 guests