hikaricore / bash_scripts Goto Github PK
View Code? Open in Web Editor NEWhikaricore's various bash scripts
hikaricore's various bash scripts
hello
i use this script with radarr on qnap nas
but i not a expert
trailer.sh | Trailer already exists for Artemis Fowl: | 08:41 |
trailer.sh | ls: cannot access '(2020)/movie-trailer.*': No such file or directory | 08:41 |
trailer.sh | ls: cannot access 'Fowl': No such file or directory | 08:41 |
trailer.sh | ls: cannot access '/share/Multimedia/Video/Films/Artemis': No such file or directory | 08:41 |
trailer.sh | /share/homes/admin/bash_scripts/trailer.sh: line 21: [: too many arguments
Special characters such as ô in the youtube-dl output path will cause a python unicode related failure:
trailer.sh Trailer downloaded:
trailer.sh ls: cannot access /Movies/Zatôichi.Meets.the.One-Armed.Swordsman.1971/movie-trailer.*: No such file or directory
trailer.sh UnicodeEncodeError: 'ascii' codec can't encode characters in position 25-26: ordinal not in range(128)
trailer.sh os.stat(path)
trailer.sh File "/usr/lib/python2.7/genericpath.py", line 26, in exists
trailer.sh File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1750, in ensure_dir_exists
trailer.sh File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1899, in process_info
trailer.sh File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1635, in process_video_result
trailer.sh File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 857, in process_ie_result
trailer.sh File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 803, in extract_info
trailer.sh File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in download
trailer.sh File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 462, in _real_main
trailer.sh File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 472, in main
trailer.sh File "/usr/local/bin/youtube-dl/main.py", line 19, in
trailer.sh exec code in run_globals
trailer.sh File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
trailer.sh "main", fname, loader, pkg_name)
trailer.sh File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
trailer.sh YouTube trailer exists, attempting to download.Traceback (most recent call last):
trailer.sh Trailer does not exist for Zatôichi Meets the One-Armed Swordsman, attempting to grab one.
While this is more of a youtube-dl / python issue and less of a my fucking problem, the ideal solution would be to save the downloaded movie trailer to /tmp first, then move it to the Radarr path.
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.