pinchflat icon indicating copy to clipboard operation
pinchflat copied to clipboard

[FR] Ability to manipulate plot/description

Open Delver26 opened this issue 1 year ago • 1 comments

I'd just like to preface this request with the fact that this app is fantastic. It does all of the things something like ytdl-sub does, but with a lovely UI which makes it so much easier to add/track my shows.

Is your feature request related to a problem? Please describe. My main use case for this is to download channels and watch them on my media center(s). These are a combination of Plex, Jellyfin, and Kodi (using the Jellyfin integration). One issue I see with Plex and Jellyfin native clients in particular is very large plots/descriptions. In the mobile apps they can make it almost impossible to scroll effectively as they take up too much space. Here's an example of an episode shown in the Jellyfin web client on a 1440p desktop screen: image

And here's the same episode on my phone: image

As you can see the massive plot just makes navigation so unwieldy.

Describe the solution you'd like If possible I'd like to be able to define on a per-source or per-profile basis, a regex or some functionality that allows me to extract only part of a plot/description. This way I can control how much description is embedded and make it much easier to navigate the various media players.

In other similar apps I can define this in some ways like: image Which allows me to exclude the description, or image Which splits it at a certain string.

Describe alternatives you've considered Alternatively even just a toggle to not store the plot/description would work.

Again, thanks for the awesome app!

Delver26 avatar Aug 09 '24 16:08 Delver26

Hey there! Thanks for the report. Sorry for the delay, I was camping without cell service for a few days (:

This is an interesting idea. I don't have an immediate solution for you but I'll keep this issue open and look into it once I get some free time!

kieraneglin avatar Aug 13 '24 21:08 kieraneglin

I've looked into this and I don't think there's a good way to implement this in-app, but I found a nice enough workaround!

Essentially, you can follow this guide and add the following to your base-config.txt:

--replace-in-metadata "description" "Brought to you by[\s\S]*" ""

Let me know if that works!

kieraneglin avatar Aug 23 '24 17:08 kieraneglin

I've tested this out locally and it seems to work! Closing this issue for now but please let me know if you see any issues 🤙

kieraneglin avatar Aug 27 '24 17:08 kieraneglin

Sorry I forgot to reply with confirmation! Yeah happy for this to be closed, being able to expose the extra parameters for yt-dlp on a per-souce basis solves the issue for me, thanks 👍

Delver26 avatar Aug 27 '24 17:08 Delver26