-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spotify to Plex #30
Comments
This is the directory where all your music is stored, as seen by Plex. For example, if Plex is running on the same server your music is stored, it might be a local directory, if it's running inside a container it might be a mount.
This is the same as above, where your music is stored, however relative to ultrasonics. If ultrasonics is running in a different container or on another computer with an NFS mount or something, the path might be different to how Plex would access. If both ultrasonics and Plex are running on the same computer, on bare metal, the two fields are likely the same :) Your error looks like it's failing somewhere in this function, when the non-persistent plugin settings screen is returned. ultrasonics/ultrasonics/webapp.py Lines 178 to 255 in 9493d83
Maybe this bit is causing the issue, if for some reson Flask is taking this response as the html to view if request.form.get('action') == 'test':
response = plugins.plugin_test(plugin, version, data, component)
sio.emit("plugin_test", response)
return Could you try set up a different plugin with a 'test' option and see if it gives the same error? It seemed to be fine when I was writing it so not sure why it would be acting differently. |
So I tried to set up the ultrasonics plugin and tested it. similar error it seems:
|
Have a go with the latest commits on the 1.1.0 branch. I've hopefully fixed the error you were having :) |
So the applet is running successfully (and has a check mark beside the plugin after running) but I'm not seeing the playlists on my plex update. There are a few invalid songs listed but otherwise, everything is a success. any suggestions for debugging?
|
Hmm, have you already got existing playlists in Plex which match the ones you're trying to sync? IIRC the Plex API will create a new playlist, even if an existing one with the same title already exists. I don't like the look of all those 500 errors. Is that the case for all the playlists you're trying to sync? Are you able to run Python in debug mode with break points? If you know how to do that it could be useful to break after ultrasonics creates temporary playlists to have a look at them. Another thought is if Plex is unable to access the temporary playlists being created (maybe a path or permissions issue in config?). It's a shame Plex doesn't return more detailed error information ;) p.s. Thanks for the tip! :D |
Hi again! I've had a few people with issues synching with Plex, so I've started writing a new version of the up_plex plugin. It's currently available on the new https://github.com/XDGFX/ultrasonics/tree/1.2.0 branch, could you please download that and try syncing with the new 'plex beta' plugin instead, and let me know how you get on? Thanks! |
Is it possible to update the dockerhub repo? I'd rather deploy it that way to use and it seems the last version is not there yet |
So I tried running 1.2.0, but it crashes immediately. The python window closes immediately and unfortunately I can't see the error causing it to crash. I had tried to roll back to 1.1.0 but my files seem to be messed up still. I made a few plug-ins before and want to try and bring it back to a new install, which folders would I need to copy over? Edit: I figured it out and it was the config folder. |
@rodrigorodrigo I've just updated all the Docker tags, the Try pulling the |
@Captain-Wiggles |
I'm trying the The only thing I found out up until now are the big blanks on log while executing the script that makes it a bit harder to read. EDIT: Any chance on releasing it on unraid? I can set the template there if you need to as I am running it. |
Good to hear! Those blanks are due to I did look into an Unraid release but I haven't managed to get anything yet. I also don't have Unraid running anywhere currently. If you have a template already that you wouldn't mind posting that would be really helpful! |
Hi again, apologies for the multiple issues but I've spent a few hours trying to figure all these out with no luck and your program seems to be a game changer so I'd really like to get it going :)
I'm trying to link my spotify playlists to plex and wanted a few clarifications:
Music Directory (from Plex): This is the directory where all my music is stored, correct?
Music Directory (from ultrasonics): I'm not sure I completely understand what this folder is for. My understanding is that plex will copy songs to create the playlists here? or am I misunderstanding?
For my testing, I've used the same directory for both and am receiving the following error:
The last line looks to be the error, and I couldn't figure out where to start digging to debug. Any guidance appreciated!
The text was updated successfully, but these errors were encountered: