Inrixia / Floatplane-Downloader

Project for automatically organizing and downloading Floatplane videos for plex.
https://monitor.spookelton.net/public-dashboards/db0aec66747b4950b01b128916eb737e
GNU Affero General Public License v3.0
157 stars 41 forks source link

[Feature Request] Option to choose to download captioned or uncaptioned videos #181

Closed predsfan2 closed 1 year ago

predsfan2 commented 1 year ago

title

Inrixia commented 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.

inzsome commented 1 year ago

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.

Inrixia commented 1 year ago

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

Karbust commented 9 months ago

Could this work? @Inrixia

image

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: image

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...

Inrixia commented 9 months ago

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.

Inrixia commented 9 months ago

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