Giter Club home page Giter Club logo

spotifarr's People

Contributors

pycoding-a avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

dvdgorila

spotifarr's Issues

Cant run

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'

Doesn;t create folder is not exists

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$ 

Emojis in playlist names breaks the script

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>

Wont update playlists

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?

Error

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

IndexError: list index out of range

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`

unsupported operand type(s)

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'

Create Plex playlist without downloading

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.

Does not grab all playlists

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?

Nothing happens

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]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.