ratingposterdb / rpdb-folders Goto Github PK
View Code? Open in Web Editor NEWMonitors Media Folders and Adds Images with Ratings (poster.jpg / background.jpg) from the RPDB API
License: GNU Lesser General Public License v2.1
Monitors Media Folders and Adds Images with Ratings (poster.jpg / background.jpg) from the RPDB API
License: GNU Lesser General Public License v2.1
The size of the badges and the rating bar should be adjustable as a percentage relative to their full size.
[Feature Request] Command-line options (passing commands to running instance)
Is your feature request related to a problem? Please describe.
Not sure if it's a problem, but it would be nice addition to have a few command-line options.
Especially if they could be "passed" towards an already running instance of rpdb-folders
, since (in my case) I'm running it 24/7 with a systemd service file.
This would also make it possible to make some custom cronjobs for various setups ๐
Describe the solution you'd like
It would be nice to have commands like: (these are just some ideas)
--initiate-full-scan
to trigger a full scan
--initiate-tv-scan
to trigger a scan of the TV media folders added to rpdb-folders
--initiate-movie-scan
to trigger a scan of the Movie media folders added to rpdb-folders
--initiate-full-overwrite-scan
to trigger a full overwrite scan of all added media folders
--initiate-overwrite-tv-scan
to trigger an overwrite scan of the TV media folders added to rpdb-folders
--initiate-overwrite-movie-scan
to trigger an overwrite scan of the Movie media folders added to rpdb-folders
Additional context
I hope it's possible ๐
Hi,
you mention in last update this point:
it's now working with me:
Matched Starstruck (2021) [tvdb-401112] by TVDB ID in folder name
No poster available for Starstruck (2021) [tvdb-401112]
i have used Windows RPDB Folders v0.1.2 .
Hi,
Can we have a Google Form or similar to submit any poster issues like tmdb-314367
for example, since it's returning a blank poster with 200
as the response code rather than 404
, which can be handled properly?
Thanks.
User suggestion for a new feature, this might take some time as backgrounds did not require any editing until now.
[Feature Request] A "Fake 4k" / "Upscaled 4k" badge
[Feature Request] Adding more badges (quality, DoVi, etc)
Is your feature request related to a problem? Please describe.
As of now, there are multiple badges available for certain tiers, which is awesome, and which I personally use for one of my 4K libraries.
But, as some of you might now, a lot of 4K movies are not "real 4k", but rather upscaled 4K.
Describe the solution you'd like
This is in nitpicky territory, but it would be nice to have the addition of a "Fake 4K" or "Upscaled 4K" badge to differentiate between the real 4K blurays and the ones that are "just" upscaled.
Again, this might be a minor thing, as it might not matter that much.
Additional context
Not sure what color it should be. The regular 4K badge is gold/yellow-ish colored, which fits the "proper 4k" category. Not sure what color the fake 4k / upscaled 4k badge should be.
Edit/afterthought: Maybe it should be named "2KDI", as it not as "hostile" sounding as fake.
Currently the frequency is 7 days, and it cannot be changed by users.
[Feature Request] HLG support
Is your feature request related to a problem? Please describe.
Some TV series use the HLG format, which is sort-of HDR but sort-of it's own thing.
I'm definitely not an expert on this..
Describe the solution you'd like
But! It would be nice with:
Additional context
A few logs from a few episodes with the HLG:
S01E01: https://0bin.net/paste/zuY3IPzx#FRwsAksOMDucvf8VIsLkzypQBNq56i8auKX7MsGUhBF
S01E05: https://0bin.net/paste/xOiG6VWV#DB0u1wk2m9zsXPI6b-SoP8U3Wz06jH2X0yRBZ+hbXaF
S02E01: https://0bin.net/paste/VylBZrVH#-+JAsw0GT1IyVHIXzOfSuL4aVEbCijuWdpFDygvuuBN
S02E07: https://0bin.net/paste/agsCA4tC#-7IAF5z29BIq068xJ6gO7knkz2LMyvBHOMABHSy9AeW
[Feature Request] Go back one level/step in the "Edit Movie/Series Poster" menu
Is your feature request related to a problem? Please describe.
When editing multiple posters using either the Edit Movie Poster
or Edit Series Poster
menus, it can be a bit time consuming having to return to the main configuration page, after pressing "Close", after editing a poster.
Describe the solution you'd like
It would be nice to have a "back-one-step" button.
So instead of returning to the main configuration page, after pressing Close
, it would be nice to have a Back
button, which would return to the folder overview (the one you enter at first, when pressing either Edit Movie Poster
or Edit Series Poster
).
Additional context
So it could work like:
Edit Movie Poster
Search Movie Folders
menuFix Match
Back
and return to the Search Movie Folders
overview.Allow bars to be additions to the image rather than overlays so that the poster doesn't get covered due to too many badges.
No issues. LOVE your app, thanks for making it and constantly improving it. Very very cool. Also sorry if this is the wrong place for a feature request.
One feature request which I think would be of value for those that have Media on Network attached storage and use the sideload docker app - webhook triggers to initiate targetted scans of folders. In Sonarr/Radarr, the connect feature has a webhook output. So as new media is downloaded it can send a trigger to rpdb to prob that one specific folder.
If this is considered for implementation, I would respectfully and humbly ask that the trigger have a configurable delay. e.g. when webhook trigger received, wait 10m before acting. The reason being many of us use a staging area for downloads with things such as mergerfs, so when sonarr/radarr think something is downloaded, it may be another 5-15m before it actually is copied to the SAN if that makes sense.
Appreciate your consideration and thanks again for this awesome tool!
A user requested this and I completely forgot about it until I read some emails again..
edit title should have been "Skip not found movies/TV shows for 30/60/90 days* endEdit
Me again. :) Feature request for your consideration - upon full scan, if a poster can't be matched/found, log it, and allow a configurable "skip on full scans for 30/60/90 days" option. The reason being, I have a very very large library. And on each full scan, I burn through several thousand API hits for those same titles each time, so would be nice to have it skip those, and guessing would also be beneficial for back end load efficiency on your end as well.
Thanks for your consideration.
[Feature Request] Edit Movie/Series Poster in Media Folder of choice
Hey again, sorry for spamming up your Github issue page.
Just realized another thing, which could be useful.
Is your feature request related to a problem? Please describe.
Whenever you want to edit either a movie poster or series poster, you have to search all "Movie" media folders and/or all "Series" media folders at the same time.
This can be a problem because of duplicates. E.g. if you have a 4K Movie
folder, 4K Remux
folder, 1080p
Folder and so on. They'll probably have the same movie/series folder names, and it'll be hard to distinguish between which one's which. You might want to have different posters for each library, or just for "OCD" purposes, have them seperated.
Describe the solution you'd like
It would be nice, if you have multiple Movies
(or Series
) media folders, that you could select between the different Media folders, before searching.
Additional context
E.g.
Edit Movie Poster
Choose Media Folder
Edit Media Folders
pageMedia Folder
It would be very useful to show a list of unmatched Movies/TV series and manually match them in the same manner that an incorrect match is manually fixed.
Ideally also being able to search the unmatched items in the "Edit Movie Poster"/"Edit Series Poster" sections would be useful.
Hi,
Would it be possible to add season posters too?
For TV shows, adding quality badges to the complete show poster is problematic since there is no guarantee that all the episodes across the seasons were released in the same quality or have the audio/video characteristics like Dolby Vision/HDR/TrueHD/Atmos etc. In contrast to that, episodes in the same season almost always have the same characteristics.
Almost all rating sites also have seasonal ratings too, in addition to the show ratings, which would be another nice addition for the season poster.
Thanks for considering.
Hey bud,
Tried to add a custom poster today in two different ways. Here's what I did to reproduce:
Click Edit Movie Poster
Search for folder name
Find the folder and click it
I then get the page with the "Missing Poster" place holder and the options such as custom poster, create poster etc.
From here, I've tried a few different things:
If I click "Submit" on options 2 or 3, it says thanks for submitting the info to the db. But I cant seem to figure out how to get it to load a poster. Also, theres no way to directly upload a poster file via the web interface, correct?
Thanks in advance,
-Ed
[Issue/Bug] Probed media files don't get properly deleted/closed (held by the system)
Describe the bug
This is a weird one (and a long issue report), and I've actually had it for quite a while.
This could easily not be the fault of rpdb, but I'll try and explain in detail.
To preface the issue, I think I need to describe the way my setup is working. It's basically made from the thoughts of THIS GitHub.
My setup is using mergerfs to combine two folders:
/home/appbox/private/local
/home/appbox/m/gcd/plex
/local
and the mounted cloud drive as /m/gcd/plex
The first folder is for local storage, and the 2nd is cloud storage (mounted using rclone).
I'm using this as the mergerfs
fusing:
/usr/bin/mergerfs /home/appbox/private/local:/home/appbox/m/gcd/plex /home/appbox/gmedia -o rw,use_ino,allow_other,func.getattr=newest,category.action=all,category.create=ff,cache.files=auto-full,dropcacheonclose=true
They're combined to a third combined mergerfs folder:
/home/appbox/gmedia
Whenever I download anything, I point it towards the /gmedia
folder. The way it's set up, it always writes to the /local
folder first.
Both Radarr, Sonarr, Bazarr and so on is setup to point towards the /gmedia
folder. So whenever something gets imported or downloaded, the files will actually get written to the /home/appbox/private/local
as per the mergerfs settings.
This is a nice way to set it up, since I also use a daily upload script, that uploads files to the cloud drive.
The daily upload script is using the rclone move
command, which basically removes the file from the /local
folder, whenever the upload of the file is completed.
Which means it goes from /local
to /m/gcd/plex
- but to the /gmedia
folder, it's all the same basically, since the two folders are combined "as one".
RPDB is also configured to use the /gmedia
folder, which works awesomely.
It reads new files added by Radarr and Sonarr without error and is also able to probe new files (which are technically saved to the /local
folder), but it's also able to probe the files already present on the cloud drive (technically /m/gcd/plex
)
So basically, it works by mergerfs "tricking" the system to believe all files are present at the same time, whether or not they're actually uploaded yet.
RPDB is setup to probe the 4K files and automatically add badges. That works perfectly and without fail. Can't repeat too many times how much I appreciate that feature ๐
Anyways!
The issue is related to said probing of the 4K files.
Whenever the beforementioned daily upload script ends, and all the files have been removed by rclone, there's a lot of leftover "ghost files" - sorry for the lack of a better term.
The "ghost files" are some form of hardlinks/softlinks (?) that haven't truly been removed from the disk. They still take up the space, until you restart the rpdb-folders
app.
If you use the command sudo lsof +L1
(manpage link), that shows open files that have been unlinked, you can see a list of the files probed by the rpdb-folders
app.
The output looks like this, after a completed upload by the mentioned upload script / rclone move command:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NLINK NODE NAME
php-fpm7. 820 root 3u REG 9,2 0 0 52166658 /tmp/.ZendSem.sQkIr4 (deleted)
unattende 907 root 3w REG 9,2 452 0 210633852 /var/log/unattended-upgrades/unattended-upgrades-shutdown.log.1 (deleted)
mergerfs 3352623 root 6r REG 9,2 40234101828 0 126222361 /home/appbox/private/local/4KMovies/X-Men - First Class (2011) [tmdb-49538]/X-Men.First.Class.2011.2160p.UHD.BluRay.REMUX.DTS-HD.MA-5.1.HDR.HEVC-RIPPEDBYMYSELF.mkv (deleted)
mergerfs 3352623 root 11r REG 9,2 51855154785 0 125960456 /home/appbox/private/local/4KMovies/Mulan (1998) [tmdb-10674]/Mulan.1998.2160p.UHD.BluRay.REMUX.TrueHD.Atmos-7.1.HDR.HEVC-RIPPEDBYMYSELF.mkv (deleted)
mergerfs 3352623 root 12r REG 9,2 54149344186 0 126222490 /home/appbox/private/local/4KMovies/G.I. Joe - The Rise of Cobra (2009) [tmdb-14869]/G.I.Joe.The.Rise.of.Cobra.2009.DV.2160p.UHD.BluRay.REMUX.DTS-HD.MA-5.1.HDR.HEVC-RIPPEDBYMYSELF.mkv (deleted)
mergerfs 3352623 root 18r REG 9,2 42273126640 0 126222439 /home/appbox/private/local/4KMovies/Resident Evil (2002) [tmdb-1576]/Resident.Evil.2002.2160p.UHD.BluRay.REMUX.TrueHD.Atmos-7.1.HDR.HEVC-RIPPEDBYMYSELF.mkv (deleted)
mergerfs 3352623 root 23r REG 9,2 49911337924 0 125832098 /home/appbox/private/local/4KMovies/Early Man (2018) [tmdb-387592]/Early.Man.2018.DV.2160p.UHD.BluRay.REMUX.TrueHD.Atmos-7.1.HDR.HEVC-RIPPEDBYMYSELF.mkv (deleted)
mergerfs 3352623 root 30r REG 9,2 62268057718 0 125960196 /home/appbox/private/local/4KMovies/Harry Potter and the Half-Blood Prince (2009) [tmdb-767]/Harry.Potter.and.the.Half-Blood.Prince.2009.PROPER.2160p.UHD.BluRay.REMUX.DTS-X-7.1.HDR.HEVC-RIPPEDBYMYSELF.mkv (deleted)
mergerfs 3352623 root 40r REG 9,2 60005580933 0 133695273 /home/appbox/private/local/4KMovies/Daughters of Darkness (1971) [tmdb-46175]/Daughters.of.Darkness.1971.2160p.UHD.BluRay.REMUX.TrueHD.Atmos-7.1.HDR.HEVC-RIPPEDBYMYSELF.mkv (deleted)
mergerfs 3352623 root 103r REG 9,2 82588691949 0 126222609 /home/appbox/private/local/4KMovies/Saving Private Ryan (1998) [tmdb-857]/Saving.Private.Ryan.1998.DV.2160p.UHD.BluRay.REMUX.TrueHD.Atmos-7.1.HDR.h265-RIPPEDBYMYSELF.mkv (deleted)
mergerfs 3352623 root 116r REG 9,2 41285461081 0 126224699 /home/appbox/private/local/4KMovies/Resident Evil - Apocalypse (2004) [tmdb-1577]/Resident.Evil.Apocalypse.2004.EXTENDED.2160p.UHD.BluRay.REMUX.TrueHD.Atmos-7.1.HDR.HEVC-RIPPEDBYMYSELF.mkv (deleted)
mergerfs 3352623 root 127r REG 9,2 70846905011 0 126354645 /home/appbox/private/local/4KMovies/V for Vendetta (2006) [tmdb-752]/V.for.Vendetta.2006.2160p.UHD.BluRay.REMUX.TrueHD.Atmos-7.1.HDR.HEVC-RIPPEDBYMYSELF.mkv (deleted)
mergerfs 3352623 root 172r REG 9,2 39326778766 0 133694073 /home/appbox/private/local/4KMovies/Resident Evil - Retribution (2012) [tmdb-71679]/Resident.Evil.Retribution.2012.2160p.UHD.BluRay.REMUX.TrueHD.Atmos-7.1.HDR.HEVC-RIPPEDBYMYSELF.mkv (deleted)
mergerfs 3352623 root 176r REG 9,2 44119791007 0 126224841 /home/appbox/private/local/4KMovies/Resident Evil - Extinction (2007) [tmdb-7737]/Resident.Evil.Extinction.2007.2160p.UHD.BluRay.REMUX.TrueHD.Atmos-7.1.HDR.HEVC-RIPPEDBYMYSELF.mkv (deleted)
mergerfs 3352623 root 179r REG 9,2 72007282481 0 126225120 /home/appbox/private/local/4KMovies/The Croods (2013) [tmdb-49519]/The.Croods.2013.2160p.UHD.BluRay.REMUX.DTS-X-7.1.HDR.HEVC-RIPPEDBYMYSELF.mkv (deleted)
The only way remove the open, yet unlinked, files is to restart the rpdb-folders
app.
I solved this by just restarting the rpdb-folders
app a minute or two before the daily upload script starts, which works wonderfully (lol), but to be fair, is a shoddy solution.
To Reproduce
rclone config
. Let's call it cloudDrive
/usr/bin/mergerfs /localDriveFolder:/cloudDriveMount /gmedia -o rw,use_ino,allow_other,func.getattr=newest,category.action=all,category.create=ff,cache.files=auto-full,dropcacheonclose=true
/localDriveFolder
rpdb-folders
to probe video files from the combined /gmedia
folder/localDriveFolder
rclone move /localDriveFolder cloudDrive: -vv
to move/upload the files from the local folder, to the cloudDrive
that we configured in step 2sudo lsof +L1
and see that the files are still considered "opened" by the system, yet unlinked.rpdb-folders
appExtra notes
I haven't actually tested whether or not this happens with or without using mergerfs
. It might also NOT properly close the probed files, when just using a normal FS.. Just haven't tested that.
No idea whether or not this issue is related: buzz/mediainfo.js#89
Expected behavior
The files getting properly closed after the probing is done.
Operating System
Ubuntu 21.10
RPDB Version
v0.1.8
[Feature Request] Video file: .ts support
Is your feature request related to a problem? Please describe.
Whenever the automatic badge probing looks for videofiles, it "only" checks for the files listed here
This does not include the weird .ts format, which is sometimes used. Luckily quite rarily.
Describe the solution you'd like
To add support for the .ts file format
Additional context
Here's a mediainfo output from a sample .ts file:
https://0bin.net/paste/qZUaPwxE#NCrvSk-WttPA+2BT62c7biNW504wp+9QzlPFobZD8MK
[Feature Request] Individual badge selection for movie/series posters
Kind of related to #12
Is your feature request related to a problem? Please describe.
I just realized it's not possible to edit the badges of individual posters. Right now it's possible to select badges, for each media folder selected. This mostly works fine. But in my case, the library can be somewhat mixed with 4K and the upcoming "4K Upscaled" and "Dolby Vision" badge(s).
It would be very help to "overwrite" individual movie (and/or series) posters with certain badges, e.g. "4K Upscaled" and "Dolby Vision".
Describe the solution you'd like
This could be a part of the Edit Movie Poster
or Edit Series Poster
, e.g.
Edit Movie Poster
Edit Badge(s) for this poster
or something similiarAdd Badges / Label
, just for the selected posterAdditional context
Again, this would be helpful, as some movies are 4K Upscaled, and some have Dolby Vision. This would be an easier solution (or maybe just an alternative solution), than creating media folders for each and every category:
E.g. 1x 4K Upscaled library, 1x "Real" 4K library, 1x 4K Upscaled+Dolby Vision and 1x"Real" 4K+Dolby Vision library.'
Editing the individual posters seems easier to me atleast
Edit: Also thanks for all your work ๐ ๐
Hello,
i'd like to know if posters are also localized or are just in English.
For example i use emby and all posters, where available, now are in italian, what about if i use rpdb-folders?
Tnx
Describe the bug
Some HDR is not detected properly, when probing TV series episodes.
This has not happened in my entire movie library, so I'm pretty sure it's specific to WEB based HDR episodes of some TV series.
From my short research, it's the HDR episodes tagged with:
"transfer_characteristics": "PQ"
in the mediainfo output (JSON).
These episodes containing that PQ string will not get detected as HDR in the rpdb.json generated.
Logs
I've found a few series with this issue.. All seem to have the "PQ" thing in common:
TV Series:
--> Loki
Generated from S01E01:
Mediainfo Output: https://0bin.net/paste/NaAweyYp#1JPE1wjthnoSND+MDRvRHIOSF1jHezXlD1T8rsnyX4-
rpdb.json Output: https://0bin.net/paste/jZUR4bEa#-OwcDHcRIcpc24Q4JgHjFrozVF1Ik+Why7GKtq13f3N
--> The Falcon and the Winter Soldier
Generated from S01E01:
Mediainfo Output: https://0bin.net/paste/vIwNRsgV#IRCIY+Fi4HPDQvsEAtazokSAo2YVAzFb3EPBpWLrcZi
rpdb.json Output: https://0bin.net/paste/8Z5CaHuD#AoWmLL2HFQqRujQTTyXUZov2G-H5YPTyk54UJzjWFTF
--> The Mandalorian:
Generated from S01E01:
Mediainfo Output: https://0bin.net/paste/ivIiJ1i3#UUJgsHIWwfNJRySO3qwSI7O3xTbrNZhH8OxL0jdm7BO
rpdb.json Output: https://0bin.net/paste/tyxCoMhr#9oZijvgK21TjFnxGeBqIH4NQjPMRWuU7v7rmKbkTZ5T
--> 11.22.63 (non-HDR series to compare)
Mediainfo Output: https://0bin.net/paste/ynVsirIM#8A4rDKHfnI3xPD-GhgkNAj8az52TkavUDi35PR6Y5mE
Expected behavior
For the rpdb.json to include "isHdr": true
when it detects "PQ" HDR.
OS:
Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
Codename: hirsute
RPDB Version
Additional context
Thinking the problem is the lack of HDR data for some reason... Except for the "PQ".
Usually it says something about SMPTE or directy HDR 10 in there.
Not in these files, but Plex registers (correctly) them as HDR.
Sonarr detects them as HDR as well, some relevant code here:
https://github.com/Sonarr/Sonarr/blob/87897d56ea62544a36986eb09d420649668d7400/src/NzbDrone.Core.Test/OrganizerTests/FileNameBuilderTests/FileNameBuilderFixture.cs#L898-L912
Looks like they're going for the "PQ" tag as well.
Add additional sources for Anime Ratings like MAL, AL etc.
[Feature Request] Option to delay Plex Metadata Refresh
When I'm done with these GH issues, they'll have turned into a long novel. Sorry for the inconvenience.
But hopefully all the explanations will make a better case, for why this feature would be nice to have. Atleast in my weird case/setup.
Is your feature request related to a problem? Please describe.
As of now, there's no option to delay the Plex metadata refresh.
In my case, this is a problem because if RPDB is installed on a different server than the one running Plex Media Server (PMS), the metadata refresh will have no effect because it will refresh the metadata when the poster file has not been updated.
My Setup pt1: Server Setup
I have to dedicated servers, both running Linux/Ubuntu.
Here's a short overview of what applications is running on the two servers:
Server 1 (SRV1): Download Server
- Bazarr
- Bazarr4K
- Mergerfs (fused cloud & local folders)
- NZBGet
- Nginx / Web server
- Prowlarr
- RPDB
- Radarr
- Radarr4K
- Rclone Mount (cloud storage)
- Sonarr
- Sonarr4K
- Tautulli
- qBittorrent
Server 2 (SRV2): PMS Server
- Doplarr
- Overseerr
- Plex Media Server
- Rclone Mount (cloud storage)
**My Setup pt2: mergerfs & rclone **
On the SRV1 I use mergerfs and rclone's mount to get the local disks and cloud storage to work together in a very smooth way.
The SRV2 doesn't use the mergerfs mount, ONLY the rclone mount for Plex to access the cloud storage drive.
Mergerfs primary function is to merge the two drives (the local drive and the mounted cloud storage drive) into a folder I called gmedia
. The mergerfs mounting command looks like this:
/usr/bin/mergerfs /home/appbox/private/local:/home/appbox/m/gcd/plex /home/appbox/gmedia -o rw,use_ino,allow_other,func.getattr=newest,category.action=all,category.create=ff,cache.files=auto-
full,dropcacheonclose=true,cache.symlinks=true,cache.readdir=true
The folders fused are:
/home/appbox/private/local
is the local storage disk
/home/appbox/m/gcd/plex
is the cloud storage mount
into /home/appbox/gmedia
. So the /gmedia
folder will contain:
/gmedia
/home/appbox/private/local/ [local storage folders]
/home/appbox/m/gcd/plex/ [cloud storage folders]
But obviously fused together.
So for the system and applications reading the /gmedia
folder, it'll look as if both all the newly/daily downloaded files, and the files already present in the cloud storage mount, is all there in the same /gmedia
folder.
The mergerfs command variables are setup like so:
use_ino
is for hard linking with Radarr/Sonarr.cache.files=auto-full
is a setting for using memory for caching.category.action=all, category.create=ff
says to always create directories / files on the first listed mount point and for my configuration that is the local storage: /home/appbox/private/local
My Setup pt3: How it works with RPDB
So on SRV1, everything is pointed towards the fused folder, which is /gmedia
Everything that gets saved to /gmedia
actually gets saved to the local drive: /home/appbox/private/local
, because of the mergerfs variables explained above.
RPDB is also setup to use the /gmedia
folder. It'll do a daily scan with this simple script, starting at 11:00AM:
#!/bin/bash
# Exit if running
if [[ $(pidof -x "$(basename "$0")" -o %PPID) ]]; then
echo "Already running, exiting..."; exit 1; fi
/usr/bin/bash -c "/opt/rpdb/rpdb-folders --remote="full-scan"" >> /home/appbox/logs/rpdb/rpdb.log 2>&1
This will then scan the /gmedia
folder. Which means it'll both scan all the folders in the cloud storage mount, and the locally downloaded ones. So for any newly downloaded movies, it'll download the poster.jpg
files, and they'll get uploaded with the daily upload script.
If an overwrite scan is to be done, all the new poster.jpg
files generated, will also be saved to the local storage, and later uploaded with the daily upload script.
This setup works wonderfully tbh. All credits to this dude.
This is the daily upload script. Which is just a fancy script for moving/uploading all the files from /home/appbox/private/local
to the cloud storage. This script runs at 12:30AM every day, via a simple cronjob.
Then, as the files get uploaded to the cloud storage, the PMS on SRV2 picks it up automatically, and scans the new items/movies/series in automatically.
My Setup pt4: The real problem
The real problem is now this:
On SRV1 it'll download the poster.jpg
files for the newly downloaded movies and series. And that'll tell RPDB to tell Plex to Refresh the Metadata for the movies that has either been updated or got a new poster.jpg
generated.
On SRV2 meanwhile, this will have no effect, since the poster.jpg
file is still on SRV1 as local storage, and has not yet been uploaded through the daily upload script.
Describe the solution you'd like
The perfect solution would obviously be a "delay" feature, to the Plex Metadata Refresh. I would love to be able to delay the Metadata Refresh to after my upload script has done running, which in my case would be around 4:00PM.
This poses several problems though, as RPDB needs to save, log and/or cache all the previous movie/series matches and poster.jpg
upgrades, to be able to remember what movies/series it'll need to do a metadata refresh.
E.g. if the RPDB app closes/crashes, or if the server rebooted, the refresh wouldn't happen, as it would have lost the saved data.
So maybe if RPDB utilized some sort of database file/sqlite/mariadb/postgres for storing the matches, that have to be delayed. Just the thought of working with database-files makes my head hurt, so I can't fault you, if you hate that idea.
Additional context
Sorry again for these massive wall of texts. And sorry if there are parts that doesn't make any sense.
In Ubuntu 16.04 i have this error with version 0.1.4 while i have no error with version 0.1.3
Any hint?
pkg/prelude/bootstrap.js:1244
throw error;
^
Error: libnode.so.72: cannot open shared object file: No such file or directory
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1186:18)
at Module.load (internal/modules/cjs/loader.js:984:32)
at Function.Module._load (internal/modules/cjs/loader.js:877:14)
at Module.require (internal/modules/cjs/loader.js:1024:19)
at Module.require (pkg/prelude/bootstrap.js:1225:31)
at require (internal/modules/cjs/helpers.js:72:18)
at bindings (/opt/linux-rpdb-folders/node_modules/bindings/bindings.js:112:48)
at Object. (/opt/linux-rpdb-folders/node_modules/drivelist/js/index.js:25:27)
at Module._compile (internal/modules/cjs/loader.js:1136:30)
at Module._compile (pkg/prelude/bootstrap.js:1281:32)
Describe the bug
After installing v0.1.1, the rpdb config page at X.X.X.X:8750
still shows up with a message, saying
A new update is available, download it here!
. Even after installing the rpdb-folders
version it redirects to, the same message still shows.
To Reproduce
Steps to reproduce the behavior:
X.X.X.X:8750
(remote URL in my case)A new update is available, download it here!
promptrm -rf linux-rpdb-folders
unzip linux-rpdb-folders.zip
rpdb-folders
appA new update is available, download it here!
Expected behavior
After applying / running the latest version of rpdb-folders
, the message should not appear.
Screenshots
https://i.imgur.com/YTatzqa.png
Operating System:
Version:
Additional context
Nothing to add for now.
[Issue/Bug] Folders with the exact same name, in different media folders, will duplicate poster from each other
Describe the bug
If you have two folders with the exact same name, in different media folders, you can't update them separately.
To Reproduce
Steps to reproduce the behavior:
4KTV
and TV Shows
Chernobyl (2019) [imdb-tt7366338]
4KTV
and TV Shows
to RPDB as TV media foldersposter.jpg
to both foldersEdit Series Poster
--> Search for Folder Name
4KTV
folder and find the Chernobyl (2019) [imdb-tt7366338]
4KTV
version will get updated, or the one residing in TV Shows
(or both of them)Chernobyl (2019) [imdb-tt7366338]
, this time selecting TV Shows
Another way of testing this:
From Step 5:
6. Delete both poster.jpg
, generated by RPDB
7. Go back to Edit Series Poster
--> Search for Folder Name
8. Select 4KTV
and search for the Chernobyl (2019) [imdb-tt7366338]
folder
9. Select Update Ratings
to refresh poster
10. The new poster.jpg
will be put in the Chernobyl (2019) [imdb-tt7366338]
folder residing in the TV Shows
media folder - and NOT the 4KTV
media folder.
Expected behavior
The posters getting edited separately and not being of one entitiy / sharing the poster.jpg
Operating System:
Version:
Describe the bug
I'm not able to set password. When you enter the password in the Choose Password
and press Save Password
, nothing happens. Restarting the app does nothing as well.
To Reproduce
Steps to reproduce the behavior:
X.X.X.X:8750
(remote URL in my case)Choose Password
Save Password
Save Password
)rpdb-folders
, nothing happens.Expected behavior
The config.js
should've updated the "pass":false
to "pass":true
and the rpdb-folders
app should've remembered the password I just set.
Operating System:
Version:
Additional context
I tried setting the password, updating the config.js
manually to "pass":true
. But after reloading the rpdb-folders
, it didn't recognize the password I just set.
Me again. :)
Feature request for your consideration. We often reorg our media. E.g. move ended shows or old movies to an archive folder. Unfortunately *arrs don't send connect triggers on move. Rpdb has a feature to skip folders without media. But would be nice to have a feature to delete or move *.jpg to a quarantine folder in that same scenario so we aren't left with folders with just poster/background.jpg left behind.
Thanks for your consideration.
Ed
Hi,
Would it be possible to add badges for the streaming services that can be added to the posters?
Perhaps that can be a different type of poster?
Thanks.
I just upgraded to tier 3 and I'm having inconsistent results with the automatic badges. I estimate it automatically created about 40% of the files. I'm pretty confident there are no permission issues as the posters are being downloaded to the folders without issue. When the folder scan is active, these are the typical logs I receive:
Missing rpdb.json, continuing to probe video file.
Poster for Batman Begins (2005) downloaded
Items left in queue: 1761
I'm running rpdb in a docker container & the files are accessed on a network share via NFS mount in that VM. Plex runs on a separate VM & the files are accessed on a network share via CIFS mount. The plex user has read-only access but the docker user has read/write (but I doubt that part matters). All video files are mp4 format.
Let me know if you need more info or have other questions. Alternatively, I could try installing the rpdb plex plugin (instead of docker)
Hi,
Could you create a beautiful IMAX badge that can be used for the recently released IMAX cuts of the Marvel movies? I know we can use custom labels but they don't look as good.
Thanks.
Source: https://mydramalist.com/
They also seem to have an API on request: https://mydramalist.com/api_request
Feature suggestion - when having multiple versions of the same movie in different root paths, e.g. HD, 4K, it can be difficult to know which search results is which if the movie or show folder is named the same. Suggesting adding full path for results, with line wrap for ease of use on mobile. Thanks for the consideration!
Since the last update the Atmos badge isn't pulling through onto the final poster - shows correctly in the preview but is missing from file that is downloaded
An alternative more colourful badge for Dolby Vision.
[Feature Request] Timestamps in logs
Is your feature request related to a problem? Please describe.
Whenever you look at the log file created by rpdb-folders
, they contain no timestamps.
Having timestamps help with analyzing how long a full scan takes, a full overwrite scan takes, or probing of a large folder.
Describe the solution you'd like
It would be nice if the logs contained timestamps.
Additional context
That's it ๐
Larger poster sizes for higher tiers, perhaps as the desired width or minimum width?
[Feature Request] BaseUrl option (for reverse proxy/proxypass)
Is your feature request related to a problem? Please describe.
Right now the "only" way to access the RPDB-folders app is to use the port specified, "tied" with the host-url (127.0.0.1 or public IP). Without a base-url option, it's not possible to use reverse proxying for getting covered by the server's HTTPS certificate.
Describe the solution you'd like
An option for setting a baseurl, so it's possible to do a reverse proxy / proxypass.
Additional context
It could look like this, using nginx, with baseurl set to /rpdb
(default port 8750):
location /rpdb {
proxy_pass http://127.0.0.1:8750;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_read_timeout 90;
proxy_set_header X-Forwarded-Proto $scheme;
set $xforwardedssl "off";
if ($scheme = https) {
set $xforwardedssl "on";
}
proxy_set_header X-Forwarded-Ssl $xforwardedssl;
proxy_redirect ~^(http(?:s)?://)([^:/]+)(?::\d+)?(/.*)?$ $1$2:$server_port$3;
}
I know your on vaca bud. This isn't urgent at all, just a suggestion. Is it possible to make the trigger options check boxes instead of radio buttons? Presently I run 2 instances of posters, one with polling and the other with arr triggers. Reason being I sometimes have to manually copy in content that isn't available in the arrs such as niche shows or ppv style events. Would be nice to be able to enable polling + arrs.
Appreciate the consideration.
Hi,
Would it be possible to add a header to indicate the last updated timestamp of an image?
If yes, could it be a HEAD request so it's cheaper for both the user (perhaps treated as 1/2 a request ๐ ) and you (no need to download or generate the image if it's not changed)?
Thanks.
[Feature Request] Network Drive (e.g. rclone) polling support ..
as a way to look for newly created folders ๐
Is your feature request related to a problem? Please describe.
Right now, the rpdb-folders
doesn't recognize the new folders created by a network drive, mounted through rclone.
Whenever rclone is polling for new changes in the mounted folders, rpdb-folders
does not recognize them as new folders, and therefore won't add new posters (and/or backdrops) automatically. This results in the user having to do a manual full scan (which takes unnecessary API hits).
Describe the solution you'd like
Support for network drive "polling", so rpdb-folders
will look for newly "discovered" (polled) folders, that wasn't present when the initial scan was done.
Additional context
I know I mentioned this on reddit, but this seems more organized ๐
Separate Bar for Badges so that they don't overlap with the poster.
I'v just bought a api key, i wrote a mail with this problem but i think it is better to write here.
The api works fine.
I'm using rpdb folders with windows and i have network folders mounted
I though it was all automatic, but i don't understand how to make it start.
I think i settled all up, but i don't know how to start scan and download posters with ratings.
I managed to scan manually a folder and select poster, but how to make i write the poster to the movie folder?
I have network folders mounted in windows.
Can you give me any suggestions?
In console i see this.
{ Error: ENOENT: no such file or directory, scandir 'Z:\Movies\12 anni schiavo (2013)'
at Object.readdirSync (fs.js:790:3)
at Object.fs.readdirSync (pkg/prelude/bootstrap.js:828:35)
at getDirectories (C:\snapshot\rpdb-folders\index.js:0:0)
at theseFolders.forEach.mediaFolder (C:\snapshot\rpdb-folders\index.js:0:0)
at Array.forEach ()
at startFetchingPosters (C:\snapshot\rpdb-folders\index.js:0:0)
at app.get.passwordValid (C:\snapshot\rpdb-folders\index.js:0:0)
at passwordValid (C:\snapshot\rpdb-folders\index.js:0:0)
at app.get (C:\snapshot\rpdb-folders\index.js:0:0)
at Layer.handle [as handle_request] (C:\snapshot\rpdb-folders\node_modules\express\lib\router\layer.js:95:5)
errno: -4058,
syscall: 'scandir',
code: 'ENOENT',
path: 'Z:\Movies\12 anni schiavo (2013)' }
Did something change in the last release? I started noticing poster.jpg is owned by user/group root, whereas before it was owned by the PUID/PGID set on the env variables on the container.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.