Giter Club home page Giter Club logo

Comments (27)

rajopotamus avatar rajopotamus commented on August 17, 2024 1

so i just got a chance to use the new script and its working well! Thanks so much for fixing that issue!

i have a separate unrelated question for you. When using a mouse to control PM4k, its fairly difficult to not "overshoot" and have the UI move to a different tile or category. I wasnt sure if this was just something that i noticed or if there is another way to reduce this issue with a mouse input. Using the keyboard keys works as intended but using a mouse is not easy and i dont notice that behavior when using a mouse with the rest of the KODI interface. Im sure this warrants a separate ticket but i just wanted to ask in case you had any pointers for me. Thanks!

from plex-for-kodi.

pannal avatar pannal commented on August 17, 2024

Please post logs with PM4K in DEBUG logging.

from plex-for-kodi.

rajopotamus avatar rajopotamus commented on August 17, 2024

kodi.log

I downgraded to Kodi 20.4 and the behavior is the same. I have to stick to Kodi 20.4 nexus bc I have to use plexconnectkodi in order to use my flex for now until we can figure out what's happening with PM4k because PCK only supports nexus. The behavior in Kodi 21 is the exact same as what im experiencing with 20.4 so it should still be relevant.

from plex-for-kodi.

pannal avatar pannal commented on August 17, 2024

I'll try and debug this soon. Thanks for the log!

from plex-for-kodi.

rajopotamus avatar rajopotamus commented on August 17, 2024

you're welcome! I just realized that I might have sent a log with Kodi in debug but not PM4k. I can send another one with both in debug mode shortly

from plex-for-kodi.

pannal avatar pannal commented on August 17, 2024

All good, the log in fact included PM4K's debug logging. No need for a new one.

PM4K even detects the onPlaybackEnded/Stopped events, but somehow reacts wrongly. I'll have to dig deep to fix this, but I think it should be possible.

from plex-for-kodi.

rajopotamus avatar rajopotamus commented on August 17, 2024

kodi.log

ok im glad the first one had the info. Here is another log with pm4ks debug log on. Also, this log shows that I played dune 2, and it exited correctly, then I played dungeons and dragons, and it exited correctly, but then I played the tv show x men 97 and it kept replaying. Not sure if its any more or less helpful but this does show the inherently variability.

from plex-for-kodi.

pannal avatar pannal commented on August 17, 2024

Does that only happen to TV shows?

from plex-for-kodi.

rajopotamus avatar rajopotamus commented on August 17, 2024

No it routinely occurs with movies too. It just happened to do it only on a tv show that time.

There are other times when it’ll be fine on a tv show and not on movies. Or more routinely not fine on either. I havnt been able to get a pattern down right.

This didn’t always happen so I’m wondering if maybe an older version of pm4k might not have this behavior?

from plex-for-kodi.

pannal avatar pannal commented on August 17, 2024

Sounds like a timing issue. You can try and pinpoint when this started happening if you'd like, by going back versions.

from plex-for-kodi.

rajopotamus avatar rajopotamus commented on August 17, 2024

from plex-for-kodi.

pannal avatar pannal commented on August 17, 2024

That doesn't really help :D

No worries, though, I'll try and reproduce this. Got a good couple of other things to do before, so it'll take some time.

from plex-for-kodi.

pannal avatar pannal commented on August 17, 2024

Hmm, does it make a difference whether you stop the playback manually vs letting it run til the end?

from plex-for-kodi.

rajopotamus avatar rajopotamus commented on August 17, 2024

from plex-for-kodi.

rajopotamus avatar rajopotamus commented on August 17, 2024

from plex-for-kodi.

pannal avatar pannal commented on August 17, 2024

Can you post your external player config so I can replicate this? Thanks!

from plex-for-kodi.

rajopotamus avatar rajopotamus commented on August 17, 2024

playercorefactory.txt

from plex-for-kodi.

pannal avatar pannal commented on August 17, 2024

I don't have any issues with this: script.plexmod.zip

playercorefactory.xml:

<playercorefactory>
<players>
<player name="mpc-be" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\MPC-BE x64\mpc-be64.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule video="true" player="mpc-be"/>
</rules>
</playercorefactory>

Edit: I'm using MPC-BE, but MPC-HE should be the same.

Edit 2: Reuploaded zip. This skips all next() handling when using an external player. This isn't ideal but should fix your issue.

Edit 3: Reuploaded zip

from plex-for-kodi.

rajopotamus avatar rajopotamus commented on August 17, 2024

I see that you uploaded a script but i am unsure with what I am supposed to do with it. Can you let me know?

from plex-for-kodi.

pannal avatar pannal commented on August 17, 2024

You replace the one you have with the folder inside the zip. I'm guessing you've installed PM4K using my repository?

You'll need to find your kodi's addons folder (see here: https://kodi.wiki/view/Kodi_data_folder) , where there'll be a script.plexmod folder, which you can delete and replace with the one contained in the zip file.

from plex-for-kodi.

pannal avatar pannal commented on August 17, 2024

And no, using mpc-be won't change anything on its own. You need the fix from the PM4K beta I posted.

from plex-for-kodi.

rajopotamus avatar rajopotamus commented on August 17, 2024

from plex-for-kodi.

pannal avatar pannal commented on August 17, 2024

Well, it's the addon itself. You're using version 0.7.8 right now, what I've posted is 0.7.9-beta11 with the special handling for external players built in.

Funnily I was able to reproduce your issue every time on my end.

from plex-for-kodi.

pannal avatar pannal commented on August 17, 2024

0.7.9 final is planned for release in about a week. If you're using my repository (dontpanic), it will automatically update to the final version, even if you install the beta.

from plex-for-kodi.

pannal avatar pannal commented on August 17, 2024

Any luck?

from plex-for-kodi.

rajopotamus avatar rajopotamus commented on August 17, 2024

from plex-for-kodi.

pannal avatar pannal commented on August 17, 2024

so i just got a chance to use the new script and its working well! Thanks so much for fixing that issue!

Awesome. This has been released with a good amount of other changes, here: https://forums.plex.tv/t/pm4k-plexmod-for-kodi-18-19-20-21/481208/2415 (big changelog: https://forums.plex.tv/t/pm4k-plexmod-for-kodi-18-19-20-21/481208/2393)

For the other thing: Please open another issue.

from plex-for-kodi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.