McCloudS / subgen

Autogenerate subtitles using OpenAI Whisper Model via Jellyfin, Plex, Emby, Tautulli, or Bazarr
MIT License
532 stars 48 forks source link

Could someone explain how to install? #4

Closed enrique131 closed 1 year ago

enrique131 commented 1 year ago

Hi, I am able to follow some of the instructions: Plex and tautulli are connected (both in docker in synology). I can create the webhook (i have another to send to trakt.tv what i watch on plex working) with no issues. But the rest i am not sure how to proceed, when i read this: "The docker-compose/Dockerfile settings are relatively straightforward (and poorly commented)." i am lost.

I am thinking maybe without the docker, via terminal adding: "wget https://raw.githubusercontent.com/McCloudS/subgen/main/subgen/subgen_nodocker.py apt-get update && apt-get install -y ffmpeg git gcc python3 pip3 install webhook_listener python3 -u subgen_nodocker.py"

but then how can i edit the volumes locations? Sorry if that is too obvious. If someone can point me in the right direction i will appreciate it.

McCloudS commented 1 year ago

Are you using docker-compose or synology's built in webui?

I've cleaned up the implementation and deployment quite a bit now, so you can now just use the image regularly by using mccloud/subgen as the image name and implementing whichever arguments you want from the readme.

enrique131 commented 1 year ago

Synology webui is a bit more fail-safe for me. So i think i managed to install it. But even with the same volume as Plex (only needed the shows) it breaks my Plex. I am unable to play anything and it break my menu. If i disable McCloudS/subgen, it works again. Not sure what i am doing wrong

McCloudS commented 1 year ago

I have some pretty substantial upgrades coming down the road, like removing Tautulli and solely using Plex webhooks. I'll let you know. It should be easier to install as well.

McCloudS commented 1 year ago

Give it another shot using the docker image in the instructions. The only thing that MUST be set are going to be network mode in host, and the PLEXTOKEN/PLEXSERVER environment values. I assume you should be able all of that in DSM, but i'm not familiar with it.

enrique131 commented 1 year ago

You kill me here... webhooks are for plex pass and i wont get plex pass until they allowed me to skip less than 30 seconds... is a personal issue for me. I managed to follow the new instructions and i can tell you that i can install, and plex works when the ubgen docker is active, but it fails too. It takes a few trial and error to be able to play something. RAM is at 860Mb on synology, but i don't know if i have to wait to it to subtitle the whole tvshow folder or how it works now. I wish i could limit that to individual folders, like 1 show only. Basically it slows down the NAS so much is unusable. I am sure i am doing 100 things wrong.

McCloudS commented 1 year ago

Sounds like you're RAM and CPU constrained. The whisper model heavily uses both.

enrique131 commented 1 year ago

I am using this: https://www.synology.com/en-us/products/DS220+#specs So maybe you are right. Thanks for your time.