HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: marc2k3 on 2022-09-27 09:36:29

Title: [fb2k v2] Playlist Fix
Post by: marc2k3 on 2022-09-27 09:36:29
Aims to replace dead playlist items like foo_playlist_revive but is based purely on title formatting which you can customise yourself.

https://marc2k3.github.io/component/playlist-fix/

Currently beta if anyone dares to try it.

edit: I forgot to mark it internally as a Beta so Beta.2 fixes that.
Title: Re: [fb2k v2] Playlist Fix
Post by: grimes on 2022-09-27 09:44:21
Thank you
Title: Re: [fb2k v2] Playlist Fix
Post by: ZarkBit on 2022-09-27 12:06:26
I was just looking for something like this an hour ago ^^

Thank you!

Edit: So far working great, any plans on allowing us to make presets? Some files got revived with the default formats while others only through %filename%.

Very useful plugin since I've been changing everything I have from Flac/mp3 to Opus, thank you once again.
Title: Re: [fb2k v2] Playlist Fix
Post by: marc2k3 on 2022-09-27 19:41:38
while others only through %filename%.

You'll want to be careful with loose matches. The component won't care how many matching items there are in your library and will use the first one it encounters.

(https://i.imgur.com/F9NqG5f.png)

I offered full custom title formatting because the onus is always on the user and not me.  ;D
Title: Re: [fb2k v2] Playlist Fix
Post by: marc2k3 on 2022-09-27 21:37:44
Updated version posted. Now you can check playlists and preview the replacements without making changes.

https://marc2k3.github.io/component/playlist-fix/

https://github.com/marc2k3/foo_playlist_fix/releases
Title: Re: [fb2k v2] Playlist Fix
Post by: marc2k3 on 2022-09-27 22:46:52
And another release. Internal changes only - fixes bit of schoolboy error I made. Shouldn't be terminal, just less than ideal.

https://github.com/marc2k3/foo_playlist_fix/releases
Title: Re: [fb2k v2] Playlist Fix
Post by: grimes on 2022-09-28 05:02:00
Request: Hide the main menu entry "Playlist Fix" ([Shift] + File), because you don't need this command every day.
Title: Re: [fb2k v2] Playlist Fix
Post by: grimes on 2022-09-28 13:46:31
Try to compile Playlist fix. I got error #include <SDK/coreDarkMode.h> not found. Whats wrong?
Title: Re: [fb2k v2] Playlist Fix
Post by: marc2k3 on 2022-09-28 14:27:06
Do a recursive clone to get my copy of the SDK.

Code: [Select]
git clone --recurse https://github.com/marc2k3/foo_playlist_fix
Title: Re: [fb2k v2] Playlist Fix
Post by: grimes on 2022-09-28 14:45:39
Ohh, your own SDK. :D

Seems to work now.
Title: Re: [fb2k v2] Playlist Fix
Post by: ZarkBit on 2022-09-28 18:31:26
while others only through %filename%.
...snip...

Yes, I figured that could be a problem, still, so far has been working quite well. Thank you once again.
Title: Re: [fb2k v2] Playlist Fix
Post by: marc2k3 on 2022-09-29 03:56:47
any plans on allowing us to make presets?

New version has a main Preferences page with the ability to save presets

https://github.com/marc2k3/foo_playlist_fix/releases
Title: Re: [fb2k v2] Playlist Fix
Post by: Terence on 2022-10-01 21:25:10
Hello, thank you for your component. I just tried it, it worked well.
An idea for improvement:
In the preview window, the length of my file paths make checking not very easy for me. The file name is at the end on the right and it is hidden because the path is too long. And the window is not resizable. I saw that I can resize the columns.
I thought it would be easier if the new path was on a second line (with an indentation, or a symbol at the beginning, or colors, to make the difference).
Or allow to send the results to a new playlist. That would allow you to check yourself outside the preview window. Or just make the window resizable? I don't know.
Title: Re: [fb2k v2] Playlist Fix
Post by: marc2k3 on 2022-10-01 22:18:10
It's now resizeable...

https://github.com/marc2k3/foo_playlist_fix/releases
Title: Re: [fb2k v2] Playlist Fix
Post by: Terence on 2022-10-01 23:34:18
The resizable window works well. It's good, I can easily see the paths now.
Thanks a lot.
Title: Re: [fb2k v2] Playlist Fix
Post by: marc2k3 on 2022-10-02 07:51:58
1.1.2 fixes a bug where the report dialog list control had an ugly white border in Dark Mode.

https://github.com/marc2k3/foo_playlist_fix/releases
Title: Re: [fb2k v2] Playlist Fix
Post by: marc2k3 on 2022-10-04 04:08:34
1.1.3

https://github.com/marc2k3/foo_playlist_fix/releases
Title: Re: [fb2k v2] Playlist Fix
Post by: KthugS on 2022-10-04 18:00:17
Oh My God
This is a really great gift for me.
I am always grateful to many developers.
And especially the ones you made are really useful for me using foobar2000.
Thank you very much.
Title: Re: [fb2k v2] Playlist Fix
Post by: marc2k3 on 2022-12-30 13:54:03
1.1.5 fixes a bit of my stupidity. No real changes.  :))

https://github.com/marc2k3/foo_playlist_fix/releases
Title: Re: [fb2k v2] Playlist Fix
Post by: grimes on 2023-05-18 08:03:40
Where can I get this component? Want to upload it to www.foobar2000.org/components. Thanks.
Title: Re: [fb2k v2] Playlist Fix
Post by: ASopH on 2023-05-18 08:47:09
hi, here you are  :))
Title: Re: [fb2k v2] Playlist Fix
Post by: grimes on 2023-05-18 11:50:59
https://www.foobar2000.org/components/view/foo_playlist_fix
Title: Re: [fb2k v2] Playlist Fix
Post by: airafterstorm on 2023-07-03 13:02:15
Maybe someone managed to make a fork of the source code?
Title: Re: [fb2k v2] Playlist Fix
Post by: regor on 2023-07-03 13:09:39
Don't think so. But it works as is.

On 32 bit, you can use the SMP alternative (see my sig) if there is need for more development.
Title: Re: [fb2k v2] Playlist Fix
Post by: Derwol on 2023-09-06 20:40:19
I'm sorry, but how do you use this component? The documentation is empty.
Title: Re: [fb2k v2] Playlist Fix
Post by: anamorphic on 2023-09-06 22:34:55
^ The internet archive has the original documentation (https://web.archive.org/web/20221206163020/https://marc2k3.github.io/component/playlist-fix/) ...

Preferences > Tools > Playlist Fix - The default matching pattern has worked fine for me but you can change it here if you need to get really specific.

Switch to playlist with dead items > File > Playlist Fix >

'Check active playlist' (this provides a report without changing anything)
'Fix active playlist' (replaces dead items with matching tracks from library)

Title: Re: [fb2k v2] Playlist Fix
Post by: MojoBass on 2023-12-27 09:59:26
Works like a charm!
Big thanks to @marc2k3
Title: Re: [fb2k v2] Playlist Fix
Post by: marc2k3 on 2024-02-15 07:18:51
Documentation has been restored here: https://jscript-panel.github.io/other/
Title: Re: [fb2k v2] Playlist Fix
Post by: Terence on 2024-02-22 20:48:19
Thank you for this component, it is very useful. I've been using it for a while and it has always worked well.
I've just moved some folders, and it allowed me to retrieve two large playlists (2000 and 3000 items) very easily.
Title: Re: [fb2k v2] Playlist Fix
Post by: marc2k3 on 2024-02-22 21:40:05
A positive comment and no bugs reported. Hooray!!!