sebdelsol / sfvip-all

Sfvip All wraps Sfvip Player with a local proxy that inserts an All category so you can easily search your entire catalog. It updates Mpv and Sfvip Player so you can enjoy their latest features. It supports an external EPG. It creates a cache for Mac account all categories to access those faster.
MIT License
60 stars 5 forks source link

Update issue #7

Closed Jmorzaez closed 9 months ago

Jmorzaez commented 10 months ago

Since last update I'm not able to use it, user list loads ok but app closes suddenly when I try to open the player.

I use a clean install of Windows 11 Enterprise fully updated. Tried on other two Win 11 PC's and same.

Many thanks for the awesome job!

Regards

JMa

sebdelsol commented 10 months ago

I probably did something wrong... :sweat_smile:

Could you please upload the logs. Those are to be found one folder above where the app is installed:

image

The last two logs after the crash should be enough. Cheers

EDIT: ~it looks like mpv.dll is crashing… but I'll need the logs to be sure.~ EDIT: I was wrong

Jmorzaez commented 10 months ago

Hi Sebdelsol, here are the logs, sorry didn´t know the path before. Hope it helps.

Anything else let me know.

Thanks!

Sfvip All - 133499944464729871 - 4580.log

sebdelsol commented 10 months ago

Ok I don't see any crash on Sfvip All side. So it might be mpv dll crashing Sfvip Player.

Could you try to delete C:\Users\YOUR_USER_NAME\AppData\Local\Programs\Sfvip All x64\Sfvip player x64\lib\libmpv.json When you're done, launch Sfvip All and you should see the install button to load Libmpv. Follows the instructions and when you're done you can double-click an account to check it works.

EDIT: the instructions before this edit were wrong, my bad.

Jmorzaez commented 10 months ago

Ok so I've deleted libmpv.json, lauched and the wee "add on" fiying square was red blinking, then downloaded new libmpv from there, relaunched and thurned green blinking but still same, any other idea?

sebdelsol commented 10 months ago

Thanks, my 1st hypothesis was utterly wrong.

So I have 2 questions:

  1. Does the player exit on its own or does it only exit when you enter an account ?
  2. Does Sfvip Player crash the same (I mean when you launch Sfvip Player without Sfvip All) ? You'll find Sfvip Player exe in this folder: image

Subsidiary question:

Sorry for the hassle.

Jmorzaez commented 10 months ago

Hi,

Does the player exit on its own or does it only exit when you enter an account?

It does exit if I enter an account either through menu/player.

Does Sfvip Player crash the same (I mean when you launch Sfvip Player without Sfvip All) ?

Yep, both produce same crash. I've just tried last version of regular SFVIP-Player downloaded from their site and runs ok (just in case...).

My CPU is Intel(R) Celeron(R) CPU 3865U @ 1.80GHz

Sorry for the hassle.

Not at all! Now I know the microarchitecture detection works for you.

Thanks

sebdelsol commented 10 months ago

My CPU is Celeron 3865U

That's not a v3 so everything's fine here.

Yep, both produce same crash. I've just tried last version of regular SFVIP-Player downloaded from their site and runs ok

So something has been broken in Sfvip Player (I'll have to review my code to be sure I don't do something stupid in its folder).

Anyway a fix for you would be to delete your C:\Users\YOUR_USER_NAME\AppData\Local\Programs\Sfvip All x64\Sfvip player x64\ folder.

Then next time you launch Sfvip All, you'll be asked to download or search the Sfvip Player exe if it already exists on your system. And everything should be fine.

EDIT : if you've already launched the other downloaded Sfvip Player it might be found in the registry (this method is not 100% reliable though).

Jmorzaez commented 10 months ago

Hi,

Anyway a fix for you would be to delete your C:\Users\YOUR_USER_NAME\AppData\Local\Programs\Sfvip All x64\Sfvip player x64\ folder.

It didn't work, after download still same issue

the other downloaded Sfvip Player it might be found in the registry

It seems to be portable, isn't it? Or runs without install

sebdelsol commented 10 months ago

It seems to be portable, isn't it? Or runs without install

Yes Sfvip Player is portable anyway it writes some stuff in the registry. That's how I find it out.

It didn't work, after download still same issue

Now I'm at a loss. I'll have to add some more logs in a new version to zero in on this nagging bug...

sebdelsol commented 10 months ago

It's weird the freshly downloaded Sfvip Player works. So could you please :

EDIT: And just to be sure:

Jmorzaez commented 10 months ago

Delete again C:\Users\YOUR_USER_NAME\AppData\Local\Programs\Sfvip All x64\Sfvip player x64\ folder.

Done.

Download Sfvip Player from its official site and launch it once to check it correctly works.

Done.

Then launch Sfvip All. When you're asked to download or search for it, choose search and browse to the Sfvip Player exe location (the one you've just downloaded).

Done!

But still same... :(

Please tell me what keys and values are shown on the right panel.

Of course. I got:

Nombre de clave: HKEY_CURRENT_USER\Software\SFVIP Nombre de clase: Ninguna clase Hora de última escritura: 15/01/2024 - 13:36 Valor 0

Nombre: ConfigDir Tipo: REG_SZ Datos: C:\Users\JMa\AppData\Roaming\SFVIP-Player

sebdelsol commented 10 months ago

thanks, Could you confirm that the freshly downloaded Sfvip Player worked correctly on its own ? And by the way where do you download it from ?

Now I have to pinpoint the exact version where this issue arose. Could you try to install those previous versions and check if they are working for you:

EDIT: And by the way does it crashes with any type of account or a specific type (Xtream, MAC, M3U) ?

EDIT2: v1.4.12.24 is build with _Pyinstaller__ so it would be interesting to test too so that a Nuitka bug could be ruled out.

Jmorzaez commented 9 months ago

Hi, Sorry for the delay,

Could you confirm that the freshly downloaded Sfvip Player worked correctly on its own ? And by the way where do you download it from ?

Yes it does, I got it from here: https://epg.serbianforum.org/Alati/SFVipPlayer/sfplayer.html

And previously from here: https://sfvipplayer.com/

But their Terabox folder is empty now?

Could you try to install those previous versions and check if they are working for you:

Both present actually same behave, Could it be an old version remaining file? That 'd explain why it worked once? How 'd I perform a full clean? After uninstalling I deleted: C:\Users\YOUR_USER_NAME\AppData\Local\Programs\Sfvip All x64 C:\Users\YOUR_USER_NAME\AppData\Roaming\SFVIP-Player HKEY_CURRENT_USER\SOFTWARE\SFVIP

But still nothing. Just now tried new vers and same. I don´t know what else to try my friend.

sebdelsol commented 9 months ago

Thanks for your help.

I got it from here:

That's the right place.

And previously from here:

This one looks fishy to me. EDIT: I have confirmation from Sfvip Player author that it's not official at all.

After uninstalling I deleted: C:\Users\YOUR_USER_NAME\AppData\Local\Programs\Sfvip All x64 C:\Users\YOUR_USER_NAME\AppData\Roaming\SFVIP-Player HKEY_CURRENT_USER\SOFTWARE\SFVIP

There is the Sfvip All roaming folder to remove too: C:\Users\YOUR_USER_NAME\AppData\Roaming\Sfvip All And I don't see how removing the registry key would help (but I'm at loss too...).

Jmorzaez commented 9 months ago

Here a 1 month old version to check too... v1.4.10

IT WORKS!!

Jmorzaez commented 9 months ago

So I don't really know anymore...

sebdelsol commented 9 months ago

great, so now we have to bisect to the faulty version... here is v1.4.12.4

sebdelsol commented 9 months ago

Mmm it would be better if I give you all version in between:

Could you please find the last working version for you ?

The idea is to use the bisection method (or dichotomy):

This way you'll have only to try 4 versions before finding the last working version and that would be a great help for zeroing in on the actual issue.

Jmorzaez commented 9 months ago

Hi, Sorry for the delay,

So I think I got something but let me explain. First I started trying the versions you posted and my surprise was that at the end I could not make any of them to work? So I must've done something different that time to be able to run 1.4.10 correctly. I realised the issue relays on Libmpv as: I had to perform a clean install after removing files in C:\Users\***\AppData\Local\Programs\ and C:\Users\***\AppData\Roaming Then I installed last version After I did not choose the self sfvip player downloader at this first fresh run with no previous Libmpv update installed I searched manually for sfvip player folder so I prevented Libmpv to self update Then I was able to see that sfvip-all was updated to last version I could update sfvip player to last version v1.2.7.65 It is Just if I do not update Libmpv when I'm able to make it to work correctly

I think that never updating Libmpv after the first fresh run choosing manually the sfvip player folder to prevent libmpv to be updated was the combo I did not try before? Mmmm...

Does it has any sense?

sebdelsol commented 9 months ago

Thank you, that makes a lot of sense: there's something wrong with libmpv update on your system.

Please check with the latest libmpv update (2024/01/28). Is that working for you ?

sebdelsol commented 9 months ago

ok I'll close it since it's likely a temporary mpv regression. Thanks for your help

Jmorzaez commented 9 months ago

No worries,

Regards