Yunuuuu / mpv-config

1 stars 0 forks source link

Sessions not working properly. #1

Open legowtham opened 2 weeks ago

legowtham commented 2 weeks ago

What I'm trying to achieve with mpv:

Thankfully, I came across your sessions.lua but it didn't work properly. Problems I face are:

  1. I don't want the last played file automatically playing when mpv.exe is opened. I tried setting auto_load=no in sessions.conf, and even disabled=yes in autoload.conf just in case. It still automatically plays the last played session.
  2. Multiple sessions are not getting created. If I paste Series-A urls, and close the mpv. Then I reopen it (I had to stop previous session video playing manually) and paste the Series-B urls then I close the player. When reopening, it's not showing the session lists in uosc menu (I've copied your uosc command and pasted in my uosc.conf) , it says Previous sessions > Empty Screenshot 2024-11-07 221318

Can you please help me to solve this, been trying it for over a week. I love mpv player but it's hard to setup something.

PS: I just use the mpv build from https://github.com/dyphire/mpv-config. I open mpv.exe by clicking and I don't use command line. I've put the sessions.lua in portable_config > scripts and sessions.conf in portable_config > script-opts

Thanks in advance.

legowtham commented 2 days ago

@Yunuuuu Bro can you help me?

Yunuuuu commented 1 day ago

Sorry for the delay, I'll take a look tonight.

Yunuuuu commented 1 day ago

Can you check your watch-later directory? Is there a mpv-sessions file?

legowtham commented 19 hours ago

Can you check your watch-later directory? Is there a mpv-sessions file?

Yes i do. Also do I need autoload.lua for sessions to work? Does it depend on it? Screenshot 2024-11-22 185830

mpv-sessions contains 1:0 previos-sessions contains [playlist] 0 File=remote url to a movie