Guilhem23 / Jackett_Indexerr

Simple Python script to create and update indexers from Jackett to Radarr, Sonarr and Lidarr
BSD 3-Clause "New" or "Revised" License
63 stars 5 forks source link

Clarify instructions in readme #1

Open northernpowerhouse opened 4 years ago

northernpowerhouse commented 4 years ago

It just says make run, but which script should we run? snippets of the commands to actually run from start to finish would be nice as well as this software attracts filthy casuals like me.

Guilhem23 commented 4 years ago

Hi, thanks for your comment. On which OS are you trying to run the script ? can you please describe the issue you are seeing and what is really blocking you.

make run is a command to type in your shell to start Makefile invocation.

the commands to run the script are below: $ make pipenv-install this command install all environment needed by this python script $ make run execute the script. (You can also run manually pipenv run add_indexer.py)

Makefile execute all commands needed

https://github.com/Guilhem23/Jackett_Indexerr/blob/master/Makefile

Spykerwolf commented 3 years ago

Did you get it sorted? I'm having the same problem. Cloned the repo using Github Desktop Ran config.py once to generate config.ini Replaced jackett_apikey & apikey with my jackett API key. Ran add_indexer.py but nothing happened. Sorry I'm a noob! Any help appreciated thanks.

Guilhem23 commented 3 years ago

@Spykerwolf can you please paste your config file here without apikey and command used to run?

thx

Spykerwolf commented 3 years ago

Hey man. Sure thing - here you go. I'm on Windows 10 x64 - tried double clicking on add_indexer.py to run it.

[default] jackett_apikey = MYAPI_FROM_JACKETTKEY jackett_url = http://127.0.0.1:9117 indexer_prefix = AUTO:

[sonarr] apikey = MYAPI_FROM_JACKETTKEY url = https://localhost/sonarr/api/ categoryprefixes = ['TV'] animecategoryprefixes = ['Anime', 'TV']

[radarr] apikey = MYAPI_FROM_JACKETTKEY url = https://localhost/radarr/api/ categoryprefixes = ['Movies'] animecategoryprefixes = ['Anime', 'Movies']

[lidarr] apikey = MYAPI_FROM_JACKETTKEY url = https://localhost/lidarr/api/v1/ categoryprefixes = ['Audio']

Guilhem23 commented 3 years ago

humm ok Windows 10... never tried on windows. Have you tried to use make run from a powershell command instead of double clicking on the python script?

Spykerwolf commented 3 years ago

So I got make pipenv-install & make run to work, however it's giving me another error now. Am I suppose to change the URLs in the config.ini file?

makeRun

Config file:

[default] jackett_apikey = MYAPIKEY jackett_url = https://localhost/jackett indexer_prefix = AUTO:

[sonarr] apikey = MYAPIKEY url = https://localhost/sonarr/api/ categoryprefixes = ['TV'] animecategoryprefixes = ['Anime', 'TV']

[radarr] apikey = MYAPIKEY url = https://localhost/radarr/api/ categoryprefixes = ['Movies'] animecategoryprefixes = ['Anime', 'Movies']

[lidarr] apikey = MYAPIKEY url = https://localhost/lidarr/api/v1/ categoryprefixes = ['Audio']

I've also tried changing the urls in the config.ini file to match the url when I access it on my browser. For example http://localhost:PORT

Spykerwolf commented 3 years ago

Just checking to see if you had a chance to read my last comment?