📜 ⬆️ ⬇️

Watch TV shows with subtitles in 2 clicks


I, like most, watch a lot of TV shows. And, in order not to wait for the translation, I look in the original with subtitles. Because of this, downloading a series sometimes turns into an adventure. I wanted to optimize this process. I somehow did not dare to do a web application, therefore meet the series_list . It:


Installation


Ubuntu


For ubuntu, just add ppa and install the package:
sudo add-apt-repository ppa:nvbn-rm/ppa sudo apt-get update sudo apt-get install series-list 

Other distributions


It's more complicated. First you need to install libtorrent , then:
 git clone https://github.com/nvbn/series_list.git cd series_list git checkout master python setup.py install 

What's inside




The interface is made on PySide (Qt), downloading and receiving series is spinning in QThread.

To receive pictures and subtitles for one series, you need to make 4 http requests. Without using any concurrency framework, this happened for a very long time, so I had to use gevent. But he did not want to be friends with PySide, because of this, he had to fence 2 processes.
')
Due to the fact that one process is not friendly with Qt, I had to abandon QSettings and make my own miracle implementation of storing settings.

Data providers can be changed through the settings, but so far only eztv, addicted and imdb are available. If you wish, you can write your own and make pull request =)

Links


github project ;
ppa with project .

Source: https://habr.com/ru/post/204134/


All Articles