Posts by edjalmo

    It's working now!

    When he made the modifications I mentioned before, he already fixed! Just doesn't work because I had a cache of the previous version. I cleaned

    docker run --rm --name subliminal -v subliminal_cache:/usr/src/cache -v /var/media:/var/media -it dtroncy/rpi-subliminal cache --clear-subliminal and now it working!

    Thank you very much Iridium for helping!


    For the record:

    For install it you need docker first Add-ons > Install from repository > LibreELEC Add-ons > Services > Docker

    and after just need to do docker pull dtroncy/rpi-subliminal

    This is how I use it on cron for searching for subtitles, in just one provider, in pt-BR language, at every 6 hours:

    Code
    1. 0 */6 * * * docker run --rm --name subliminal -v subliminal_cache:/usr/src/cache -v /var/media:/var/media -it dtroncy/rpi-subliminal --legendastv username password download -p legendastv -l pt-BR -a 1w /var/media/Seagate\ Backup\ Plus/Kodi/Filmes/ /var/media/Seagate\ Backup\ Plus/Kodi/Seriados/

    More info: Welcome to subliminal! — subliminal 2.1.0.dev documentation and GitHub - dtroncy/docker-rpi-subliminal: DockerFile for Subliminal on Raspberry PI

    I've noticed that the filename mentioned in "download -l en Creed\ \(2015\)\ Bluray-1080p.mkv"

    Yeah, I know this! I was using this directory because for test I just download one subtitles, and not all.

    And this is working, what is not working is just opensubtitles and legendastv. I'm brazilian and I prefer the subtitles of legendastv.


    I test your docker pull iridium748/rpi3-subliminal and for legendastv is working!

    This is my command in cron

    Code
    1. 0 */6 * * * docker run --rm --name subliminal -v subliminal_cache:/usr/src/cache -v /var/media:/var/media -it iridium748/rpi3-subliminal --legendastv username password download -p legendastv -l pt-BR -a 1w /var/media/Seagate\ Backup\ Plus/Kodi/


    Opensubtitles don't work because

    Quote

    error is related to SSL (https connection), most likely the docker image has no certificates at all, and can't validate any SSL connections.

    But legendastv was because it had no unrar and you put it on. Thank you! :)


    Do you know how to put SSL certificates on it?

    What I wanted you to do is only reboot rtorrent, not LibreELEC, because if the issue not persisted the problem would be with the storage not mounted yet.

    1. rtorrent service was stopped using systemctl stop service.rtorrent.service

    2. libreelec was rebooted using reboot now

    3. after system reboot, rtorrent service was working (without manual restart) and all current (seeded) torrents, currently downloading and other were fine without any issue

    But if you did this and the issue not persist your problem is another thing. Weird :/

    januszmirek sorry, but I don't understand this part: you reboot only rtorrent service, after you recheck the downloads manually, and the issue still persist?


    This issue with rechecking torrents and error after reboot is not happend with Transmission. I rebooted several times and don't see it again (this only happens one time to me). The issue that still persist here is on download folder, like I mentioned.

    The issue is every time I restart libreeelc, all seeded torrents change status to Pause (under rtorrent) or Error (under deluge).

    Try reboot only rtorrent and deluge (after the external storage has been mounted) and see if it still happening

    systemctl restart service.rtorrent.service or systemctl restart service.deluge.service

    I think you can help with this Iridium

    Seeing debugs of subliminal show this

    Code
    1. raise RarCannotExec("Unrar not installed? (rarfile.UNRAR_TOOL=%r)" % UNRAR_TOOL)
    2. RarCannotExec: Unrar not installed? (rarfile.UNRAR_TOOL='unrar')

    Full debug here:

    I installed System Tolls addon like I saw here, but the same still happen after, you know why?

    How can I verify unrar installed version?

    It seems that this is not the problem. He said this

    Quote

    is because `unrar` is not installed in the docker image as well

    Sorry!

    No wonder it did not work. You changed location to external drive so the same issue is expected to occur in this case. Try changing to internal storage, something like storage/tvshows/, etc. That should work. If it does, time delay could definitely be an option.

    But I did this and reboot only Transmission after the external storage has been mounted.

    I tried with storage/tvshows/ and the same happens, back to /storage/.kodi/userdata/addon_data/service.transmission/downloads

    I think you can help with this Iridium

    Seeing debugs of subliminal show this

    Code
    1. raise RarCannotExec("Unrar not installed? (rarfile.UNRAR_TOOL=%r)" % UNRAR_TOOL)
    2. RarCannotExec: Unrar not installed? (rarfile.UNRAR_TOOL='unrar')

    Full debug here:

    I installed System Tolls addon like I saw here, but the same still happen after, you know why?

    How can I verify unrar installed version?

    Another thing I noticed is it the download folder always change to default (/storage/.kodi/userdata/addon_data/service.transmission/downloads) when I reboot the system. At least in Transmission client.

    This problem is not related to startup time. I changed the download folder and reboot only this service, after everything was set up, and the problem persisted.

    This might help. If it was fixed in 2018 - the docker file is therefore out of date and will probably not work.


    I ask there for help too. This is the issue page: How make Subliminal work on docker? · Issue #954 · Diaoul/subliminal · GitHub


    I will put this thread like solved, as I asked here help for install it, and this I did it! On official git still having commits, maybe I make it work yet!

    Thank you very much Iridium for the help :)

    Will the Kodi addons legandastv and opensubtitles do what you want?

    Yeah, but not in automatically way!

    My plan is use this command with cron

    docker run --rm --name subliminal -v subliminal_cache:/usr/src/cache -v /var/media/Seagate\ Backup\ Plus/Kodi:/var/media/Seagate\ Backup\ Plus/Kodi/ -it dtroncy/rpi-subliminal --legendastv username password download -l pt-BR -p legendastv -a 1w /var/media/Seagate\ Backup\ Plus/Kodi/

    Yeah! It work!

    But I can't logged in to the providers. I did this:

    Code
    1. docker run --rm --name subliminal -v subliminal_cache:/usr/src/cache -v /var/media/Seagate\ Backup\ Plus/Kodi:/var/media/Seagate\ Backup\ Plus/Kodi/ -it dtroncy/rpi-subliminal --legendastv username password download -l pt-BR -p legendastv -a 1w /var/media/Seagate\ Backup\ Plus/Kodi/

    But it show Some providers have been discarded due to unexpected errors: legendastv

    The same with opensubtitles.


    This is sad ?(

    However, it's not too reliable. Sometimes it will download a srt file, other times, it say's it has but nothing is there.

    I install repository. Can you help me how to do this? Iridium

    Code
    1. docker build --build-arg subliminal_version=$subliminal_version -t rpi-subliminal

    Apparently this is no needed.


    I try download a subtitle this way

    var/media/Seagate Backup Plus/Kodi/Filmes/Creed (2015) # docker run --rm --name subliminal -v subliminal_cache:/usr/src/cache -it dtroncy/rpi-subliminal download -l en Creed\ \(2015\)\ Bluray-1080p.mkv


    and this happened

    Code
    1. Collecting videos [####################################] 100% Creed (2015) BlCollecting videos [####################################] 100%
    2. 1 video collected / 0 video ignored / 0 error
    3. Downloading subtitles [####################################] 100% Creed (2015Downloading subtitles [####################################] 100%
    4. Some providers have been discarded due to unexpected errors: opensubtitles, legendastv
    5. Downloaded 1 subtitle

    But no subtitles appeared in the folder ?(


    Yeah, the project is old :(


    Anyway thanks for the help :)

    Another thing I noticed is it the download folder always change to default (/storage/.kodi/userdata/addon_data/service.transmission/downloads) when I reboot the system. At least in Transmission client.