GingerSnap96 / Radarr-To-Plex-Collections

C# console application that creates movie collections in Plex based on collections in Radarr.
GNU General Public License v3.0
4 stars 0 forks source link

LibraryName setting in config.json #2

Closed splatcosmo closed 8 months ago

splatcosmo commented 8 months ago

Neophyte, sorry... using Win11 system, cannot figure out how to correctly render the "LibraryName" setting in config.json

All other settings seem OK. I've tried several options with no luck. Thanks

GingerSnap96 commented 8 months ago

Happy to assist, could you provide your config.json (with plex and radarr tokens removed) so I can review for potential issues? Also, have you reviewed the output log for any potential error messages? The log file gets created in a logs folder where the application runs from.

splatcosmo commented 8 months ago

Here ya go, thanks. I checked the log files to correct the info up until the "LibraryName" point. I just can't figure out what to name it.

log-2024-02-27_14-55-07.txt config.json

GingerSnap96 commented 8 months ago

Looks like it doesn't find that library within your plex server. Library name should be the name of the library within plex that contains your movies. Verify the name of the library and that it is set to a "Movie" library type, this setting is found under Manage > Libraries > {LibraryName}

2024-02-27_15h56_55
splatcosmo commented 8 months ago

Thanks. Yes, I have a library named "Movies" (with U.S.-based feature films) and another called "Cinema" (which includes foreign films and other stuff). I've tried both, with and without quotes. Both libraries are indeed set to the "Movie" type.

GingerSnap96 commented 8 months ago

Try opening the following URL (with your token) in a browser and look at the values in the title field. Verify there are no hidden characters / spaces or better yet, directly copy the value into the config.json. http://localhost:32400/library/sections?X-Plex-Token=YOURTOKEN

2024-02-27_16h42_27
splatcosmo commented 8 months ago

Thanks and apologies, been AFK. This is pulling up Plex music libraries, but no movie ones. I have two servers, and I think it's trying to pull from the music server rather than the movie/TV server. I'll play with it a bit more and see what I can figure out.

splatcosmo commented 8 months ago

Tried plugging in the Plex token from the movies server, but still got the error. Then I tried doing it on another machine (where the second server is based) and it seems to be working. I may have to add Radarr to that 2nd machine to get wanted results, but consider this fixed for the time being. I appreciate your help and the work you've put into this.

GingerSnap96 commented 8 months ago

Glad you got it figured out! keep in mind that you do not need to run this application directly on the machine you have plex or radarr. You can instead reference the IP address of the machine on your local network. Change Localhost to the ip address and keep the port for the service and you should get the results you expect! config.json