Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.19.0: Error messages "Server is unreachable" during playback of Video files #196

Closed
heikoh81 opened this issue Mar 7, 2019 · 28 comments
Closed

Comments

@heikoh81
Copy link

heikoh81 commented Mar 7, 2019

Hi.

As requested and described in #154 (comment) I have attached a full log.
kodi.log

I have problems since version 3.19.0 if I playback SMB-recordings with Enigma2-plugin active.
There are no problems or error messages during live streaming of TV.
After 1 Video has been playback, live TV can not be started again until Kodi has been killed or exited.

What I have recorded in this .log:

  • started Kodi
  • waited for Engima2-Plugin to load up
  • started live TV, switched channel 3 times
  • stopped live TV
  • switched to Videos category in Kodi, started playback of .ts-File
  • After several seconds, but not immediately, Popups start showing up.
  • Stopped playback.
  • Tried to start live TV again (no success).
  • Exit of Kodi -> Kodi crashes.

I hope you can fix this.
Greetings,
Heiko

@phunkyfish
Copy link
Member

Let’s move the conversation here related to this issue. Thanks for creating.

Can you try 2 things:

1 - can you reproduce if you playback TS recordings via the addon?
2 - can you reproduce if you playback a video file that is mp4, mkv etc instead of TS

@phunkyfish
Copy link
Member

Could you also try to skip the initial epg import. The option will be in addon settings.

@heikoh81
Copy link
Author

heikoh81 commented Mar 7, 2019

Let’s move the conversation here related to this issue. Thanks for creating.

Can you try 2 things:

1 - can you reproduce if you playback TS recordings via the addon?

No error popup.

2 - can you reproduce if you playback a video file that is mp4, mkv etc instead of TS

Error popup as soon as file is played from "Videos" category of Kodi.
Full log of this session (no Kodi crash at the end, though):
kodi.log

@heikoh81
Copy link
Author

heikoh81 commented Mar 7, 2019

Could you also try to skip the initial epg import. The option will be in addon settings.

This setting has been ENABLED at all previous tests.
It is the only Addon setting of Enigma2-Plugin that is enabled at all!
Should I disable it?

@heikoh81
Copy link
Author

heikoh81 commented Mar 7, 2019

I tried another session.
This time, I was able to watch Video, then return to Live TV, but then, on watching Video again, the Popups started again.
I stopped playback quickly and exited Kodi, maybe you can narrow down the problem at the end of the log file.

kodi.log

@heikoh81
Copy link
Author

heikoh81 commented Mar 7, 2019

I found no way how to return to an old version of this addon.
The offical kodi repo only offers 3.19.0.
Where can I find an older .zip-Version of this plugin?

Found the last 3 versions at:
https://mirrors.kodi.tv/addons/leia/pvr.vuplus+android-armv7/

@heikoh81
Copy link
Author

heikoh81 commented Mar 7, 2019

Manually reverted to 3.18.1 - no problems so far.

@phunkyfish
Copy link
Member

How come you playback the recordings from a samba share instead of via the recordings in the addon?

@heikoh81
Copy link
Author

heikoh81 commented Mar 7, 2019

Never used the addon for this.

Also, I watch the recordings on multiple FireTV Stick2s accross the house.
With "Videos", I get the time where I stopped playback from MySQL.

Also, I have video files on my Samba Share that are not accessible with the Enigma2 receiver.

@phunkyfish
Copy link
Member

phunkyfish commented Mar 7, 2019

Yes, but these recordings are are created by the E2 device right? In that case they still play from the share but will play far more efficiently, it will still record your progress regardless of mysql or not. There is meta data kodi cannot read associated with the recordings so they should only be played from the addon.

Use videos for all the other files.

@phunkyfish
Copy link
Member

So the capability you want to to start watching a recording on one fire stick and resume on another? That sounds like a great feature request for the addon!

@heikoh81
Copy link
Author

heikoh81 commented Mar 7, 2019

Use videos for all the other files.

But the error Popups appear with other files, too, so this is not a solution for other videos.

So the capability you want to to start watching a recording on one fire stick and resume on another? That sounds like a great feature request for the addon!

You could add this, but it is also integrated with MySQL.

@phunkyfish
Copy link
Member

Tuning options for slower E2 devices in next release: #198

Start with tuning the timeout first, and then possibly the interval.

@heikoh81
Copy link
Author

heikoh81 commented Mar 9, 2019

Thank you.
If the bugfixes are available in the official repo at
https://mirrors.kodi.tv/addons/leia/pvr.vuplus+android-armv7/
I will try again!

FYI:
After downgrading to 3.18.1, I no longer have any of the Error-Popups described above.
It doesn't matter if I playback from recordings via SMB Share in "Video"-categories.
So maybe you could investigate what changes happened from 3.18.1 to 3.19.0 that cause these Connection lost-popups.
==> At the moment this is the solution for me, although I have to turn on my Enigma2 before starting Kodi again.

@phunkyfish
Copy link
Member

The difference is the feature I added so that you don’t have to start your Enigma2 before kodi!

@heikoh81
Copy link
Author

heikoh81 commented Mar 9, 2019

Yes, but how does this produce the Popup messages during playback of Video files?
There need to be some changes that cause this.

Shouldn't the addon just do the following?
If "ping enigma2 box" == OK, then start addon / do whatever it does
If "ping enigma2 box" <> OK, then wait 60 seconds and ping again

@phunkyfish
Copy link
Member

phunkyfish commented Mar 9, 2019 via email

@heikoh81
Copy link
Author

heikoh81 commented Mar 9, 2019

So maybe you just have to disable the popup warnings of connection checks fails? This is just interal information for the addon, not for the enduser?

@phunkyfish
Copy link
Member

The issue is that the check is failing. The popups are generated by kodi and not the addon.

The tuning options in the next release are so you can figure out values that work.

@phunkyfish
Copy link
Member

Tuning options are in v3.20.0 just released. Will be in addon repos over the next 24 hours

Start with tuning the timeout first, and then possibly the interval. Let me know what works/doesn't

@heikoh81
Copy link
Author

heikoh81 commented Mar 21, 2019

I can see the update already in the repo.
I will try this weekend.

@heikoh81
Copy link
Author

"Start with tuning the timeout first, and then possibly the interval. Let me know what works/doesn't"

It is working now with 3.21.0.
It detects my very old and slow VUSolo if powered on after Kodi start.
I can play Videos from "Video"-category in kodi, go back to watching TV etc.

After the startup of my Enigma2-box, I had 3-4 popups "Connection established".
I think that should only be displayed once, but maybe it can be fixed by my following request:

request:
Could you please extend the selectable times to up to 60 seconds.
Shouldn't be much code change I guess.

I have
Connection check timeout = 10 seconds
Connection check interval = 10 seconds

@phunkyfish
Copy link
Member

If the timeout values are correct the pop up should only appear once.

I will increase to 60 in next release for testing purposes.

@phunkyfish
Copy link
Member

The timeout value can already be set to 60. So it’s just the interval you want to be able to change up to 60?

@phunkyfish
Copy link
Member

Interval can be set to 60 seconds in PR: #206

@heikoh81
Copy link
Author

heikoh81 commented Apr 4, 2019

The plugin is now working great!
I no longer get annoying popups about connection established.
And I can power on my Enigma2 after Kodi-start anytime.

Thanks a lot!

@heikoh81 heikoh81 closed this as completed Apr 4, 2019
@phunkyfish
Copy link
Member

What settings did you end up using for interval and timeout that worked best?

@heikoh81
Copy link
Author

heikoh81 commented Apr 7, 2019

Both settings to 60 seconds.
I don't need that fast recognition if enigma2 is turned on so 60 seconds is OK for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants