Offflix - Series manager for your local downloads - eviltoast

I created this project some years back and the project just reached v1.1.0. I know most people have jellyfin servers and all set up, but if you have just a local folder of all your series saved up, you can use this to remember what you were watching.

All feedback is welcome. You can also contribute to the project

Repo: https://github.com/Dr-42/offflix

  • aPirate@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 months ago

    I’m confused on the installation on Ubuntu you download libmpv then what? I’ve also installed cargo.

      • aPirate@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        7 months ago

        Thank you for helping me, I’m still having issues though. Now it is with openssl which I have confirmed that I have installed. Sorry Im sending a wall of text below but I wanted to include the full error message. Once again thank you for your help.

        error: failed to run custom build command for openssl-sys v0.9.102

        Caused by: process didn’t exit successfully: /tmp/cargo-installZPoMt0/release/build/openssl-sys-47a67ecb49a60989/build-script-main (exit status: 101) — stdout cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=OPENSSL_LIB_DIR OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR unset cargo:rerun-if-env-changed=OPENSSL_DIR OPENSSL_DIR unset cargo:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=OPENSSL_STATIC cargo:rerun-if-env-changed=OPENSSL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR run pkg_config fail: pkg-config exited with status code 1

        PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags openssl The system library openssl required by crate openssl-sys was not found. The file openssl.pc needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory. The PKG_CONFIG_PATH environment variable is not set. HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing openssl.pc. — stderr thread ‘main’ panicked at /home/et/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-sys-0.9.102/build/find_normal.rs:190:5: Could not find directory of OpenSSL installation, and this -sys crate cannot proceed without this knowledge. If OpenSSL is installed and this crate had trouble finding it, you can set the OPENSSL_DIR environment variable for the compilation process. Make sure you also have the development packages of openssl installed. For example, libssl-dev on Ubuntu or openssl-devel on Fedora. If you’re in a situation where you think the directory should be found automatically, please open a bug at https://github.com/sfackler/rust-openssl and include information about your system as well as this message. $HOST = x86_64-unknown-linux-gnu $TARGET = x86_64-unknown-linux-gnu openssl-sys = 0.9.102 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace warning: build failed, waiting for other jobs to finish… error: failed to compile offflix v1.1.1, intermediate artifacts can be found at /tmp/cargo-installZPoMt0. To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.

        • IsoSpandy@lemm.eeOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          7 months ago

          Seems like you need openssl for some dependancy. What distro are you using. You can install openssl development libraries and check again.

          I just saw you said ubuntu

          You need to run

          sudo apt install libssl-dev
          

          The run

          cargo install offflix
          
          • aPirate@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            7 months ago

            It fixed that issue but now there is a new one here is the error message that I am getting now. The message is so long that I have to put it on paste bin https://bin.disroot.org/?8c1747a08e3ce021#2i5ZpnjAjUrHQVrE8Q8Ea9hiWiJoe2V3XMePRHhdnbEs, but here is the start and end of the error message below.

            start : error: linking with `cc` failed: exit status: 1
            
            end : = note: /usr/bin/ld: cannot find -lmpv: No such file or directory
                      collect2: error: ld returned 1 exit status
                    
            error: could not compile `offflix` (bin "offflix") due to previous error
            error: failed to compile `offflix v1.1.3`, intermediate artifacts can be found at `/tmp/cargo-installyRaq9u`.
            To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
            
            
            
            
            • IsoSpandy@lemm.eeOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              7 months ago

              You need a c compiler. Install gcc or clang

              sudo apt install gcc
              sudo apt install clang
              
                • IsoSpandy@lemm.eeOP
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  edit-2
                  7 months ago

                  Did you install cargo using rustup? Or did you use the system package manager. Using rustup is the preferred method.

                  PS I don’t have my dev machine with me a this moment. But as I can see many people have so many installation issues, I will try to create a flatpak for the application. I will post soon

                  • aPirate@lemmy.dbzer0.com
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    ·
                    7 months ago

                    It just tried using my system package manager, I will try with rustup and if that doesn’t work I’ll wait for the flatpak. Thank you for all your help!