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

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

@IsoSpandy@lemm.ee
creator
link
fedilink
English
15M

Just type cargo install offflix. Then you will get it.

@aPirate@lemmy.dbzer0.com
link
fedilink
English
1
edit-2
5M

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.ee
creator
link
fedilink
English
1
edit-2
5M

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

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.ee
creator
link
fedilink
English
15M

You need a c compiler. Install gcc or clang

sudo apt install gcc
sudo apt install clang

It is still having the same error as before even with installing clang.

@IsoSpandy@lemm.ee
creator
link
fedilink
English
1
edit-2
5M

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

TFO Winder
link
fedilink
English
45M

Looks great.

I’ll give it a try.

@IsoSpandy@lemm.ee
creator
link
fedilink
English
15M

Thank you so much

I have jellyfin all set up on a media server so this won’t do much for me. That said, this is pretty slick looking and has a good use case. If I’d not been aiming to share with my long distance girlfriend I’d probably have opted for this kind of thing. Nice work op!

@IsoSpandy@lemm.ee
creator
link
fedilink
English
55M

Do you know how to code? If so I would love on adding network share features. But I don’t have a server and all setup to test it.

@AFallingAnvil@lemmy.ca
link
fedilink
English
45M

Unfortunately my coding is limited to a semester of python in college so i’m not much use there.

@IsoSpandy@lemm.ee
creator
link
fedilink
English
35M

Ohhh. No worries. Thanks for the feedback. If I ever acquire the hardware to test I will add the features

@AFallingAnvil@lemmy.ca
link
fedilink
English
35M

My jellyfin server is literally just a raspberry Pi 5 with an external 5 terabyte HDD. The hardware isn’t so bad price wise. If you do build something for and want more testing feel free to hit me up and I’ll play with it

Honestly, I wouldn’t try to develop this for network sharing. That would make it encroach a lot on the territory of dedicated server software like jellyfin which most likely has a lot more development power behind it.

Probably better to focus on your niche

@IsoSpandy@lemm.ee
creator
link
fedilink
English
25M

I am building this mainly for my personal use. Plus most of dedicated software tries to pander to a large audience incuring bloat. Hence I am not adding networking features now. But I really love my software and if I set up over the network media servers I will update this to that. It’s ultimately my code and as you can see by the lack of other people contributing and the software not being that massively popular I don’t think anybody will mind.

TFO Winder
link
fedilink
English
45M

Are there similar projects? I was looking for something of this type for long.

@IsoSpandy@lemm.ee
creator
link
fedilink
English
25M

I didn’t find anything and hence I made it.

Brickfrog
link
fedilink
English
15M

Kodi (https://kodi.tv) does the same thing & more. People think of it as a sort of streamer but its original/main purpose is to manage local media downloads including movie/tv series.

TFO Winder
link
fedilink
English
15M

Tried it, Too heavy for my usecase

Also I cannot use MPV to watch my videos.

@IsoSpandy@lemm.ee
creator
link
fedilink
English
15M

You like mpv? I like mpv. And guess what offflix uses mpv

Brickfrog
link
fedilink
English
05M

Tried it, Too heavy for my usecase

That’s fair, Kodi is way more feature rich. I love it personally but realistically don’t need to use everything Kodi is capable of.

Also I cannot use MPV to watch my videos.

Been happy with Kodi’s internal player but they do have configurations for external players including MPV https://kodi.wiki/view/External_players

BTW you should also look at Jellyfin, slightly different use case but it too is designed to manage local media including TV/Movies.

https://jellyfin.org/

And since you mentioned MPV that also exists with Jellyfin https://github.com/jellyfin/jellyfin-mpv-shim

fadingembers
link
fedilink
English
35M

Oof, hope you’re holding up watching Made in Abyss lol

@IsoSpandy@lemm.ee
creator
link
fedilink
English
45M

I completed all of what has been released till now. I watched season 1 and then experienced the super long hiatus. I never expected s2 to come out.

fadingembers
link
fedilink
English
15M

Is there a season 2 coming? I hadn’t heard! I’m pretty sure I’m behind, I’ve only seen up to the first movie that came out after the series. I’ve never watched a series that throws so many gut punches lol

@IsoSpandy@lemm.ee
creator
link
fedilink
English
35M

After the movie there is an entire season. And a season 3 is coming soon. I suggest you re-watch from the start. Wouldn’t want to miss out on little kids suffering /s. But honestly it is a very beautiful anime.

FippleStone
link
fedilink
English
15M

It’s like Kodi-lite, specifically for shows? It’s not for me, but cool that it’s out there

@IsoSpandy@lemm.ee
creator
link
fedilink
English
15M

Yes… Though I haven’t used kodi. I thought of including movies too… But I couldn’t think of a place to reliably scrape tags and details about movies.

CALIGVLA
link
fedilink
English
-15M

That’d be perfect for my use case, but no sync to/from series tracking sites is a deal breaker.

@IsoSpandy@lemm.ee
creator
link
fedilink
English
25M

The software inherently tracks the series for you. The data is saved in your .config/offflix folder

alphacyberranger
link
fedilink
English
25M

This might actually come in handy for me.

@IsoSpandy@lemm.ee
creator
link
fedilink
English
25M

Please try it out and leave feedback if you wish. I am happy if it helps even one more person than me.

XNX
link
fedilink
English
3
edit-2
5M

This looks great! Only thing id say to add is instead of just watch random episode, watch random show/movie but if its a show continue where you left off.

If you ever plan on adding a watch with friends feature you might be interested in Multiplex which lets you stream media with your friends and have the play/pause sync up https://github.com/pojntfx/multiplex

poncho
link
fedilink
English
2
edit-2
5M

This looks promising. I keep some media on an external, encrypted ssd when I travel and just been relying on making a note of the episode and using haruna’s playback time feature.

sunbunman
link
fedilink
English
55M

This looks awesome, I’ll be sure to check it out.

@IsoSpandy@lemm.ee
creator
link
fedilink
English
15M

Thank you so much. Feel free to leave any comments you might have

sunbunman
link
fedilink
English
1
edit-2
5M

…How do I use it? I downloaded it via MSYS2 on Windows 10 and I’m struggling to find a way to run the app.

@IsoSpandy@lemm.ee
creator
link
fedilink
English
1
edit-2
5M

If you installed it via

cargo install offlix

Then t should be available as a cli app. Also the app should be located in .cargo/bin in your MSYS2 home

sunbunman
link
fedilink
English
1
edit-2
5M

No installed via

pacman -S mingw-w64-x86_64-mpv

I’ll try via cargo and see how I go

edit: getting the below:

# ~
$ cargo install offlix
-bash: cargo: command not found

# ~
$ cargo install offflix
-bash: cargo: command not found
@shea@lemmy.blahaj.zone
link
fedilink
English
35M

You don’t have cargo installed is what that message is telling you

sunbunman
link
fedilink
English
15M

deleted by creator

fellow made in abyss enjoyer

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
!piracy@lemmy.dbzer0.com
Create a post
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don’t request invites, trade, sell, or self-promote

3. Don’t request or link to specific pirated titles, including DMs

4. Don’t submit low-quality posts, be entitled, or harass others


Loot, Pillage, & Plunder


💰 Please help cover server costs.

Ko-FiLiberapay


  • 1 user online
  • 219 users / day
  • 509 users / week
  • 927 users / month
  • 4.94K users / 6 months
  • 1 subscriber
  • 3.2K Posts
  • 78.4K Comments
  • Modlog