abulimov / lyricstagger Goto Github PK
View Code? Open in Web Editor NEWLyrics Tagger - tool to download lyrics for music files and write it into file tag
License: MIT License
Lyrics Tagger - tool to download lyrics for music files and write it into file tag
License: MIT License
It would be useful if it's possible to add m4a support (aac, alac). Thanks.
$ lyricstagger tag music
Tagging... [------------------------------------] 0%Exception in thread Thread-3:
Traceback (most recent call last):
File "/nix/store/pa7ad0v5hs8amap6j09dh72cwc36l0sv-python3-3.11.3/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
self.run()
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/engine.py", line 26, in run
self.action(self.logger, filepath)
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/actions.py", line 17, in tag
lyrics = misc.fetch(data["artist"],
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/misc.py", line 24, in fetch
lyrics = helper.fetch(artist, song, album)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/helpers/darklyrics.py", line 245, in fetch
album_page = self._get_album_page(artist, album)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/helpers/darklyrics.py", line 227, in _get_album_page
artist_page = self._get_artist_page(artist)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/helpers/darklyrics.py", line 206, in _get_artist_page
artist_link = self.parse_artist_link(search_page)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/helpers/darklyrics.py", line 117, in parse_artist_link
soup = BeautifulSoup(data, "html.parser")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/bs4/__init__.py", line 315, in __init__
elif len(markup) <= 256 and (
^^^^^^^^^^^
TypeError: object of type 'NoneType' has no len()
Exception in thread Thread-2:
Traceback (most recent call last):
File "/nix/store/pa7ad0v5hs8amap6j09dh72cwc36l0sv-python3-3.11.3/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
self.run()
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/engine.py", line 26, in run
self.action(self.logger, filepath)
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/actions.py", line 17, in tag
lyrics = misc.fetch(data["artist"],
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/misc.py", line 24, in fetch
lyrics = helper.fetch(artist, song, album)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/helpers/darklyrics.py", line 245, in fetch
album_page = self._get_album_page(artist, album)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/helpers/darklyrics.py", line 227, in _get_album_page
artist_page = self._get_artist_page(artist)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/helpers/darklyrics.py", line 206, in _get_artist_page
artist_link = self.parse_artist_link(search_page)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/helpers/darklyrics.py", line 117, in parse_artist_link
soup = BeautifulSoup(data, "html.parser")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/bs4/__init__.py", line 315, in __init__
elif len(markup) <= 256 and (
^^^^^^^^^^^
TypeError: object of type 'NoneType' has no len()
Exception in thread Thread-1:
Traceback (most recent call last):
File "/nix/store/pa7ad0v5hs8amap6j09dh72cwc36l0sv-python3-3.11.3/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
self.run()
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/engine.py", line 26, in run
self.action(self.logger, filepath)
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/actions.py", line 17, in tag
lyrics = misc.fetch(data["artist"],
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/misc.py", line 24, in fetch
lyrics = helper.fetch(artist, song, album)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/helpers/darklyrics.py", line 245, in fetch
album_page = self._get_album_page(artist, album)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/helpers/darklyrics.py", line 227, in _get_album_page
artist_page = self._get_artist_page(artist)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/helpers/darklyrics.py", line 206, in _get_artist_page
artist_link = self.parse_artist_link(search_page)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/helpers/darklyrics.py", line 117, in parse_artist_link
soup = BeautifulSoup(data, "html.parser")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/bs4/__init__.py", line 315, in __init__
elif len(markup) <= 256 and (
^^^^^^^^^^^
TypeError: object of type 'NoneType' has no len()
Exception in thread Thread-4:
Traceback (most recent call last):
File "/nix/store/pa7ad0v5hs8amap6j09dh72cwc36l0sv-python3-3.11.3/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
self.run()
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/engine.py", line 26, in run
self.action(self.logger, filepath)
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/actions.py", line 17, in tag
lyrics = misc.fetch(data["artist"],
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/misc.py", line 24, in fetch
lyrics = helper.fetch(artist, song, album)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/helpers/darklyrics.py", line 245, in fetch
album_page = self._get_album_page(artist, album)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/helpers/darklyrics.py", line 227, in _get_album_page
artist_page = self._get_artist_page(artist)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/helpers/darklyrics.py", line 206, in _get_artist_page
artist_link = self.parse_artist_link(search_page)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/lyricstagger/helpers/darklyrics.py", line 117, in parse_artist_link
soup = BeautifulSoup(data, "html.parser")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/casual/Downloads/venv/lib/python3.11/site-packages/bs4/__init__.py", line 315, in __init__
elif len(markup) <= 256 and (
^^^^^^^^^^^
TypeError: object of type 'NoneType' has no len()
^C
-----
Processed 4 files, operations summary:
Tags written: 0, Tags removed: 0,
Lyrics missing: 0, Lyrics not saved: 0
Aborted!
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.