diff --git a/deemix/types/Track.py b/deemix/types/Track.py index edf72a1..523384f 100644 --- a/deemix/types/Track.py +++ b/deemix/types/Track.py @@ -152,6 +152,10 @@ class Track: if not self.copyright: self.copyright = albumAPI_gw['COPYRIGHT'] self.parseTrack(trackAPI) + # Remove unwanted charaters in track name + # Example: track/127793 + self.title = ' '.join(self.title.split()) + # Make sure there is at least one artist if not len(self.artist['Main']): self.artist['Main'] = [self.mainArtist['name']] diff --git a/updatePyPi.sh b/updatePyPi.sh index ba2e698..9c400e0 100755 --- a/updatePyPi.sh +++ b/updatePyPi.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash rm -rd build rm -rd dist -bump -bump deemix/__init__.py +python -m bump +python -m bump deemix/__init__.py python3 setup.py sdist bdist_wheel python3 -m twine upload dist/*