HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: RevenantX on 2019-01-14 11:34:09

Title: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: RevenantX on 2019-01-14 11:34:09
Hi! I created open plugin "foo_cuefixer" that removes referenced files on add, enqueue operations.
for example you has SomeAlbum directory:
- somealbum.cue (which has song timings)
- somealbum.flac
if you add this directory to foobar you will get:
- somealbum_song1
- somealbum_song2
- somealbum_song3
- somealbum.flac file
So this plugins remove that uselsess duplicates.
Source code on github (https://github.com/RevenantX/foo_cuefixer)
Release version (https://github.com/RevenantX/foo_cuefixer/releases)

P.S. Dont forget to remove "*.CUE" from preferencess->shell integration->exclude file types
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: TuNk77 on 2019-01-15 01:29:32
Interesting project, thank you.
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: privatesir on 2019-02-08 01:54:50
thank you!
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: veksha on 2019-06-17 12:00:38
Thank you, good man! This plugin has to be included in foobar2000 standard package!
It helps not only with CUE but APL files too.

It's universal and open source.
so cool.
Let's see if it has no bugs. :)

nice job!
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: fuffi on 2019-09-01 01:50:41
Hi! I created open plugin "foo_cuefixer" that removes referenced files on add, enqueue operations.
Nice, thank you.
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: foxX on 2019-11-05 12:40:41
Wow, much appreciated!
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: Azemoth on 2019-11-22 18:06:04
Great component! Thanks for your work :)
This will work with .APE, .WV and .WAV?.

Edit:

I'm using portable mode on foobar2000 and doesn't work. There's duplicate files on my Playlist.
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: lukac on 2020-01-24 22:16:37
Thank you for your effort.
Unfortunately, it doesn't filter CUE for non-existing files in folder, namely CUE pointing to .wav files.

Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: realJFK on 2020-04-02 16:12:16
Thanks for your work RevenantX !

This works like a charm and solved the painful issue I had.
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: RevenantX on 2020-10-19 21:54:03
Hi! There is update for https://github.com/RevenantX/foo_cuefixer/issues/1 this problem.

Also
Thank you for your effort.
Unfortunately, it doesn't filter CUE for non-existing files in folder, namely CUE pointing to .wav files.


I fixed this problem too.

Here is download: https://github.com/RevenantX/foo_cuefixer/releases/tag/1.22
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: RevenantX on 2020-10-19 22:49:47
Great component! Thanks for your work :)
This will work with .APE, .WV and .WAV?.

Edit:

I'm using portable mode on foobar2000 and doesn't work. There's duplicate files on my Playlist.
Your problem fixed too
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: RevenantX on 2020-10-19 23:06:24
Hotfixed: https://github.com/RevenantX/foo_cuefixer/releases (1.24)
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: Azemoth on 2020-10-22 18:17:44
Great component! Thanks for your work :)
This will work with .APE, .WV and .WAV?.

Edit:

I'm using portable mode on foobar2000 and doesn't work. There's duplicate files on my Playlist.
Your problem fixed too

Wow man, You did it! Thanks a lot for this great work and effort on this component.  :D  it works great :)

btw. i forgot my password and don't said thanks before, Thanks again!
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: Rollin on 2021-10-14 22:24:13
foo_cuefixer 1.24 is broken when used on windows 7 - not possible to open any cue at all.
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: marc2k3 on 2021-10-16 12:39:35
I've not made any attempt to figure out why the original didn't work on windows 7. I made my own which may or may not work?? Remove foo_cuefixer first.

edit: link removed.

Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: Rollin on 2021-10-16 13:00:02
I've not made any attempt to figure out why the original didn't work on windows 7. I made my own which may or may not work??
It works. Thanks!
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: marc2k3 on 2021-10-16 13:16:11
The original dev might consider using a function something like this instead of GetFileAttributesW. Added bonus, no wide string conversion required.

Code: [Select]
bool exists(pfc::stringp path)
{
try
{
return filesystem::g_exists(path, fb2k::noAbort);
}
catch (...) {}
return false;
}

I can't think of anything else that would differ across windows versions.
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: vipros on 2022-02-17 20:55:35
Thank you for your effort.
Unfortunately, it doesn't filter CUE for non-existing files in folder, namely CUE pointing to .wav files.


I fixed this problem too.

Here is download: https://github.com/RevenantX/foo_cuefixer/releases/tag/1.22

[/quote]

This seems broken in 1.24. If the filename is x.flac and the string in cue is x.wav, the plugin doesn't recognize it. However, foobar2000 builtin cue parser can parse the cue file correctly.
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: vipros on 2022-02-18 18:12:38
I would be nice to have a logic in the plugin to ignore [same filename].[wav|flac] because many archive files today are compressed in flac. Common cue extract tools will convert flac to wav and then split and then compress back to flac.
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: Gabohar on 2023-01-27 22:08:08
Why this excellent and usefull plugin is not published on the Foobar2000 official components repository page?, sometimes I read in this forum (or Reddit) to users that have problems with CUE files with Foobar2000. It would also be very practical, since this way it could be updated if there is a new version available from the same program with the rest of the components.
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: Porcus on 2023-01-28 11:37:55
Why this excellent and usefull plugin is not published on the Foobar2000 official components repository page?
There could be several explanations - the most common I guess, is if the author hasn't submitted it for inclusion in the list. @RevenantX ?
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: RevenantX on 2023-07-13 17:09:42
Why this excellent and usefull plugin is not published on the Foobar2000 official components repository page?
There could be several explanations - the most common I guess, is if the author hasn't submitted it for inclusion in the list. @RevenantX ?
I don't know where that list. I asked Peter directly on this forums (as somewhere stated how to include into official list) but had no response.
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: Porcus on 2023-07-13 17:22:35
I asked Peter directly on this forums (as somewhere stated how to include into official list) but had no response.

@Peter ... ? Component for consideration.
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: Gabohar on 2023-10-15 00:03:13
Is rare the situation, 'cause new components like OpenLyrics are in the official component list on the Foobar2000 website 😕 and in this way there is more easy to search for updates.
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: RevenantX on 2024-03-02 20:02:52
New version with crash fixes https://github.com/RevenantX/foo_cuefixer/releases/tag/1.31
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: Pabl on 2024-03-13 10:49:11
New version with crash fixes https://github.com/RevenantX/foo_cuefixer/releases/tag/1.31
Thanks for the actual plugin. Please add an option to the advanced settings to disable it temporarily.
Title: Re: foo_cuefixer (works like old foo_cuefilter but open source)
Post by: DClaville on 2024-04-13 09:00:47
Thank you for this so vital component it really makes a difference  :)