pycoding-a / spotifarr Goto Github PK
View Code? Open in Web Editor NEWSpotifarr
Spotifarr
When I run python3 main.py i get this error
Traceback (most recent call last):
File "main.py", line 4, in
from modules.plex import *
File "/home/administrator/sp/Spotifarr/modules/plex.py", line 3, in
from plexapi.server import PlexServer
ModuleNotFoundError: No module named 'plexapi'
Ran into this error....
Updating database with 3 playlists: [Traceback (most recent call last):
File "/home/dulanic/git/Spotifarr/main.py", line 9, in <module>
spotify_c().update_playlists()
File "/home/dulanic/git/Spotifarr/modules/spotify_db.py", line 82, in update_playlists
"location": location_folder(clean_up_text(playlist['name']), self.path_music),
File "/home/dulanic/git/Spotifarr/modules/config_handler.py", line 21, in location_folder
os.mkdir(folder_playlist)
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/btrfs/music/My Playlist'
(venv) abc@680a903a76d6:/home/dulanic/git/Spotifarr$
Lets say you have the emoji πΉin your playlist name unicode \U0001f379
it would break the script with the following error
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f379' in position 37: character maps to <undefined>
Everytime I run the script it keeps showing the same playlists and wont update the playlist from the account. I tried changing the client key but that didn't fix it. Even after I checked the keys to all be correct. It there a known fix?
I am seeing this error.
(venv) dulanic@mediaserver:~/git/Spotifarr$ python main.py
Updating the playlists
Updating database with 3 playlists: [UUU]
Updating the locations
My Playlist with 40: [========================================]
Goodbye Octane with 1102: [Traceback (most recent call last):
File "main.py", line 13, in <module>
build_track_location()
File "/home/dulanic/git/Spotifarr/modules/youtube_to_mp3.py", line 71, in build_track_location
location = location_file(name, ps[2])
File "/home/dulanic/git/Spotifarr/modules/config_handler.py", line 26, in location_file
for (dir, subdirs, files) in os.walk(path):
File "/usr/lib/python3.8/os.py", line 339, in walk
top = fspath(top)
TypeError: expected str, bytes or os.PathLike object, not NoneType
Me again!
Running the tool this morning after a first successful run last night, I'm now encountering this issue - I pull down the first video and then received the following error:
`Traceback (most recent call last):
File "C:\Users\jedi9\Documents\Spotifarr-main\main.py", line 24, in <module>
download_missing()
File "C:\Users\jedi9\Documents\Spotifarr-main\modules\youtube_to_mp3.py", line 99, in download_missing
if music(track[1] + " - " + track[0]).download_in(ps[2],i,ps[0]):
File "C:\Users\jedi9\Documents\Spotifarr-main\modules\youtube_to_mp3.py", line 52, in download_in
video_url = videosSearch.result()['result'][0]['link']
IndexError: list index out of range`
Hello, I'm getting this error. Any help is appreciated.
Download missing
Traceback (most recent call last):
File "C:\Users\Server\Desktop\spotifarr\main.py", line 24, in
download_missing()
File "C:\Users\Server\Desktop\spotifarr\modules\youtube_to_mp3.py", line 99, in download_missing
if music(track[1] + " - " + track[0]).download_in(ps[2],i,ps[0]):
File "C:\Users\Server\Desktop\spotifarr\modules\youtube_to_mp3.py", line 39, in download_in
self.option['outtmpl'] = path_to_save + "/" + self.video_title + '.%(ext)s'
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
This is a great tool and something I have been looking for. Wondering if it is possible to just match the existing files in Plex and create a playlist. Something that would just transfer the playlist from Spotify to Plex and match whatever tracks that can be matched. Bonus points, if it can highlight which tracks were not matched.
The script seems to grab the playlists I have created; however, it does not grab playlists that I am subscribed to, or playlists that I have created and then made into collaborative playlists. Can these be added?
Running on windows 10, Installed everything in the requirements.txt with python 3.9.7.
I double click the main.py, command prompt opens and closes immediately. Only thing in the log_spotifarr is
Log of [2021-10-20 16:42:28.731298]
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.