Add Napisy24 provider #437
Conversation
| Is it normal to have username and password hard coded in your PR? |
| Yes, kinda, you have to write to the admins that you want an account with api access, and they create it for you. I had it first where you can configure the username/password but thought it was unnecessary since as far as I know the normal user accounts dont work anyway, so that could cause confusion. |
| I guess I could add it back with a tooltip that says that you can only use accounts with api access? |
| Yes and you could make it as an always visible text to be sure user see it. I would me more inclined to merge this if it doesn't rely on your username and password... :-) |
| Will do. The account is not really mine, it was created just to be used as default for subliminal, but they seem to not merge providers. QNapi also has its own default account. Anyway, ill add it just to have it as an option. |
| Added as a tooltip because I could not make it look nice. Also switched to subliminal_patch imports. OOT: I think it would be better to fork subliminal and merge the subliminal_patch changes because it will get out of hand. And some unit tests for faster debugging/development would be nice. Spent like an hour just to modify bazarr for fast provider test. Just a suggestion, dont know if this is planned. |
| Good works! Thanks by the way :-) About merging subliminal and subliminal_patch, I've spoken with @pannal and it's out of question for now. We are both missing time to do this. About unit testing, it's something I've been thinking about for a year but never toke the time to write some. |
| Sorry for writing here but I have a few questions because im still finding stuff that I think should be added to this.
Thanks |
Pretty much the same as /subliminal/#787, just slightly simplified.