As a user I want to be able to take an output from one Torrent RSS feed, and clean the RSS feed so that the title, description, and other properties are more legible.
User submission:
For your question, yes also. If you need, I can provide to give you an example of Plex API and the answer of api, to fit better the code.
The goal as I told you, is to discover for every nre Rss Article, If the movie for example, is still in Plex Library or not.
And to do this, is necessary to:
get the title from an rss article
clean this title, because always there are other tags, like:
Deadpool.and.Wolverine.2024.2160p.MA.WEB-DL.DDP5.1.Atmos.H.265-RANDOMASS – 23.0 GBThe rss title for this article is:
Deadpool.and.Wolverine.2024.2160p.MA.WEB-DL.DDP5.1.Atmos.H.265-RANDOMASSBut is noot much for plex, to search, so we need only:
Deadpool and Wolverine 2024
The name of the movie and the year, sometimes also without the year, so maybe if is possible try with and without is better.
Then we can make the Plex API Request with this title of this movie, with and without the year.
We have the answer from API and in this case, we understand if this movie is still in library or not.
If not, should be useful have another nwe rss feed that your app must created, with the url of the original article, and the original title also, and inside, with a tag in first of the title, like: GET IT, MISS, etc
If the movie is still in the library, your app create always anoter rss feed with the original title of the rss article, and also the url, but in the title, in first, a tag like: You have it, or another tag, to understand that is still in library.
And inside the new rss article, the answer of the api from plex. ( this answer anyway is long, so is better to fit better and delete a lot of information, because only some information are useful)
I hope to be clear, and i’m here for every test and info, to make this great feature!