IPB

Welcome Guest ( Log In | Register )

foo_tradersfriend, Live Show Tagger
billcow
post Aug 6 2003, 06:36
Post #1





Group: Members
Posts: 141
Joined: 26-February 03
Member No.: 5194



Small suggestion - make it work with files that have 2 digits in the track number in the filename. Right now it only does this when the disc number is present. With etree files I don't think this is an issue, but the Further standard allows two-digit track numbers, and such files don't work.
Go to the top of the page
+Quote Post
 
Start new topic
Replies
guygee
post Apr 1 2006, 07:00
Post #2





Group: Members
Posts: 4
Joined: 1-April 06
Member No.: 29053



foosion - I would like to thank you for your efforts in writing and maintaining this great tool. I have a large number of shows in flac format that I need to archive, and hardly any are tagged. Tags are not only very "nice" for playing flacs in foobar, but can also be helpful in keeping track of show lineage. If I construct my info files to match the specifications, everything has worked fine, with a couple of exceptions. The biggest problem I have had so far is trying to isolate the song title from information that follows. For example, there are many artists (i.e. Bob Dylan, Neil Young) that will play a number of songs with their respective bands, and also play some songs solo, acoustic, or both. If it is mainly an electric show, for example, it is customary to mark the solo or acoustic tracks with parenthesis:
[...]
d1t04. You Ain't Goin' Nowhere
d1t05. Silvio
d1t06. Mr. Tambourine Man (acoustic w-band)
d1t07. Tangled Up In Blue (acoustic w-band)
[...]
also, if a "cover" is performed, it is nice to be able to note the original songwriter in parenthesis:
[...]
d1t08. Baby Let Me Follow You Down (Eric von Schmidt)
d1t09. It's All Over Now, Baby Blue
[...]

In addition, I like to use square brackets to include the timings from shntool LEN output in my infofile, so I can end up with something like this:
[...]
d1t08. Baby Let Me Follow You Down (Eric von Schmidt) [2:56.21]
d1t09. It's All Over Now, Baby Blue [5:53.05]
[...]
I've found that the parenthesis gets included in the song title, and the square brackets seem to prevent the song titles from being correctly read.
I've tried using the ";" delimiter to separate the song title from what follows, but the delimiter gets included in the song title:
[...]
d1t08. Baby Let Me Follow You Down; (Eric von Schmidt) [2:56.21]
d1t09. It's All Over Now, Baby Blue; [5:53.05]
[...]

Am I missing something? Maybe I just haven't tried enough permutations, but is there a delimiter that would work in separating the song title from information that follows (or could one be provided)? Alternately, would it be difficult to have Trader's Friend ignore anything in any kind of parenthesis/bracket after the song title?

Thanks for any help you can provide!

This post has been edited by guygee: Apr 1 2006, 07:20
Go to the top of the page
+Quote Post
foosion
post Apr 2 2006, 14:13
Post #3





Group: FB2K Moderator (Donating)
Posts: 4431
Joined: 24-February 03
Member No.: 5153



On the shows I have here, additional information about a track is stored in text files using footnotes (see below for more information).

I have Information about original songwriters in brackets here, though parentheses shoudn't be a problem unless the name of original songwriter can be confused with a track length (unlikely).

The component currently only detects and removes track lengths in parentheses but not in brackets.
It also removes unenclosed track lengths at the end of the line (a following segue marker is still recognized). A hyphen surrounded by whitespace preceding the track lengths is also removed.
In both cases it stops scanning the title after finding a track length.

There is no delimiter character that makes the component stop reading a title (but see remark about track length above), though it does remove/modify some patterns:
  • Zero or more hyphens followed by a greater-than sign (examples: > -> ------>)
    These are recognized as segue markers and are replaced by a single greater-than sign; spaces are added on either side if necessary.
  • ^ # @ * ! + $ & ~ %
    One or more consecutive occurences of one of these characters are recognized as a footnote marker, if they occur at the end of the title or before a segue marker. For example, + and ++ would be recognized as (different) footnote markers. All of those characters were added to the footnote marker list after I encountered them in existing text files.
    A footnote marker is removed from the title, and the next definition of that footnote is added as a comment on that track. A footnote definition is a line starting with a footnote marker followed by the footnote text. Footnote markers are sometimes re-used in shows with multiple sets, the definition of the footnote for a particular set will be found after the track list of that set.

Examples:
  • um2005-02-25.txt: Features footnotes, freestanding track lengths, ">" segue markers with preceding whitespace
  • sts9_2003-02-18.txt: "->" segue markers without preceding whitespace
  • sts9-2002-07-04.txt: a case where at least I wouldn't want information in parentheses to be removed

Some of the parsing rules may seem obscure, but all of them were inspired by text files found in the wild (i.e. on etree or archive.org for the most part). While the examples above seem rather clean and easy to handle, my original test corpus (provided by ssamadhi97) was much more diversified and... uhm... interesting. tongue.gif
(Historical sidenote: ssamadhi97 is also to blame for infecting me with live shows. Without him, foo_shn and foo_tradersfriend would probably not exist today. Not to forget that he also introduced me to foobar2000 in the first place...)


--------------------
http://foosion.foobar2000.org/ - my components for foobar2000
Go to the top of the page
+Quote Post
guygee
post Apr 3 2006, 15:15
Post #4





Group: Members
Posts: 4
Joined: 1-April 06
Member No.: 29053



Thank you foosion, your reply clarifies my options considerably when I need to write my own info files. I remember when etree started in reaction to widespread mp3 pollution on the internet in parallel with increasing availability of broadband. I admire the results they obtained in creating standards for working their way towards widely circulating "best available sources" for many live shows, but in the wild west-world of bittorrent there seems to be no standards on most lossless sites, and even otherwise fine and generous tapers will fight to the internet-equivalent of death for the "right" to name their folders "MySeed(2)" and other such nonsense (and don't even dare mildly inquire about show lineage on some sites: you will be called ungrateful, branded as a pariah, and be cast out of "polite" bittorrent society blink.gif). Thus I often find that I must reluctantly rename folders and filenames, and create new info files in order to maintain and back up proper digital archives. This process is so time-consuming that I am always in arrears, so that is why I appreciate foo_tradersfriend so much: anything that helps me automate the process is very useful.

If I am correctly following your examples above, then a properly-formatted track timing itself will serve as a delimiter; information before the track timing will be included, and information after the track timing is ignored. I can also make use of footnotes to help solve my problem, with the added benefit of having the footnotes included as comments. Cool.

At risk of sounding "greedy", I would add my voice to those above in requesting that a capability for adding Taper/Source/Lineage info to the tag comments field be included in some future version of foo_tradersfriend. That would make my "foo_tradersfriend experience" complete. biggrin.gif

P.S. I also blame ssamadhi97 for spreading infections, in my case, a completely unnatural interest in detecting the effects of psychoacoustic algorithms and analog artifacts in audio spectral analysis...just where does that guy get off? rolleyes.gif
Go to the top of the page
+Quote Post

Posts in this topic
- billcow   foo_tradersfriend   Aug 6 2003, 06:36
- - foosion   Good to know there's actually somebody who use...   Aug 6 2003, 09:49
- - upNorth   Could you add the option to change where it looks ...   Aug 6 2003, 10:26
- - foosion   QUOTE (upNorth @ Aug 6 2003, 11:26 AM)Could y...   Aug 6 2003, 14:17
- - upNorth   I probably got the use of this plugin wrong. Is it...   Aug 6 2003, 14:28
- - foosion   It is intended for albums/concerts with one text f...   Aug 6 2003, 14:35
- - upNorth   Sorry, don't know what I did before, but it wo...   Aug 6 2003, 14:55
- - ssamadhi97   QUOTE (upNorth @ Aug 6 2003, 03:55 PM)I have ...   Aug 6 2003, 15:03
- - foosion   QUOTE (upNorth @ Aug 6 2003, 03:55 PM)I have ...   Aug 6 2003, 15:05
- - ssamadhi97   QUOTE (ssamadhi97 @ Aug 6 2003, 04:03 PM)That...   Aug 6 2003, 15:12
- - upNorth   Yes I use WinXP. I have a feature request that I ...   Aug 6 2003, 15:25
- - foosion   QUOTE (upNorth @ Aug 6 2003, 04:25 PM)I have ...   Aug 6 2003, 15:37
- - upNorth   QUOTE (foosion @ Aug 6 2003, 04:37 PM)QUOTE (...   Aug 6 2003, 15:55
- - foosion   QUOTE (upNorth @ Aug 6 2003, 04:55 PM)If you ...   Aug 6 2003, 19:18
- - foosion   Important bug fix! Please redownload the plug...   Aug 14 2003, 20:08
- - foosion   foo_tradersfriend 0.4.0 Update for SDK 0.7.1. The...   Oct 12 2003, 02:10
- - ottar   THANKS! This greatly improves my Foobar2000 ex...   Oct 13 2003, 01:03
- - Raymond   This plugin remind me of something. Generally I do...   Oct 13 2003, 04:18
- - foosion   QUOTE (ottar @ Oct 13 2003, 02:03 AM)THANKS...   Oct 13 2003, 09:55
- - foosion   @Raymond: You can also do this with plain masstagg...   Oct 13 2003, 10:07
- - Raymond   QUOTE (foosion @ Oct 13 2003, 01:07 AM)@Raymo...   Oct 13 2003, 12:54
- - anza   oh well, forget that idea   Oct 13 2003, 14:07
- - dev0   <edit>FLAC Fingerprint Writing would be a ni...   Oct 31 2003, 14:41
- - Despite   I noticed this plugin doesn't write tracknumbe...   Nov 1 2003, 00:23
- - foosion   QUOTE (Despite @ Nov 1 2003, 01:23 AM)I notic...   Nov 1 2003, 10:19
- - Despite   Ahh, that works excellently, thank you. Now I...   Nov 1 2003, 17:06
- - foosion   foo_tradersfriend 0.4.2disc and tracknumber guesse...   Nov 12 2003, 18:17
- - ssamadhi97   Can you please process YY-MM-DD as well, maybe eve...   Nov 12 2003, 20:09
- - ssamadhi97   Sneaky.   Nov 12 2003, 21:02
- - antares   @ foosion, I have foobar 7.3 and loaded traders f...   Nov 13 2003, 10:32
- - foosion   QUOTE (antares @ Nov 13 2003, 10:32 AM)I have...   Nov 13 2003, 10:57
|- - cmaz   QUOTE (foosion @ Nov 13 2003, 03:57 AM)QUOTE ...   Mar 2 2005, 22:25
|- - cmaz   QUOTE (cmaz @ Mar 2 2005, 03:25 PM)Any help? ...   Mar 2 2005, 22:39
|- - gergev   Please help with something basic I got the ...   Mar 5 2005, 13:36
|- - gergev   There may be a way to do this within foobar and/or...   Mar 11 2005, 14:34
- - Mindflux   What a nice program, I'm getting the hang of i...   Nov 20 2003, 00:54
- - foosion   QUOTE (Mindflux @ Nov 20 2003, 12:54 AM)Howev...   Nov 20 2003, 10:18
- - Mindflux   QUOTE (foosion @ Nov 20 2003, 01:18 AM)QUOTE ...   Nov 20 2003, 18:36
- - ssamadhi97   QUOTE (Mindflux @ Nov 20 2003, 12:54 AM)What ...   Nov 20 2003, 18:42
- - ssamadhi97   QUOTE (Mindflux @ Nov 20 2003, 06:36 PM)Hmm c...   Nov 20 2003, 18:48
- - foosion   QUOTE As far as playlists go, I don't really ...   Nov 20 2003, 18:54
- - Mindflux   QUOTE (foosion @ Nov 20 2003, 09:54 AM)QUOTE ...   Nov 20 2003, 23:08
- - Mindflux   QUOTE (ssamadhi97 @ Nov 20 2003, 09:48 AM)QUO...   Nov 20 2003, 23:09
- - ssamadhi97   QUOTE (Mindflux @ Nov 20 2003, 11:09 PM)I see...   Nov 21 2003, 01:13
- - foosion   Problem: The plugin does not write date tags to fi...   Nov 27 2003, 16:41
- - brewhead   just wanted to say that the idea for this plugin s...   Sep 22 2004, 00:01
- - tberman333   First of all, let me say that this plugin is great...   Dec 2 2004, 05:57
- - foosion   You can easily do that with a few post-processing ...   Dec 2 2004, 09:48
|- - tberman333   QUOTE (foosion @ Dec 2 2004, 04:48 AM)You can...   Dec 3 2004, 04:20
- - ssamadhi97   *cough* still waiting for a text file picker if mu...   Dec 2 2004, 16:07
|- - AndyL   QUOTE (ssamadhi97 @ Dec 2 2004, 03:07 PM)*cou...   Dec 6 2004, 14:24
- - foosion   foo_tradersfriend 0.6.0 preview This is just to le...   Dec 23 2004, 15:42
- - anza   Looking really great, thanks edit: Well actually...   Dec 23 2004, 16:08
|- - AndyL   QUOTE (anza @ Dec 23 2004, 03:08 PM)On the 14...   Dec 23 2004, 22:25
|- - foosion   QUOTE (anza @ Dec 23 2004, 04:08 PM)edit: Wel...   Dec 25 2004, 16:05
- - anza   I don't know if it's related to the proble...   Dec 26 2004, 16:05
|- - ssamadhi97   QUOTE (anza @ Dec 26 2004, 04:05 PM)I don...   Dec 26 2004, 17:42
|- - anza   QUOTE (ssamadhi97 @ Dec 26 2004, 06:42 PM)QUO...   Dec 26 2004, 18:45
- - tberman333   Is there any way to add custom tags from the text ...   Jan 21 2005, 04:06
|- - wharfrat73   QUOTE (tberman333 @ Jan 20 2005, 11:06 PM)Is ...   Jan 8 2006, 19:32
- - foosion   No, that is currently not supported.   Jan 21 2005, 07:13
|- - tberman333   QUOTE (foosion @ Jan 21 2005, 02:13 AM)No, th...   Jan 21 2005, 17:50
- - foosion   You have to use Masstagger to rename files, I do n...   Mar 11 2005, 15:36
|- - gergev   QUOTE (foosion @ Mar 11 2005, 08:36 AM)You ha...   Mar 14 2005, 23:49
|- - hunted   you could try using %_length_seconds% to format it...   Mar 15 2005, 00:40
|- - gergev   QUOTE (hunted @ Mar 14 2005, 05:40 PM)you cou...   Mar 15 2005, 10:09
|- - gergev   Thanks Anza I will give that a try. Much apprecia...   Mar 15 2005, 11:55
|- - foosion   QUOTE (gergev @ Mar 15 2005, 11:55 AM)I did n...   Mar 15 2005, 12:25
|- - gergev   I'll give .6 a whirl. Thank you everyone for ...   Mar 15 2005, 16:08
- - anza   CODE$div(%_length_seconds%,60)m ...   Mar 15 2005, 11:06
- - GURT   this plugin is great! i just noticed theres a...   Mar 16 2005, 06:27
|- - gergev   0.6 is brilliant. Being able to preview whether th...   Mar 18 2005, 12:49
|- - foosion   QUOTE (gergev @ Mar 18 2005, 12:49 PM)Some tx...   Mar 19 2005, 19:58
- - kpeters59   I can't get this to work at all. I'm not ...   Jun 15 2005, 00:11
- - foosion   Trader's friend does not automatically read in...   Jun 15 2005, 10:45
- - tgoose   +make sure you've tagged the files with trackn...   Jun 15 2005, 11:45
- - foosion   Manually adding tracknumber tags is only necessary...   Jun 15 2005, 12:57
- - Supernaut   foosion, I get a 404 when I try to download the pl...   Aug 7 2005, 19:06
- - foosion   The links should be fixed now. At least the W3C li...   Aug 7 2005, 21:19
- - foo_fighter   This plugin is brilliant. Thanks. Just tried it on...   Nov 2 2005, 23:49
- - foosion   Thanks, you're welcome. File renaming is alre...   Nov 3 2005, 08:33
- - foo_fighter   Okay, I tried it on 20-30 other shows. For the mos...   Nov 3 2005, 22:43
|- - foosion   QUOTE (foo_fighter @ Nov 3 2005, 10:43 PM)I c...   Nov 4 2005, 20:55
- - fluffy   DELETED   Feb 4 2006, 16:49
- - pano   hi there! just gave this plugin a try (this i...   Mar 31 2006, 11:11
|- - The Link   QUOTE (pano @ Mar 31 2006, 11:11 AM)just gave...   Mar 31 2006, 11:22
|- - foosion   I've marked whether a format should work: QUOT...   Mar 31 2006, 11:51
- - pano   thanx, but that's not the problem: the txt is ...   Mar 31 2006, 11:41
- - foo_fighter   Yeah, I've added autotracknumber as a tagging ...   Mar 31 2006, 19:25
- - guygee   foosion - I would like to thank you for your effor...   Apr 1 2006, 07:00
|- - foosion   On the shows I have here, additional information a...   Apr 2 2006, 14:13
|- - guygee   Thank you foosion, your reply clarifies my options...   Apr 3 2006, 15:15
- - cozmic charlie   I have been using the tradersfriend on one of my c...   Jun 5 2006, 21:29
- - foosion   You need to select the tracks from the "[unre...   Jun 5 2006, 22:54
- - Paws   Hi, i dont understand how to use this great soundi...   Nov 8 2006, 09:54
- - jbk_atl   GREAT PLUGIN ....... really saving me some time w...   Apr 19 2008, 16:24
- - hash   http://foosion.foobar2000.org/foo_tradersf....1-20...   May 14 2008, 10:36
- - foosion   Oops. The components page now has the correct link...   May 14 2008, 10:59
- - hash   thanks for quickness   May 15 2008, 03:10
- - BluesDaddy   I have used this plugin before, but for some reaso...   May 24 2008, 20:40
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: 16th September 2014 - 10:36