IPB

Welcome Guest ( Log In | Register )

3 Pages V   1 2 3 >  
Reply to this topicStart new topic
> [WS] Last.fm, web sources script
dano
post Nov 9 2007, 10:50
Post #1


Moderator


Group: Moderators
Posts: 5650
Joined: 4-September 03
From: Germany
Member No.: 201
Mp3tag Version: 2.78b



Mp3tag v2.38 or higher required

How do I install the script? / Wie installiere ich das Script?


4 Scripts:
* Import Artist picture as cover (small)
* Import Artist picture as cover (big)
* Use first artist top tag as genre
* Use first 3 (or more) artist top tags as genre


This post has been edited by dano: Jan 27 2009, 16:43
Attached File(s)
Attached File  lastfm.zip ( 2.58K ) Number of downloads: 5174
 


--------------------
Go to the top of the page
 
+Quote Post
SquallLeonhart38
post Nov 10 2007, 11:53
Post #2


Member


Group: Full Members
Posts: 151
Joined: 29-March 06
Member No.: 2944
Mp3tag Version: 2.40c



Thanks for this script.
Now it's much easier to get proper artist-images. smile.gif


--------------------
Go to the top of the page
 
+Quote Post
Carboni
post Jan 26 2008, 11:46
Post #3


Member


Group: Members
Posts: 1
Joined: 26-January 08
Member No.: 6363
Mp3tag Version: 2.39k



Thanks for this script.

I still got a question. Is it possible to import not only the first but maybe the top 6 tags in a field called "tags". Maybe with a count of 30 as the condition for the script. The genre should be seperated by ";" or ",".

I don't like the idea of only having one genre per artist and I don't have any idea how to write more than one genre in the "tags" field

thanks
Go to the top of the page
 
+Quote Post
pandaking
post Feb 27 2008, 01:16
Post #4


Member


Group: Full Members
Posts: 14
Joined: 27-October 07
From: Brighton, UK
Member No.: 5831
Mp3tag Version: v2.43



So I am trying to use this script, but all it does it bring up a box for me to "Adjust Tag Information" - in which all the fields are blank.

Am I doing something wrong? tongue.gif
Go to the top of the page
 
+Quote Post
pandaking
post Feb 27 2008, 01:39
Post #5


Member


Group: Full Members
Posts: 14
Joined: 27-October 07
From: Brighton, UK
Member No.: 5831
Mp3tag Version: v2.43



OK, so I am using a different artist and I can kind of see how it works now.

My only problem now is - it's finding an image of the band, but if I click "OK" (with the "Save Image To Tag" option enabled), it saves it as the "Cover Image" not the "Band Image".

I can see this because I use a shell extension called "MP3-Info".

Any ideas?

This post has been edited by pandaking: Feb 27 2008, 01:41
Go to the top of the page
 
+Quote Post
Florian
post Feb 29 2008, 22:03
Post #6


Developer


Group: Admin
Posts: 7863
Joined: 12-December 01
From: Germany, Dresden
Member No.: 203
Mp3tag Version: 2.82



QUOTE (pandaking @ Feb 27 2008, 01:39) *
Any ideas?
This can't be changed at the moment but it's on my internal wish list.


--------------------
♫ If you like using Mp3tag please donate to support further development.

Go to the top of the page
 
+Quote Post
locutus
post Mar 8 2008, 13:53
Post #7


Member


Group: Full Members
Posts: 5
Joined: 6-March 08
Member No.: 6611
Mp3tag Version: 2.40



Is it possible to write the results of this script with leading upper cases, like it is in the dropdown field? Otherwise there are different forms of the same genre, like:

Rnb --> R&B
jazz --> Jazz

... and so on.
Go to the top of the page
 
+Quote Post
LosMintos
post Jan 27 2009, 13:39
Post #8


Member


Group: Full Members
Posts: 85
Joined: 23-September 08
Member No.: 7617
Mp3tag Version: 2.51



QUOTE (dano @ Nov 9 2007, 10:50) *
* use first top tag as genre.

Hey, this is really nice!

Nevertheless, I have some suggestions/wishes. Is it possible to search for Genre-Tags based on %album% not on %artist%. I guess this makes more sense. Furthermore, I would like to opt for the top three tags. They should be added as genre-Tags, e.g. genre=Tag1, genre=Tag2, genre=Tag3.

Not mention rewrite rules (capitalization) --- one could do that afterwards by appropriate actions.

I looked at the code and I guess one has to edit http://ws.audioscrobbler.com/1.0/artist/%s/toptags.xml. Would You like to post the XML here? Maybe someone (or even me) can understand and adapt. Or maybe even You feel like coding something unsure.gif ?

Regards
LosMintos
Go to the top of the page
 
+Quote Post
dano
post Jan 27 2009, 16:56
Post #9


Moderator


Group: Moderators
Posts: 5650
Joined: 4-September 03
From: Germany
Member No.: 201
Mp3tag Version: 2.78b



I added a script with 3 genres, you can also easily adjust the script to use more genres.
Added some auto-capitalization.

I'm not sure if album tags are better. They also contain lots of useless tags, i.e. "albums i own" or are not so much used as artist tags.
Besides these tags are not available with the old api.
And in the new api, an authentication is required for these tags which is not possible with this simple framework.


--------------------
Go to the top of the page
 
+Quote Post
LosMintos
post Feb 11 2009, 10:14
Post #10


Member


Group: Full Members
Posts: 85
Joined: 23-September 08
Member No.: 7617
Mp3tag Version: 2.51



QUOTE (dano @ Jan 27 2009, 16:56) *
I added a script with 3 genres, you can also easily adjust the script to use more genres.
Added some auto-capitalization.
Thank You! I'm not sure about changing, the script adds three Tags (correct, as wanted), but where is that defined book.gif ??

At least I could change the separation paramter from `, ' to `\\' (escaped as `\\\'). Now the three Top-Tags result in three Genre-Tags (not only one Tag with a comma separated list of three Genres).

QUOTE (dano @ Jan 27 2009, 16:56) *
I'm not sure if album tags are better. They also contain lots of useless tags, i.e. "albums i own" or are not so much used as artist tags.
Besides these tags are not available with the old api.
And in the new api, an authentication is required for these tags which is not possible with this simple framework.
Okay, I didn't know that.

Thank You for scripting! smile.gif
Go to the top of the page
 
+Quote Post
Windjammer
post Aug 29 2009, 20:43
Post #11


Member


Group: Full Members
Posts: 77
Joined: 22-April 05
From: Barcelona, ESP
Member No.: 1756
Mp3tag Version: 2.56



Dano,

Thanks for your all your scrips, they are time savers like nothing else...

I cannot, for my life, get the 6 Top tags that I want by changing in your script. Where do I need to write the 4 (=6 Tags, right?)

I don't understand what you mean with - while "<tag" 1 # Change second parameter to determine the amount of style tags 1=3 Genres, 2=4 Genres,...

Changing any of the Bold 1's changes the Tag, like it picks another Tag. Changing any of the second 1's does nothing for me...

findinline "</tag>" 1 1
if "<tag"
do
say ", "
findinline "<name>"
sayuntil "</name>"

findinline "</tag>" 1 1
Go to the top of the page
 
+Quote Post
dano
post Aug 29 2009, 21:39
Post #12


Moderator


Group: Moderators
Posts: 5650
Joined: 4-September 03
From: Germany
Member No.: 201
Mp3tag Version: 2.78b



You must only change the parameter of while:
while "<tag" 1
to
while "<tag" 4
laugh.gif


--------------------
Go to the top of the page
 
+Quote Post
Windjammer
post Sep 6 2009, 20:00
Post #13


Member


Group: Full Members
Posts: 77
Joined: 22-April 05
From: Barcelona, ESP
Member No.: 1756
Mp3tag Version: 2.56



QUOTE (dano @ Aug 29 2009, 22:39) *
You must only change the parameter of while:
while "<tag" 1
to
while "<tag" 4
laugh.gif


rolleyes.gif My God, I'm sorry... Thank you.
Go to the top of the page
 
+Quote Post
pandaking
post Oct 16 2009, 01:27
Post #14


Member


Group: Full Members
Posts: 14
Joined: 27-October 07
From: Brighton, UK
Member No.: 5831
Mp3tag Version: v2.43



QUOTE (pandaking @ Feb 27 2008, 01:39) *
OK, so I am using a different artist and I can kind of see how it works now.

My only problem now is - it's finding an image of the band, but if I click "OK" (with the "Save Image To Tag" option enabled), it saves it as the "Cover Image" not the "Band Image".

I can see this because I use a shell extension called "MP3-Info".

Any ideas?

QUOTE (Florian @ Feb 29 2008, 22:03) *
This can't be changed at the moment but it's on my internal wish list.


Any news on this? Would be so awesome! tongue.gif
Go to the top of the page
 
+Quote Post
Florian
post Oct 23 2009, 20:05
Post #15


Developer


Group: Admin
Posts: 7863
Joined: 12-December 01
From: Germany, Dresden
Member No.: 203
Mp3tag Version: 2.82



QUOTE (pandaking @ Oct 16 2009, 02:27) *
Any news on this? Would be so awesome! tongue.gif

Yes, you can change the cover type via the context menu before saving the cover to the tag.


--------------------
♫ If you like using Mp3tag please donate to support further development.

Go to the top of the page
 
+Quote Post

3 Pages V   1 2 3 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th May 2017 - 21:34