IPB

Welcome Guest ( Log In | Register )

> Web sources framework, Using different sites as tagging soures
Florian
post Jan 18 2005, 15:14
Post #1


Developer


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



Hello!

The latest Development Build of Mp3tag features a web sources framework which allows tagging via almost any website which offers album information. Please note, that this part is still in beta stage.

To import tags from a website, a web source description file is needed, which contains general information about the source as well as parser scripts which are responsible for parsing the right data out of the WWW sites.

I've written the web source description file discogs.src as an example how to use this framework and hopefully some of you will pick up the idea and write a source description file for e.g. Amazon or a Lyrics site.

Please have a look at this brand-new help topic for documentation of the web source description file format and please don't hesitate to ask, if you have any questions!

Hope you'll like it and use it, because it was a lot of work to implement this! smile.gif

Best regards,
~ Florian

This post has been edited by dano: Aug 4 2009, 13:51


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

Go to the top of the page
 
+Quote Post
2 Pages V   1 2 >  
Start new topic
Replies (1 - 14)
Florian
post Jan 18 2005, 17:44
Post #2


Developer


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



The new feature is available via the toolbar drop-down menu on the freedb toolbar icon. Please have a look at the screenshot smile.gif

Best regards,
~ Florian
Attached thumbnail(s)
Attached Image
 


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

Go to the top of the page
 
+Quote Post
Florian
post Jan 30 2005, 12:35
Post #3


Developer


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



Please let me know, if you've developed a custom web source description file smile.gif

Best regards,
~ Florian


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

Go to the top of the page
 
+Quote Post
Florian
post Feb 7 2005, 20:34
Post #4


Developer


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



I've just created the Web Sources Archive with a brand-new AMG web source (which was contributed by an user of Mp3tag).

Enjoy smile.gif


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

Go to the top of the page
 
+Quote Post
vitamin
post Feb 9 2005, 01:32
Post #5


Member


Group: Full Members
Posts: 92
Joined: 29-April 02
Member No.: 85



Hi,

I just tested the new feature and I am impressed one more time tongue.gif. Seems like all three web sources are working well.

There are some things that catched my eye on this feature:

- When non-standard tags are shown (like "style" in the allmusic dialog) it would be nice to be able to choose whether to use/tag them ore not
Now that I think about it - maybe this would be nice for the FreeDB dialog as well in case you already have tags and only want to modify certain tags (with checkboxes in the columns or something).
If this doesn't fit into the gui for usability reasons you could still add an option like "never use non-standard tags" to the preferences.
Hmm - I think there was some reson why existing tags are deleted before tagging from freedb but can't think of it right now?! Modifying the .src files doesn't seem too easy on first sight... ph34r.gif

-I like the feature to safe the album art as files since I like this better then to tag it to the music file (I didn't try Sebastians amazon tool yet). In the safe dialog it would be nice to be able to use variables like "%_directory%". Of course other variables like %album% would only work on the second go if no tags are initially present.

-As I have mentioned a while ago I would like to have a feature like "always write leading zeros for the track tag" in the preferences to safe one step in the tag editing. This came to my attention again when AMG didn't write leading zeros.
For some reason the freedb uses leading zeros when the track number tag had leading zeros before, the web sources seem always to use no leading zeros.

-maybe the "freedb" menu item should be renamed to "web sources" or something. biggrin.gif

Thanks again for another nice feature! smile.gif

best regards,
Vitamin

This post has been edited by vitamin: Feb 9 2005, 01:34


--------------------
user posted image
Go to the top of the page
 
+Quote Post
Dagon
post Feb 18 2005, 15:02
Post #6


Member


Group: Members
Posts: 1
Joined: 18-February 05
Member No.: 1568
Mp3tag Version: 228c



Hi all,
only a question, can i use amazing "web sources" thought a proxy?

regard
Antonio
Go to the top of the page
 
+Quote Post
Florian
post Mar 2 2005, 14:40
Post #7


Developer


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



QUOTE (Dagon @ Feb 18 2005, 03:02 PM)
Hi all,
only a question, can i use amazing "web sources" thought a proxy?

regard
Antonio
*

Antonio,

I'll add proxy support to the next release! I simply forgot it smile.gif

Best regards,
~ Florian


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

Go to the top of the page
 
+Quote Post
BLKMGK
post Apr 15 2006, 15:54
Post #8


Member


Group: Full Members
Posts: 12
Joined: 9-April 06
Member No.: 2990
Mp3tag Version: 2.35m



Would it be possible to search multiple sites or a list of sites in a serial fashion in case one site had no data?

FWIW- I've been using this feature EXTENSIVELY sorting out 400Gig of music and adding album art for nearly all of it. With all of the sources now listed there's VERY few albums I cannot get art for. This makes your program head and shoulders over any other IMO. Few programs make tracking this information down this easy or have so many sources. A VERY big thanks!

This post has been edited by BLKMGK: Apr 15 2006, 15:54
Go to the top of the page
 
+Quote Post
Underthebridge
post Sep 7 2006, 20:47
Post #9


Member


Group: Members
Posts: 4
Joined: 21-August 06
Member No.: 3586
Mp3tag Version: 2.36a



BLKMGK that is basically the same feature I am hoping for, which is the ability to parse different html index pages.
This may be accomplished, for example, by adding some command to change [IndexUrl] (and then of course refreshing the html page)

The advantages i see are this:
- Allows joining of multiple site search results
- Solves the problem if the album list page can't be obtained in a single search link
- Allows album list display method to be manipulated before it is actually displayed (like i can arrange the albums by date on the site first)
- Many other possibilites

oh how i badly desire this laugh.gif
Go to the top of the page
 
+Quote Post
eric00000007
post Sep 3 2007, 08:11
Post #10


Member


Group: Full Members
Posts: 11
Joined: 2-September 07
Member No.: 5547
Mp3tag Version: 2.39



Wish list
- Allows joining of multiple site search results
- Solves the problem if the album list page can't be obtained in a single search link
- Allows album list display method to be manipulated before it is actually displayed (like i can arrange the albums by date on the site first)
- urlencoding function for search entry
- regex for search entry
- better documentation for src framework (tags names, functions, examples, ...)
- proxy support
- multiple cover art update or add

Thanks for this great tool

This post has been edited by eric00000007: Sep 3 2007, 08:13
Go to the top of the page
 
+Quote Post
chrisjj
post Oct 6 2007, 14:03
Post #11


Member


Group: Full Members
Posts: 1407
Joined: 25-October 05
Member No.: 2273
Mp3tag Version: -



> - better documentation for src framework (tags names, functions, examples, ...)

Seconded. E.g. "Web Sources Framework" should say how/where to install a description file.

BLKMGK, you say

> I've been using this feature EXTENSIVELY sorting out 400Gig of
> music and adding album art for nearly all of it.

Can I ask: did you do this one album at a time? E.g. for each album, you import/select just its tracks?

Or is there a way to do albums in bulk?

This post has been edited by chrisjj: Apr 3 2010, 18:24
Go to the top of the page
 
+Quote Post
pone
post Aug 31 2010, 16:22
Post #12


Member


Group: Full Members
Posts: 1688
Joined: 15-March 09
From: Germany
Member No.: 9103
Mp3tag Version: 2.59b



just a little question:
is there a name for the program language used for the web source scripts?
maybe i can use my acquired knowlegde for a job application, but i need to know the name.
Go to the top of the page
 
+Quote Post
Victor Kostas
post Apr 6 2011, 22:46
Post #13


Member


Group: Full Members
Posts: 50
Joined: 2-March 08
From: Belgium
Member No.: 6578
Mp3tag Version: 2.57



Hi Florian,

I think it is a good idea to introduce some king of INCLUDE <filename>.<include extension> command so certain code can be reused in Web Source files (.src).

I have mention this idea in Web Source Framework Discussion topic.
E.g. add following block to a separate file.
CODE
# Album
outputto "Album"
findline "class=\"profile"
findline "href=\"/artist"
regexpreplace "^.+</a>" "</a>"
findinline "</a>"
findinline " - "
sayuntil "</h1>"

INCLUDE this file in .src file. Changing included file would affect all related .src files.

Thank you,
Victor
Go to the top of the page
 
+Quote Post
chrisjj
post May 22 2011, 19:54
Post #14


Member


Group: Full Members
Posts: 1407
Joined: 25-October 05
Member No.: 2273
Mp3tag Version: -



QUOTE (Victor Kostas @ Apr 6 2011, 22:46) *
I think it is a good idea to introduce some king of INCLUDE <filename>.<include extension> command so certain code can be reused in Web Source files (.src).
Export configs too.
Go to the top of the page
 
+Quote Post
simple
post Oct 29 2011, 15:23
Post #15


Member


Group: Members
Posts: 1
Joined: 29-October 11
Member No.: 15500
Mp3tag Version: 2.49



Hi,
Is it possible to assign multiple value to a multivalue field using the Web sources Framework?
Let's take the Genre Field an an Example: If I manually set the the genre of a track to genre1\\genre2, both genres are saves as individual values and can e.g. be used for grouping in players that support multivalue fields. But I wasn't able to achieve the same effect using the Web sources Framework. outputto "Genre" say "genre1\\genre2" just writes the backslashes to a single genre field (even If I use 4 backslashes because they are Escape Characters). It there another solution?
Thanks for your Reply,
Simon

This post has been edited by simple: Oct 29 2011, 15:24
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
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: 23rd August 2014 - 00:35