Warning: session_start(): open(/tmp/sess_37bl3k6coaft82jkbd8274p3e3, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
Last.Fm Genre Tagger openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans  .- Knowledge Base  . 

Last.Fm Genre Tagger

   0.3.3  

Amarok Script

Score 73%
Last.Fm Genre Tagger
zoom


Link:  http://
Downloads:  1037
Submitted:  Apr 15 2008
Updated:  May 20 2008

Description:

Fetches artist tags from last.fm and uses the most popular as genre id3tag for current playing song

Dependencies
ruby
ruby-taglib
kdialog (kdebase on my distro)

kdialog is not required to run




Changelog:

If anyone has pointers on how to rescan single files in the collection database, I would be glad to hear them.

Known Issues:
Amarok database isn't updated before a collection rescan
Script crashes on wma files (who wants to use those anyway)

0.3.3:
Blacklist is now configurable from the configure menu.
If you don't have kdialog installed then edit the file manually at ~/.kde/share/apps/amarok/script-data/genre-tagger.csv

0.3.2:
Genre information is now capitalized

0.3.1:
Fixed bug which caused script to exit if title contains illegal characters

Fixed bug which didn't allow the script to try fallback data on fail.


0.3.0:
Implemented a very basic blacklist functionality. Must be updated manually in lastfm_genre.rb on line 68

Script now defaults to title search with fallback on album, and artist. default search priority must be set in lines 43 - 48


0.2.0:
Don't crash if connection to last.fm fails

Possibility to select between artist,album and title for tag search. NOTE: No gui option yet. Change it manually on lines 45-47 in lastfm_genre.rb


0.1.1:
Fixed bug caused by spaces in URL




LicenseGPL
Send to a friend
Subscribe
Other  Content  from DivineAnt
Report inappropriate content



goto page: prev   1  2 

-

 Wrong tag

 
 by Nyarlathotep on: May 23 2008
 
Score 50%

Finally got this script to work on OpenSuse 10.3 after installing ruby-taglib and taglib-devel. Problem now is, that it seems to take just any tag from last.fm instead of the most popular one. For instance the band SOiL got the genre "Music that rocks a lot" while the top tag is "metal" (see: http://www.lastfm.de/music/SOiL )


Reply to this

-

 Re: Wrong tag

 
 by Nyarlathotep on: May 23 2008
 
Score 50%

If I may post another case, some bands just get their names as genre. The band Earshot for example. http://www.lastfm.de/music/Earshot


Reply to this

-

 Re: Re: Wrong tag

 
 by oscarlevin on: May 25 2008
 
Score 50%

I too got the incorrect genre when the band's name was the most popular tag. I fixed this by changing the line in the "get_genre(artist,album,title)" procedure to read "if (not blacklisted(current) and current != artist) then" It was just a guess on my part (I know no ruby) but it seems to work.


Reply to this

-

 Re: Wrong tag

 
 by Nyarlathotep on: May 23 2008
 
Score 50%

OK, must have to do with title-tagging. How do I change priority? Lines must have changed since 0.2.0, but I don't know any ruby. Could it be lines 56-58? Please make this configurable or at least comment the code accordingly.


Reply to this

-

 Re: Re: Wrong tag

 
 by DivineAnt on: May 23 2008
 
Score 50%

An earlier request made me default to title tag.
It's only a matter of what order they are in on lines 56-58, ill make it an configurable option later.

and perhaps start commenting my code, hehe. its my first release into "the wild" so commenting is not something im used to put to much effort into.


Reply to this

-

 Re: Re: Re: Wrong ta

 
 by Nyarlathotep on: May 24 2008
 
Score 50%

Thanx for confirming my guess. *g* And many thanks for this cool script.


Reply to this

-
.

 Auto update genre column?

 
 by Ark on: Jun 24 2008
 
Score 50%
ArkArk
elkaos.net
Home

Hey! First of all, GREAT SCRIPT! ^ ^
But I notice than the genre its added to the ID3tag, but not in the amarok database.
The thing its than if I'm go to the song info, the genre it's changed. It show the new genre fetched by the script, but in the genre column in the track list, or in the inteligent track lists by genre....it's the same at before using it.
I'm doing something grong? It's there some trick to update the all the info at once?


Reply to this

-
.

 tagging colection at once?

 
 by cyreald69 on: Sep 23 2008
 
Score 50%

hey there, do you think it's possible to tag not only songs you are playing, but all collection at once? maybe through command-line?
because if i listen to one song from an album, i get it updated but the others are not...
great script though! thanks!


Reply to this

goto page: prev   1  2 

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team