Requires pip:
$ sudo apt-get install python-pip
$ pip install --upgrade pip
Requires pychromecast:
$ git clone https://github.com/balloob/pychromecast
$ cd pychromecast
$ pip install -r requirements.txt
$ pip install . --user
Requires python-instagram:
$ git clone https://github.com/facebookarchive/python-instagram
$ cd python-instagram
$ pip install -r requirements.txt
$ pip install . --user
Run the Python lib:
$ python -m com.guido.photochromecast.App
Type help for help on commands.
> web [folder]
will create a web server on port 8080, with selected folder as root.
> stopWeb
will stop the web server.
> find
will find reachable (in your subnet) Chromecasts.
> connect <name>
will connect photochromecast to the desired Chromecast, given the name.
> stop
will stop current casting (if active) and disconnect from Chromecast.
> cast
will start iterating on the selected folder, file by file.
> pause | resume
will pause/resume current slideshow.
> skip
will skip to the next media.
> time <timeout>
will change the slideshow timeout (accepts values in range [1,60])
> rm [filename]
will remove current displayed media from the slideshow list or remove the passed one. It's possible to remove directly files from the served folder too (same expected behavior).