danielhoherd / plexdl Goto Github PK
View Code? Open in Web Editor NEWA plex direct downloader, with an emphasis on fetching media that has not been modified.
License: MIT License
A plex direct downloader, with an emphasis on fetching media that has not been modified.
License: MIT License
Is there any way where I can just pass the Plex media URL to this and it downloads the file?
Hey,
I wanted to try out this neat script but I didn't got it to install. Either is this a wrong description in the README.md or pipx isn't working as described.
OS: Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
Steps to reproduce:
pip install pipx
git clone https://github.com/danielhoherd/plexdl.git
pipx install --editable --spec="plexdl" plexdl
> --spec=plexdl should either be a path to a local project or a VCS url beginning with svn+, git+, hg+, or bzr+
Kind regards
Currently TV shows are not searched. We should refactor the code so you can specify which media you want to search.
Redo the Dockerfile with FROM scratch and a compiled python binary, which should reduce the docker image size by over 100mb.
2FA is not supported.
Add ability to submit 2FA code as a command line option.
I've tried installing pendulum every which way, there is always one error or another.
Collecting six>=1.5 (from python-dateutil<3.0,>=2.6->pendulum<3.0.0,>=2.1.2->plexdl==0.4.2)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Using cached humanize-4.8.0-py3-none-any.whl (117 kB)
Using cached importlib_metadata-6.8.0-py3-none-any.whl (22 kB)
Using cached PlexAPI-4.15.4-py3-none-any.whl (158 kB)
Using cached click-8.1.7-py3-none-any.whl (97 kB)
Using cached zipp-3.17.0-py3-none-any.whl (7.4 kB)
Building wheels for collected packages: plexdl, pendulum
Building wheel for plexdl (pyproject.toml): started
Building wheel for plexdl (pyproject.toml): finished with status 'done'
Created wheel for plexdl: filename=plexdl-0.4.2-py3-none-any.whl size=5864 sha256=fd235b1b1dd7c770540281a1ac875d006e44fca7a9e1a4957d84bde16a621e38
Stored in directory: C:\Users\aaaaaa\AppData\Local\Temp\pip-ephem-wheel-cache-g9wvewgm\wheels\ed\e4\a1\f96997bf9cc7698937cad0892abce9a3e8dd9a23e8a2a5743c
Building wheel for pendulum (pyproject.toml): started
Building wheel for pendulum (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
Building wheel for pendulum (pyproject.toml) did not run successfully.
exit code: 1
[27 lines of output]
Traceback (most recent call last):
File "C:\Users\aaaaaa\AppData\Local\Temp\pip-install-avfoevxa\pendulum_2e47f1a564f2458d887281c92150dc7c\build.py", line 5, in
from distutils.command.build_ext import build_ext
ModuleNotFoundError: No module named 'distutils'
Traceback (most recent call last):
File "C:\Users\aaaaaa\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\aaaaaa\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aaaaaa\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aaaaaa\AppData\Local\Temp\pip-build-env-_wjvsrf8\overlay\Lib\site-packages\poetry\core\masonry\api.py", line 57, in build_wheel
return WheelBuilder.make_in(
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aaaaaa\AppData\Local\Temp\pip-build-env-_wjvsrf8\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 87, in make_in
wb.build(target_dir=directory)
File "C:\Users\aaaaaa\AppData\Local\Temp\pip-build-env-_wjvsrf8\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 122, in build
self._build(zip_file)
File "C:\Users\aaaaaa\AppData\Local\Temp\pip-build-env-_wjvsrf8\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 171, in _build
self._run_build_script(self._package.build_script)
File "C:\Users\aaaaaa\AppData\Local\Temp\pip-build-env-_wjvsrf8\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 231, in _run_build_script
subprocess.check_call([self.executable.as_posix(), build_script])
File "C:\Users\aaaaaa\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:/Users/obed/AppData/Local/Programs/Python/Python312/python.exe', 'build.py']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pendulum
Successfully built plexdl
Failed to build pendulum
ERROR: Could not build wheels for pendulum, which is required to install pyproject.toml-based projects
I have no idea how to log in, or where is the config file. THanks for the help
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.