Help - Search - Members - Calendar
Full Version: foo_input_cuex
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
billcow
Extended in two ways:

1) Adds a couple extra tags: FULLALBUM (always set to true), NUMTRACKS (how many tracks are in the file) & LASTTRACK. The idea is to make some formatting string techniques possible/easy.

2) If a track has an index #2, it is treated as the end of the song. The idea is that since indexes higher than one are extremely uncommon, so this can be used if a track has silence at the end, or a hidden track (which can then be done as a seperate track using the same file) without playing the silence between the actual song and the hidden song.

In other words, nothing extraordinary, but a tad useful nonetheless.
treech
In other words, you want someone to create this for you ?
billcow
No, in other words, I made this.

I forgot to include the link: It's available for download at http://billcow.cjb.net/foo_input_cuex.dll
treech
haha, well, that's great, see if you can keep the updating pace going with that many updates (of foobar), and thanks for the plugin smile.gif
cRoMo
I wonder if this is a bug or not, but looks strange for sure, so I'll describe it:

When using foo_input_cuex with any cue sheet, Foobar starts to show songs time in very strange way. It doesn't actually show the real song time, but it shows song's begining position in the real mp3 file - so it's (almost) exactly like in the cue sheet. Moreover, the time (only time, not all the songs) is shown descending, for example: 1st song is timed 1:18:46, 2nd 1:15:32 and 3rd 1:09:53, so the last song has the least time. And yes, the song titles are sorted correctly, just like they should be.
When I exit Foobar, remove the plugin and run it again, everything works ok.

Here's small screenshoot, hope that it helps to understand the issue:
user posted image

PS. Foobar 0.7 beta28
billcow
Yeah, that's a bug alright. But I just went and fixed it.

The cause had to do with the way the end of file was handled: if the second index wasn't present it defaulted to the remaining time in the file, measured from the starting index. In the official version, the default (and in fact, only way it did it) was to measure length from the beginning of the current track to the beginning of the next track.

So basically, I added a check for an invalid end point and defaulted to the old behavior in that case.

You can grab the new version from http://billcow.cjb.net/foo_input_cuex.dll and the source from http://billcow.cjb.net/foo_input_cuex_src.zip
cRoMo
OK, it works OK now. Thank You for your fast reply and problem fixing smile.gif
treech
billcow:
how do i use the extra tags ?
i tried to use %NUMTRACKS% (as an example) but that didn't work sad.gif
billcow
hmmm.

There shouldn't be anything too it aside from that. I'd say probably the first thing to do would be to try reloading the database info from the file.

The database probably still has the old info from before you installed my plugin.

EDIT:
I just uploaded a new version - it now uses a less kludgy method for reporting a few things (such as tracks without a defined endpoint - the cause of the previous bug), and fixes a possible bug (although i haven't experienced any side effects from it)

You can grab it from the same place as before.
intoxicated
just a stupid question
do i create my own cue file??
wat do i have to write inside??

tkx....
rolleyes.gif
billcow
Okay, there are two ways to make cue files, both are very similar.

The first way is for when you rip an entire album into one file (for gapless playback, for instance). If you do it with EAC, there's a menu option to generate one automagically with the right data inside. You can also do it manually, which is done just like the second method except with a couple slight differences.

The second way is to do it manually. Create a file that looks like the following:

CODE

TITLE "Album Title"
PERFORMER "Album Artist"
FILE "C:\Path\To\File01.mp3" WAVE
TITLE "Track Name"
PERFORMER "Track Artist"
TRACK 01 AUDIO
INDEX 01 00:00:00
FILE "C:\Path\To\File02.mp3" WAVE
TITLE "Track Name"
PERFORMER "Track Artist"
TRACK 02 AUDIO
INDEX 01 00:00:00

and so on. You can indent lines however you want.

You can also add a line "INDEX 00 min:sec:ms" before the "INDEX 01" line if there is a pre-gap, you can add it before the "FILE ..." line if it's at the end of the last file.

One thing I added is to interpret a line "INDEX 02 ..." as the *end* of that track. Add that after the "INDEX 01" line.

Finally, there can be more than one track from a single file. To do that, just change "INDEX 01 00:00:00" to show the time at which that track starts within the last file mentioned. And of course, leave out the "FILE" line.

Hope that helps. One last thing: you can use any file format that foobar can play. You should even be able to use streams (although I haven't the slightest idea how that would work) or the tone generator.
korovy
2cRoMo:
What vis. plugin do you use for create this nice picture?
foosion
QUOTE(korovy @ Aug 1 2003, 07:11 AM)
2cRoMo:
What vis. plugin do you use for create this nice picture?

Vis plugin? Oh, you seem to be new to foobar2000 (looking at your post count). I think you're refering to the screenshot of cRoMo's playlist. All this can be done in fb with formatting strings. Check out the format strings thread.
cRoMo
QUOTE
Check out the format strings thread.

Or simply go to this site and You'll find everything there, including instructions. My formatting was mostly based on UpNorth's and Anza's formatting, so I think that You'll gonna like those more that mine smile.gif
billcow
Updated for beta29+. Same place.
billcow
New version.

Adds support for custom tags in the 'REM TAGNAME "Value"' format.

Enjoy.
cRoMo
Seems that plugin doesn't work anymore with foo2k 0.8.2 - it doesn't add the "LASTTRACK" tag anymore sad.gif
Tomacco_Boy
Does anyone know where i can download the foo_input_cuex.dll, billcows link is down and i cant seem to fin it anywhere else, any help would be greatly appreciated. smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.