How can I install Subliminal (search engine for subtitles)?

  • 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

    Supercalifragilisticexpialidocious! (inscribed in large friendly letters)

    My hardware is a Raspberry Pi 3b

  • I've no idea, you'll need to read the documentation.


    The project hasn't been updated for 3 years, so it may no longer work. You may be better off looking for an alternative.

  • 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 :)

    Supercalifragilisticexpialidocious! (inscribed in large friendly letters)

    My hardware is a Raspberry Pi 3b

  • You need to add -v /storage/tvshows:/tvshows

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

  • 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.

    Supercalifragilisticexpialidocious! (inscribed in large friendly letters)

    My hardware is a Raspberry Pi 3b

  • 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/

    Supercalifragilisticexpialidocious! (inscribed in large friendly letters)

    My hardware is a Raspberry Pi 3b

  • 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 :)

    Supercalifragilisticexpialidocious! (inscribed in large friendly letters)

    My hardware is a Raspberry Pi 3b

  • 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?

    Supercalifragilisticexpialidocious! (inscribed in large friendly letters)

    My hardware is a Raspberry Pi 3b

  • 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!

    Supercalifragilisticexpialidocious! (inscribed in large friendly letters)

    My hardware is a Raspberry Pi 3b

  • The path to unrar is found with which unrar


    So you might be able to pass the path /storage/.kodi/addons/virtual.system-tools/bin/unrar into the docker image, but I think it needs to be inside the image.

  • I've noticed that the filename mentioned in "download -l en Creed\ \(2015\)\ Bluray-1080p.mkv" has to exist in the directory that you are running the docker command from, otherwise it will say it has downloaded a subtitle but doesn't.


    I've created a slight copy, "docker pull iridium748/rpi3-subliminal" which should have unrar installed but I still get the errors on opensubtitles, legendastv. However it does seem to download subtitles now.


    Also for all videos in the folder, you can omit the filename and just use "download -l en /tvshows/"

    So


    docker run --rm --name subliminal -v subliminal_cache:/usr/src/cache -v <Location of video files>:/tvshows -it iridium748/rpi3-subliminal download -l en /tvshows/


  • 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?

    Supercalifragilisticexpialidocious! (inscribed in large friendly letters)

    My hardware is a Raspberry Pi 3b

    Edited once, last by edjalmo ().