Skip to main content

Topic: foo_tradersfriend (Read 120985 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • foosion
  • [*][*][*][*][*]
  • Moderator
foo_tradersfriend
Reply #50
Quote
edit: Well actually it worked well only on two of the 16 shows it tried  On the 14 others it recognized every track as track number one.[a href="index.php?act=findpost&pid=261381"][{POST_SNAPBACK}][/a]
Neither foo_tradersfriend nor I have any supernatural powers, so it would be extremely helpful if you gave some more information, so that I can fix the problem. In this case, it would help me a lot, if you could post the name of at least two or three files (or at least one) from each show.
http://foosion.foobar2000.org/ - my components for foobar2000

  • anza
  • [*][*][*][*][*]
foo_tradersfriend
Reply #51
I don't know if it's related to the problem, but the two shows that worked were encoded with shorten, while the others were flacs.

Show #1 (works)
  • FNM19900513dntNN.shn
  • n is either 1 or 2 (two disc show), NN goes from 01 to 11 on both discs
  • example: FNM19900513d2t08.shn
Show #2 (works)
  • nirvana.1990.08.17.TNN.shn
  • example: nirvana.1990.08.17.T11.shn
Show #3 (doesn't work)
  • TrackNN.flac
  • example: Track07.flac
  • there's also scheme like this on one show, but it has a space before the number part
Show #4 (doesn't work)
  • Nirvana - 1990-02-09 - NN - %title%.flac
  • example: Nirvana - 1990-02-09 - 04 - Spank Thru.flac
Show #5 (doesn't work)
  • Nirvana - 8-23-91 AUD3 - TrackNN.flac
  • example: Nirvana - 8-23-91 AUD3 - Track04.flac
Show #6 (doesn't work)
  • nirvana1992-01-25NN.flac
  • example: nirvana1992-01-2507.flac
I think that covers most of the filename schemes.

Also, foo_tradersfriend DID show the setlist on all of the shows.

  • ssamadhi97
  • [*][*][*][*][*]
  • Developer (Donating)
foo_tradersfriend
Reply #52
Quote
I don't know if it's related to the problem, but the two shows that worked were encoded with shorten, while the others were flacs.[a href="index.php?act=findpost&pid=261641"][{POST_SNAPBACK}][/a]

File format is completely irrelevant.

To work properly, trfr needs the disc and track numbers of each track. If DISC and TRACKNUMBER fields are not present, it will try to derive the numbers from the file names.

Generally, at this point only naming schemes that are loosely based on the "etree-style" can be interpreted properly.


Guess that'd explain most of your problems.


foosion: maybe a tagz-based guess values from filename-like action as an alternative to trfr's guessing would be viable?

Proper handling of ./Disc1/Track01 and the likes would be excellent too.


Quote
  • nirvana1992-01-25NN.flac

  • example: nirvana1992-01-2507.flac

[a href="index.php?act=findpost&pid=261641"][{POST_SNAPBACK}][/a]

Wow, that's a rather stupid scheme 
A riddle is a short sword attached to the next 2000 years.

  • anza
  • [*][*][*][*][*]
foo_tradersfriend
Reply #53
Quote
Quote
I don't know if it's related to the problem, but the two shows that worked were encoded with shorten, while the others were flacs.[a href="index.php?act=findpost&pid=261641"][{POST_SNAPBACK}][/a]

File format is completely irrelevant.

To work properly, trfr needs the disc and track numbers of each track. If DISC and TRACKNUMBER fields are not present, it will try to derive the numbers from the file names.

Generally, at this point only naming schemes that are loosely based on the "etree-style" can be interpreted properly.

That's what I thought.

Quote
foosion: maybe a tagz-based guess values from filename-like action as an alternative to trfr's guessing would be viable?

I think that's a good idea. Or at least guessing files named like TrackNN.ext properly would be nice

Quote
Quote
  • nirvana1992-01-25NN.flac


  • example: nirvana1992-01-2507.flac

[a href="index.php?act=findpost&pid=261641"][{POST_SNAPBACK}][/a]

Wow, that's a rather stupid scheme 
[a href="index.php?act=findpost&pid=261653"][{POST_SNAPBACK}][/a]

My thoughts exactly

  • tberman333
  • [*][*][*]
foo_tradersfriend
Reply #54
Is there any way to add custom tags from the text file?  I would like to add a tag called Source that prints the source info from the normal etree text file.

Thanks.
GO WHALE!!!

My Website

  • foosion
  • [*][*][*][*][*]
  • Moderator
foo_tradersfriend
Reply #55
No, that is currently not supported.
http://foosion.foobar2000.org/ - my components for foobar2000

  • tberman333
  • [*][*][*]
foo_tradersfriend
Reply #56
Quote
No, that is currently not supported.
[a href="index.php?act=findpost&pid=266990"][{POST_SNAPBACK}][/a]


Any chance of getting it in the next version (which by the way looks pretty cool from the post you made about it a few weeks ago).
GO WHALE!!!

My Website

  • cmaz
  • [*]
foo_tradersfriend
Reply #57
Quote
Quote
I have foobar 7.3 and loaded traders friends into the components folder, but nothing happens! Did I miss something or do I need annother component to run traders friends?

This is a masstagger extension. It adds the masstagger action "Guess values from text file".
[a href="index.php?act=findpost&pid=152971"][{POST_SNAPBACK}][/a]


i have foobar 0.8.3 and loaded traders friend 0.4.4. It shows up in the components list, but i do not get a "Guess values from text file" action when i left click a group of selected files. i do get an option to "Show text file" (and of course the normal masstagger options to "Edit tags" and "move rename or copy files" and a grayed out "copy tags").

Any help?

  • cmaz
  • [*]
foo_tradersfriend
Reply #58
Quote
Any help?


Ok, forget i asked. i found it. Works great (at least from my one use of it so far!).

  • gergev
  • [*]
foo_tradersfriend
Reply #59
Please help with something basic

I got the "guess from text file" to work, but I would like to change both the file name itself and the name as it appears in foobar so they are identical, if possible.

i.e.  if I have the following files:
ph1990-11-04d1t01.mp3
ph1990-11-04d1t02.mp3
etc

is there a way to convert these to
ph1990-11-04d1t01 Carolina.mp3
ph1990-11-04d1t02 AC/DC Bag.mp3

I just want to append the song title to the existing file name, and to have the file name appear the same way when placed in foobar.

It must be a two step process to change both but I can't figure it out and the right syntax to use.

thanks.

edit:
figured it out
this is a great plugin
too bad song titles aren't appended to file names in the first place though.
  • Last Edit: 05 March, 2005, 11:55:24 PM by gergev

  • gergev
  • [*]
foo_tradersfriend
Reply #60
There may be a way to do this within foobar and/or traders friend, but I could not figure it out.

I have several cases where the filenames are not in the correct format to allow tradersfriend read from text file and rename them.  For example,

D1 Track 1
D2 Track 2
etc (where "Track" is spelled out)

I used this program mp3bookhelper to rename file name batches to

D1 t1
D2 t2
etc

I was using mp3tag to batch rename files to append the group's name and date before the disc and track numbers in the file (if only DxTy were present), but I could not get it to "find and replace" text in filenames in situations where track was spelled out as "Track" and not t.  I don't think tradersfriend will work without a group name and date present in the file name, is that correct?

Can tradersfriend also rename files themselves, or is Masstagger required for this extra step?

  • foosion
  • [*][*][*][*][*]
  • Moderator
foo_tradersfriend
Reply #61
You have to use Masstagger to rename files, I do not wish to duplicate this functionality in Trader's Friend. You also have to/can use Masstagger to set disc and tracknumber tags, if Trader's Friend cannot detect those values from the filename.

The latest internal version can directly invoke Masstagger actions; I may upload it soon.
  • Last Edit: 11 March, 2005, 09:37:59 AM by foosion
http://foosion.foobar2000.org/ - my components for foobar2000

  • gergev
  • [*]
foo_tradersfriend
Reply #62
Quote
You have to use Masstagger to rename files, I do not wish to duplicate this functionality in Trader's Friend. You also have to/can use Masstagger to set disc and tracknumber tags, if Trader's Friend cannot detect those values from the filename.

The latest internal version can directly invoke Masstagger actions; I may upload it soon.
[a href="index.php?act=findpost&pid=281247"][{POST_SNAPBACK}][/a]


That sounds great. 

I am just amazed at how well Trader's Friend correctly guesses all the different text files I run across.

I am converting a lot of shn/flac files for my mp3 player and have come across too many txt files with the format

1. song name
2.  "
3.  "

I believe Trader's Friend does not like the period after the track number.  Is there any way to have it ignore this?

Also many txt files put the time of the track in brackets after the song title

1.  song [2:35]
2.  song [3:56]
etc

It would be nice to have an option to ignore anything in brackets after the song title since it doesn't parse well.

I end up deleting a lot of brackets and periods before Trader's Friend can handle those txt files.

I should maybe post this elsewhere, but in masstagger if I want it to append the song length to the filename, is there a way to have the song length appear as
2m 35s,  rather than  2_35  which the %_length%  option creates?

  • hunted
  • [*][*][*][*]
foo_tradersfriend
Reply #63
you could try using %_length_seconds% to format it to your liking.

  • gergev
  • [*]
foo_tradersfriend
Reply #64
Quote
you could try using %_length_seconds% to format it to your liking.
[a href="index.php?act=findpost&pid=282274"][{POST_SNAPBACK}][/a]


Thanks for the reply Hunted.

Could you please help me a little more with this because I'm not familiar with the syntax.

For example if I am trying to create a filename  "songtitle 3m 34s" , what other options besides %_length_seconds% would I have to use to have it output that way?

%_length%  yields the filename in windows as  "songtitle _3_34 ".
I would like to remove both underscores _  , replace them with spaces and append "m" and "s" after the numbers (since windows can't handle 3:34).

%_length_seconds%  makes the same filename output  as "songtitle_214"

  • anza
  • [*][*][*][*][*]
foo_tradersfriend
Reply #65
Code: [Select]
$div(%_length_seconds%,60)m $mod(%_length_seconds%,60)s
should work.

  • gergev
  • [*]
foo_tradersfriend
Reply #66
Thanks Anza I will give that a try.  Much appreciated.


The period after the track number in this example was parsed, no problem.

Disc 1 / Set I                                         01:16:37
01.  Intro/Crowd                                 00:45
02.  Divided Sky                                 16:50
03.  Suzy Greenberg                                   05:52
04.  Taste                               06:50
05.  Fee >                           05:20
06.  Uncle Pen                              04:17
07.  Julius                            09:35
08.  Lawn Boy                                      02:43
09.  The Curtain ->                                  06:08
10.  Stash                                     17:27
11.  Set Break Music                                  00:50


I did not have to edit the txt file at all, so my previous post was wrong unless Trader's Friend needs a leading zero in front of the number.

Since the song duration was not in brackets it was automatically appended to the file name in masstagger with the _ underscore between min and sec.
The _underscore only appears prior to the duration when the filename has something like ->.
  • Last Edit: 15 March, 2005, 05:56:32 AM by gergev

  • foosion
  • [*][*][*][*][*]
  • Moderator
foo_tradersfriend
Reply #67
Quote
I did not have to edit the txt file at all, so my previous post was wrong unless Trader's Friend needs a leading zero in front of the number.[{POST_SNAPBACK}][/a]
Tracknumbers should work without leading zero and with a period after them. The component does however expect a space or tab character between the tracknumber (+ separator) and the title.

I just noticed that my page still lists 0.4 as stable version, while it should be 0.5. The more experimental 0.6 isn't listed there at all; it is quite usable but still lacks some features to be complete. That being said, have you tried viewing your previous, failing text file with 0.6? For your convenience, here is the [a href="http://www.stud.uni-karlsruhe.de/~uzbs/fb2k/foo_tradersfriend/foo_tradersfriend-0.6.0pre.zip]download link[/url] again.

All current versions of Trader's friend only remove the track length from the title, if it is enclosed in parentheses; I'll consider checking for brackets in a future release.
http://foosion.foobar2000.org/ - my components for foobar2000

  • gergev
  • [*]
foo_tradersfriend
Reply #68
I'll give .6 a whirl.

Thank you everyone for your help !

  • GURT
  • [*]
foo_tradersfriend
Reply #69
this plugin is great!

i just noticed theres a newer version [.6]
looking forward to testing that out.
Brian

  • gergev
  • [*]
foo_tradersfriend
Reply #70
0.6 is brilliant.
Being able to preview whether the text file works in advance is a big time saver.  No more having to edit files again to remove all fields before correcting the text file.
Some txt files use # as a footnote in the filename.  Does trader's friend have trouble reading "#"? 
Would there be a way for it to handle
"1.song title" without having a space between the . and the song title?

  • foosion
  • [*][*][*][*][*]
  • Moderator
foo_tradersfriend
Reply #71
Quote
Some txt files use # as a footnote in the filename.  Does trader's friend have trouble reading "#"?[a href="index.php?act=findpost&pid=283258"][{POST_SNAPBACK}][/a]
There should be no problem. Trader's friend currently recognizes the following characters as footnote markers: ^ # @ * ! + $ & ยง ~ %. Footnote markers are only detected at the end of a song title. A track title may contain multiple song titles, if they are separated by a segue marker (>, -> or some variation thereof).

Quote
Would there be a way for it to handle
"1.song title" without having a space between the . and the song title?[a href="index.php?act=findpost&pid=283258"][{POST_SNAPBACK}][/a]
I'll consider that (perhaps for 0.6 preview 2).
http://foosion.foobar2000.org/ - my components for foobar2000

  • kpeters59
  • [*]
foo_tradersfriend
Reply #72
I can't get this to work at all.  I'm not that familiar with foobar at all, but I thought I could stumble through this with the info on the first page.  But nothing ever seems to show up.  Should I see the info in file>properties?  I'm using this text file:
Day By the River
08-28-2004
VENUE Sun Ray Music Festival - Athens, GA

SRC: SBD > PC > wav > shn
Taped By: Jens Brewer
Transferred By: Jens Brewer
Notes:
Jason didn't play this show.  Steve Cunningham and Buck Pryor filled in on guitar.
Disc 1: 78:57
1 Bus (7:02)
2 Japanese Motel (5:26)
3 -> Bathroom Window (2:28)
4 411 (7:58)
5 Move (3:46)
6 > Summer (10:49)
7 Fly (13:47)
8 Naked* (6:08)
9 Puddin' (11:51)
10 Taking Over (9:36)

* With "Take the Money and Run" outtake

And the files are named like this:

dbr2004-08-28t01.flac

I had to edit the .txt file to make the header correct ( I think).

Can anybody help me get a clue?

-kp

  • foosion
  • [*][*][*][*][*]
  • Moderator
foo_tradersfriend
Reply #73
Trader's friend does not automatically read information from text files, you have to tell it to do so, either through the "Guess values from text file" action in masstagger, or (in the latest versions) the stand-alone "Live show tagger" window.
http://foosion.foobar2000.org/ - my components for foobar2000

  • tgoose
  • [*][*][*][*]
foo_tradersfriend
Reply #74
+make sure you've tagged the files with tracknumber before you use it... it took me a while to work that out.