Skip to content

Commit 7de1937

Browse files
committed
fix issue #24 and make dependencies dl easier
1 parent 9f0ff0b commit 7de1937

File tree

5 files changed

+15
-7
lines changed

5 files changed

+15
-7
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# auto-ytdl
22

3-
![](https://img.shields.io/badge/Release-v1.2.2-green.svg)
3+
![](https://img.shields.io/badge/Release-v1.2.3-green.svg)
44

55
I know, _yet another_ youtube-dl wrapper. But this one does something others don't: ability to automate your new music downloads, just like package managers automate your updates.
66

@@ -11,11 +11,14 @@ aytdl update
1111
And that's it.
1212
(Some initial setup is required of course, so auto-ytdl knows what music to download, but the most used commands are that simple)
1313

14-
## v1.2.0 changelog
14+
## v1.2.3 changelog
1515

1616
> Soundcloud is now explicitly supported, though the user should tweak config options to not be limited to free-tier low quality audio.
17+
1718
> Windows support
1819
20+
> fix music with no length bug
21+
1922
# Table of Contents
2023

2124
- [Why does it exist? / Motivation / Rant](#why-does-it-exist--motivation--rant)
@@ -91,13 +94,13 @@ see also [Usage](#usage) and [Examples](#examples)
9194

9295
- youtube-dl (need to be in the PATH or current folder)
9396
- ffmpeg (need to be in the PATH or current folder)
94-
- python3-pip (need to be in the PATH or current folder)
97+
- pip/python3-pip (need to be in the PATH or current folder)
9598

9699
(optionnal dependency for better OPUS handling, (windows users, don't bother))
97100

98101
- kid3-cli [AUR](https://aur.archlinux.org/packages/kid3-cli/) [website](https://kid3.kde.org/)
99102

100-
Some python modules, such as music-tag and mutagen, will be pulled automatically
103+
Some python modules, such as music-tag and mutagen, will be pulled automatically. If that step fails, you can run `pip install -r dependencies.txt` (or `python3-pip ....`)
101104

102105
# Install
103106

autoytdl/AYTDL.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
except Exception:
1616
print("Fetching auto-ytdl pip dependencies. (install as --user)")
1717
os.system(
18-
"pip install --user pathlib datetime music_tag mutagen argparse toml")
18+
"python -m pip install --user pathlib datetime music_tag mutagen argparse toml")
1919
print("Done, please re-launch auto-ytdl")
2020
sys.exit(0)
2121

autoytdl/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# follows semantic versionning
2-
__version__ = "1.2.2"
2+
__version__ = "1.2.3"

aytdl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import packaging.requirements
1010
except Exception:
1111
print("Fetching auto-ytdl pip dependencies. (install as --user)")
12-
os.system("pip install --user packaging")
12+
os.system("python -m pip install --user packaging")
1313

1414

1515
from autoytdl.AYTDL import main

dependencies.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
toml
2+
pathlib
3+
argparse
4+
toml
5+
music_tag

0 commit comments

Comments
 (0)