Comments (23)
Are you sure no errors were shown? I tried the exact same command and its working all right. I also have v0.1-r8. Did you try with other songs.??
from ytmdl.
Yup, I have also tried across distributions and multiple computers. Both Arch and Ubuntu, between 3 different computers. No error, not even an error code being sent back to the terminal. Exit status 0. Also I have tried multiple songs, with url, without, the only thing I can get it to do is help and version.
from ytmdl.
Can you please try the latest version?
First uninstall ytmdl by following
sudo pip uninstall ytmdl
Then install it again with the following
sudo pip install --no-cache-dir ytmdl --upgrade
And then setup config by -s flag and try.
from ytmdl.
Just did that, still nothing on all machines, its still v0.1-r8.
from ytmdl.
Please do the above steps again. Pypi takes a bit time. Please run the exact commands i gave you.
from ytmdl.
What is the version number I am looking for so I know I have gotten the correct version?
from ytmdl.
Can you check the version of installed by checking the output returned by
sudo pip install --no-cache-dir ytmdl --upgrade
If it shows version is post9 than its r9. Also, did you try ytmdl -s
?
from ytmdl.
Ah it does say post9 on the install but ytmdl- -version
returns v0.1-r8
still. Just wanted to make sure. Also Yes, I have run the commands exactly as you sent them to uninstall and reinstall, ran ytmdl -s
, verified the config file was created, still absolutely no output or errors with and without specifying a url, on 2 laptops and a desktop, Ubuntu and Arch.
from ytmdl.
Clone the repo.
Then move to the dir and run following
python ytmdl.py "Fractures"
Please tell me if that works
from ytmdl.
It does not, same behavior
from ytmdl.
I guess it should be fixed now. I just uploaded post10 but --version will show r9, don't worry about that, check the version that pip shows. I am pretty sure its fixed now. Please uninstall and install using the command i gave you earlier
from ytmdl.
Ok nice, it gets to ==> Searching Youtube for Fractures
, now i get
Traceback (most recent call last):
File "/home/micah/.local/lib/python3.5/site-packages/ytmdl/yt.py", line 72, in search
data = scan_video(url)
File "/home/micah/.local/lib/python3.5/site-packages/ytmdl/yt.py", line 89, in scan_video
data = requests.get(search_url).json()
File "/usr/local/lib/python3.5/dist-packages/requests/models.py", line 892, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.5/json/__init__.py", line 319, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/micah/.local/bin/ytmdl", line 168, in <module>
main()
File "/home/micah/.local/bin/ytmdl", line 100, in main
data, urls = yt.search(song_name)
File "/home/micah/.local/lib/python3.5/site-packages/ytmdl/yt.py", line 75, in search
video.append(data)
UnboundLocalError: local variable 'data' referenced before assignment
from ytmdl.
Sorry about that. I am currently looking into that. Did you try with other song names?
from ytmdl.
Yeah, I have tried multiple songs, haven't gotten anything to work.
from ytmdl.
Can you please try the following.
Clone the beta branch to a directory
Then run following
python ytmdl.py "Fractures"
from ytmdl.
If it prints error, please gimme the log
from ytmdl.
That one seems to work
from ytmdl.
Everything is working??
from ytmdl.
Can you please try the steps again an try?? I mean clone the beta again and try. ??
from ytmdl.
Ok, it works almost perfectly. Now if I specify something that isn't the first option for song data, the song gets put in the wrong folder. Correct information and correct meta data, but is put in the folder structure of the wrong album and artist
❯ python3 ytmdl.py --url "https://www.youtube.com/watch?v=yRMwlRmHfEI" "Brighter"
==> Downloading Brighter in 320kbps
==> Downloaded!
==> Getting song data...
==> Data downloaded!
==> Setting data...
==> Choose One
[1] Brighter by Hillsong Young & Free
[2] Brighter by RÜFÜS DU SOL
[3] Maybe by Brighter
[4] Summer Becomes Winter by Brighter
[5] Noah's Ark by Brighter
[0] More results
==> Enter Choice [a valid choice] 2
==> ================================
|| YEAR: 2016-01-22T08:00:00Z
|| TITLE: Brighter
|| ARITST: RÜFÜS DU SOL
|| ALBUM: Bloom
|| GENRE: Electronic
|| TRACK NO: 1
|| ALBUM COVER ADDED
==> ================================
==> Moving to /home/micah/Music/My Music/Hillsong Young & Free/We Are Young & Free (Live)...
==> Done
from ytmdl.
That error should be fixed now.
Uninstall ytmdl and install it by the following commands
sudo pip uninstall ytmdl
sudo pip install --no-cache-dir ytmdl --upgrade
from ytmdl.
I am getting a hang on Downloading ....
It doesn't matter if I pass in a URL or I select one from the list, it never downloads. Also this is version 0.2.post3
from ytmdl.
Weird. I made some changes in downloading, that might be the issue. Anyways move to the previous version vy uninstalling and then installing post2 by following
sudo pip install ytmdl==0.2.post2
from ytmdl.
Related Issues (20)
- Fetching metadata from yt-dlp using --add-metadata HOT 7
- Filename control from CLI HOT 5
- Ytmdl skipping meta without flags and deleting the downloaded file. HOT 1
- Why does it output 320 kbps MP3? HOT 2
- Super annoying to tag playlist HOT 1
- Automatic skipping of songs already HOT 1
- Didn't work: complaining about iTunes... HOT 7
- ytmdl --list YOUTUBE_PLAYLIST_URL ====> YOUTUBE_PLAYLIST_URL is empty HOT 1
- Question
- Allow overriding ytmdl config file every run HOT 9
- Windows "|" in song name issue again HOT 1
- Zombie files buildup HOT 1
- Saavn songs doesn't have 100x100 album art HOT 1
- Add sponsorblock support HOT 1
- [Bug] Errors from missing videos in playlists don't seem to be handled gracefully.
- [Premium Youtube Music] can't download premium only songs! HOT 1
- Crash on ampersand in artist HOT 2
- "UnicodeEncodeError: 'charmap' codec can't encode character" when trying to download a song. HOT 3
- [FEATURE REQUEST] Consider dropping/replacing ffmpeg-python dependency because of future transitive dependency HOT 2
- Add support for showing `album name` in the metadata results
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ytmdl.