Closed predsfan2 closed 1 year ago
Unfortunately currently there isnt really a good way to do this as there is no indication on if a video is captioned other than the title, and the format of titles can and have changed over time...
If you can think of a robust way to do this that will work for all exclusives without false positives please let me know and Ill happily reopen this and discuss it.
Are you okay with implementing it anyway?
You could add some text to the README/configuration that this is an experimental feature and might not work as intended. Since the title is the only thing that differantiates captioned videos from uncaptioned videos, it would be sufficient to just check if the string contains "uncaptioned" or "captioned" for now, wouldn't it?
I don't think we can make this feature work in any other way, unless Floatplane decides there will be a flag or something at some point.
Would love to hear your feedback.
The issue is the word "captioned" changes on some videos. If you can think of a sufficient check that can cover most videos I can look at implementing it. If I get time I will look into it
Could this work? @Inrixia
I don't know how they handled it in back when this and #179 were created, but looks like they always use Captioned and Uncaptioned on the video attachments.
Even videos with multiple attachments seem to follow that pattern:
I only looked on a few Floatplane Exclusive videos, as those are the ones I'm downloading to put on my Plex, I'm gonna have to do something to get rid of the multiple versions it is downloading...
I had a discussion about this with someone in discord a while back around adding startswith or regex support to the subchannels for more strict matching. Afik there are several videos that don't match that but I think they have landed on a consistent naming scheme now.
For now if you want you can try create a Subchannels that matches videos with "captioned" in the title and set it to skip that may be suficcent anyway. I'm not sure how many videos would unintentionally fall under that category.
Infact thinking of it adding the ability to invert one of a Subchannels matcher would allow for adding a "not starts with 'captioned'" rule to the floatplane channel which would work quite well.
I'll see about implementing support for that and let you know how it goes etc sometime soon
title