jchv / deadbeef-vgmstream

A DeaDBeeF plugin for playing streaming video game music using vgmstream.
Other
6 stars 0 forks source link

Make "loop single" playback order utilize .adx loop points? #1

Open Soukyuu opened 9 years ago

Soukyuu commented 9 years ago

Thanks for making (porting?) this plugin to the deadbeef world. foobar2000's version has an option to loop the .adx files containing a loop point if playback order is set to "repeat", thus allowing seamless looping of a track just as it does in the game.

Would be really nice if you could implement this as well.

jchv commented 9 years ago

Hi. Glad to hear you like it. It was written from scratch, but given that all it does is interface between deadbeef and vgmstream, it was probably easier than porting anyway.

I do not use Linux as my primary platform and so have not touched this in a while. However, I will note that originally I wanted this functionality, too. Unfortunately, I think the only way I can make it work with current Deadbeef would be to have an option that makes the plugin make all loopable files 'endless' - which would work, but would require you to switch an option every time you want to repeat single on files.

I guess my best bet is to check out the activity on Deadbeef and make sure this is the case, so I'm going to do that and see what I find...

jchv commented 9 years ago

I don't think anything has changed on this unfortunately. Guess I will have to implement it by adding an option in the plugin.

Soukyuu commented 9 years ago

Can't you do something like ddb_replaygain_control plugin does to query current playback mode? Just query playback.mode instead of playback.order there.

jchv commented 9 years ago

Yeah, looks like I could do that. Thanks for pointing that out. I'll take a look after work.

Soukyuu commented 8 years ago

Did you ever get to look at this one?

jchv commented 8 years ago

Yes, I actually did look into it, and I found it is impossible to do because length is calculated upon adding music to the playlist, not upon playing it. As far as I know, there's not really a good way of doing this in Deadbeef. It would be possible to just add a loop single option for the plugin that makes all tracks last forever, and that seems like all that can be done. (I haven't yet added anything like that, though.)