glubsy / livestream_saver

Monitor a Youtube channel and download live-streams from the first segment
GNU General Public License v3.0
328 stars 39 forks source link

Issues with installing Docker image #88

Open lilpetamoix opened 3 weeks ago

lilpetamoix commented 3 weeks ago

Hello, I'm having issues with installing the docker image in Synology.

I ran the following command in Synology.

docker run --mount type=bind,src="/volume1/homes/Docker/livestream_saver/config",target="/root/.config/livestream_saver" --mount type=volume,src="downloads",target="/volume1/homes/Docker/livestream_saver/downloads" glubsy/livestream_saver:0.2.0

The error I get is below.

livestream_saver.py: error: argument sub-command: invalid choice: '/bin/sh' (choose from 'monitor', 'download', 'merge', 'test-notification')

The container does get installed; however, when I try to run it, it shuts down with the same error message above.

Any help would be greatly appreciated.

glubsy commented 2 weeks ago

As mentioned in the Readme, you have to specify the mode you wish to run and the section of the config file you want to use. In your case you would have to append monitor -s <section_name> to your docker run command.

I have updated the docker hub page accordingly just now.