bananapukeh / plex-music-grabber Goto Github PK
View Code? Open in Web Editor NEWAutomate grabbing missing Plex theme songs
License: MIT License
Automate grabbing missing Plex theme songs
License: MIT License
Hi,
would it be possible to run once at container start a pip install --upgrade -r requirements.txt
to get yt-dlp updated to the latest ?
Youtube often makes little changes that blocks direct downloads...
The latest docker container you published is based on yt-dlp 2022.11.11 and right now yt-dlp version is 2023.03.04
Thank you!
Its downloading trailer audio. (dialog) for content
and it looks like it doesnt check for size. there's content 3 minutes long. thats not theme music, is it?
Check the link....
plex-music-grabber | === Plex Music Grabber ===
plex-music-grabber | Start running with an interval of 3600
plex-music-grabber | Notify: Start updating theme songs for 2 libraries
plex-music-grabber | Downloading theme song from http://www.youtube.com/watch?v=BVtN9rwoGpw
plex-music-grabber | [youtube] BVtN9rwoGpw: Downloading webpage
plex-music-grabber | [youtube] BVtN9rwoGpw: Downloading android player API JSON
plex-music-grabber | [info] BVtN9rwoGpw: Downloading 1 format(s): 251
plex-music-grabber | [download] Destination: /library/movies/About Fate (2022)/theme.webm
plex-music-grabber | [download] Download completed
plex-music-grabber | [ExtractAudio] Destination: /library/movies/About Fate (2022)/theme.mp3
plex-music-grabber | Deleting original file /library/movies/About Fate (2022)/theme.webm (pass -k to keep)
plex-music-grabber | Notify: Downloaded theme song for 'About Fate (2022)'
Evening,
I just tried to run your docker container. It seemed really awesome. However I am getting this error. See below.
During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/grabber.py", line 104, in <module> scanLibrary() File "/app/grabber.py", line 29, in scanLibrary grabMusic(name) File "/app/grabber.py", line 61, in grabMusic hiStream = yt.streams.get_audio_only("mp4") File "/usr/local/lib/python3.9/site-packages/pytube/__main__.py", line 296, in streams return StreamQuery(self.fmt_streams) File "/usr/local/lib/python3.9/site-packages/pytube/__main__.py", line 188, in fmt_streams extract.apply_signature(stream_manifest, self.vid_info, self.js) File "/usr/local/lib/python3.9/site-packages/pytube/extract.py", line 409, in apply_signature cipher = Cipher(js=js) File "/usr/local/lib/python3.9/site-packages/pytube/cipher.py", line 33, in __init__ raise RegexMatchError( pytube.exceptions.RegexMatchError: __init__: could not find match for ^\w+\W
May I suggest the ability to set interval by library/path ?
All my libraries don't get new items as often as others. And some library are more like "archive libraries" than others and thus could live with a scan once a week instead of every hour (default setting of 3600s)
Search query: [title] ("ost" | "theme song" | "op" | "opening)
Other filters:
< 4m
videos
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.