EmperorPenguin18 / mpv-jellyfin

mpv plugin that turns it into a Jellyfin client
The Unlicense
30 stars 3 forks source link

serials #8

Closed zaeboba closed 1 month ago

zaeboba commented 1 month ago

you can add that series from a folder or music by hot buttons like shift+enter will play as the whole playlist, but just enter will play 1 file like now. watching anime or the simpsons isn't comfortable.

EmperorPenguin18 commented 1 month ago

I've added a new option that will set your playlist to be the current list of videos in the menu (so the current season for tv shows). Let me know if that works for you.

zaeboba commented 1 month ago

🤔 Sorry, I don't really understand how it works, I'm not a programmer. I need to create playlists myself, or what?

EmperorPenguin18 commented 1 month ago
  1. Install the script again from the latest commit
  2. Set the use_playlist option to on in the config file
  3. What should happen when you play a video, is mpv's internal playlist gets populated. You can confirm by pressing F8. There are all sorts of things you can do with this, but obviously what you are interested in is auto-play.
  4. When the video is over, mpv should (at least it does for me) start the next one right away automatically. If you look in the manual, there is even an (experimental) option to prefetch the video.

Let me know if any of these steps were unclear 🙂

zaeboba commented 1 month ago

Got it now, thanks. It worked. What does f8 mean? what should be the default, I have this: изображение

I'd like to auto-detect the system so that the os.execute("mkdir -p ”..options.image_path) command is not used for linux and does not create a folder 😂

EmperorPenguin18 commented 1 month ago

What does f8 mean?

This is just the default mpv binding to show the current playlist. In this case, the playlist is all Jellyfin urls so it doesn't look great in the UI.

I'd like to auto-detect the system so that the os.execute("mkdir -p ”..options.image_path) command is not used for linux and does not create a folder 😂

Do you mean for OSs other than Linux? If so, you make a good point, don't know why I didn't think of that.

zaeboba commented 1 month ago

Do you mean for OSs other than Linux? If so, you make a good point, don't know why I didn't think of that.

YEAH! I thought it was a virus at first 🤣 because on Windows it looked like a cmd window appeared for a second when starting mpv.

so I just comment on the line, that way the window doesn't seem to pop up. https://github.com/zaeboba/portable_config/blob/f19d6905127885dd2556f5b9ce559620ff368451/scripts/jellyfin.lua#L322

EmperorPenguin18 commented 1 month ago

Okay try the latest commit and let me know

zaeboba commented 1 month ago

the console appears.

I meant that for Windows this command is not necessary at all, because the player is able to create it itself (I don't know if the linux program lacks the rights)

EmperorPenguin18 commented 1 month ago

Okay I just did what you did, and commented it out.