Android Playback doesn't work
#1
Hi !

I have Kodi (V19.1) on 3 differents devices.
One is install on my computer (Windows 10) and the 2 others on cell phone (android)
On my computer, the playback work great but on my 2 cell phone it doesn't work.

The setting are the same for all the devices. 
In the video setting, the Default select action is Resume
I have install the Kodi Playback Resumer add-on

Thanks for your help !
Reply
#2
(2021-08-27, 00:57)papineau76 Wrote: but on my 2 cell phone it doesn't work

That is what I would hardly call a full problem description...
Does playback work better without the Playback Resume add-on?

Provide the debug log (wiki) of one of the problem cell phones. so we can perhaps start an investigation.
Reply
#3
(2021-08-27, 06:32)Klojum Wrote:
(2021-08-27, 00:57)papineau76 Wrote: but on my 2 cell phone it doesn't work

That is what I would hardly call a full problem description...
Does playback work better without the Playback Resume add-on?

Provide the debug log (wiki) of one of the problem cell phones. so we can perhaps start an investigation.

You're absolutely right I did not put enough details . Sorry about that.

On the cell phone, I watch a video and stop it before the end. When I want to continue where I left, the video will starts all over. 

In the setting of video section, I try to change the Default action to ''Choose'' but when I start the video,  there is no Resume option.

The Playback Resume add-on do not change anything. The problem was the same before I install the add-on.
In the setting of the add-on, The Save resume point is set a 5 seconds

Here is the link of the debug log : https://paste.kodi.tv/uviwacoyih
Reply
#4
It seems that the resumer add-on has a problem. I'm guessing that @bossanova808 has some extra work to do.

Code:
2021-08-27 19:45:01.424 T:31264 DEBUG <general>: ### Kodi Playback Resumer 2.0.2 - Setting custom resume seconds to -2
2021-08-27 19:45:01.458 T:31264 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'TypeError'>
Error Contents: '<' not supported between instances of 'NoneType' and 'int'
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.service.playbackresumer/resources/lib/player.py", line 32, in onPlayBackStopped
self.update_resume_point(-2)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.service.playbackresumer/resources/lib/player.py", line 134, in update_resume_point
if Store.library_id < 0:
TypeError: '<' not supported between instances of 'NoneType' and 'int'
-->End of Python script error report<--
Reply
#5
@Klojum Yeah I have fixed that error in dev (which only occurs if you're playing a non library video, but pretty sure it has nothing to do with this issue...which (at least according to that log) is simply because the OP is stopping the video before Kodi will set a resume point

(### Kodi Playback Resumer 2.0.2 - Not updating resume point as current time (16) is below Kodi's ignoresecondsatstart setting of 180)

I.e. the Kodi default here is to not set a resume point for the first three minutes.  The user has not changed that in advancdedsettings.xml (not present according to the log)....so whilst the error in the log is undesirable, it's also (I believe) completely irrelevant here.

I'll submit the fix anyway.
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
#6
(2021-08-28, 06:13)bossanova808 Wrote: I'll submit the fix anyway.

Awesome, thanks.
Reply
#7
@Klojum  @bossanova808  Thanks for your answer !

I did some tests and I noticed that the problem only occure with files on UpNP (There is no difference if the advancdedsettings.xml file is present or not).
When I play local file the playback work great (with the advancdedsettings.xml file).

Here is the link of the debug log : https://paste.kodi.tv/iyaxosuxak
Reply
#8
Yep so has nothing to do with me/my addon at this point

Code:

2021-09-06 18:00:57.707 T:17997 DEBUG <general>: ### Kodi Playback Resumer 2.0.3 - No/invalid library id (None) for http://192.168.2.14:1957/%25/fe39c65042b...520900.mp4 so can't set a resume point

You've got the fixed version, and no error is raised (as expected). 

I know nothing about upnp ... I can say your urls look odd to me and you have errors reaching them

2021-09-06 17:59:27.098 T:18205 ERROR <general>: GetDirectory - Unable to get http directory (http://192.168.2.14:1957/%25/fe39c65042b...04a79596a/)
2021-09-06 17:59:27.098 T:18205 ERROR <general>: GetDirectory - Error getting http://192.168.2.14:1957/%25/fe39c65042b...04a79596a/

that %25 is odd in there (maybe?)

Honestly no idea on your issue, but if you think it is addon related, remove playback resumer and see if it changes anything...but pretty sure it won't.

Other than that, sorry, I can't help you.
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
#9
(2021-09-08, 05:16)bossanova808 Wrote: Yep so has nothing to do with me/my addon at this point

Code:

2021-09-06 18:00:57.707 T:17997 DEBUG <general>: ### Kodi Playback Resumer 2.0.3 - No/invalid library id (None) for http://192.168.2.14:1957/%25/fe39c65042b...520900.mp4 so can't set a resume point

You've got the fixed version, and no error is raised (as expected). 

I know nothing about upnp ... I can say your urls look odd to me and you have errors reaching them

2021-09-06 17:59:27.098 T:18205 ERROR <general>: GetDirectory - Unable to get http directory (http://192.168.2.14:1957/%25/fe39c65042b...04a79596a/)
2021-09-06 17:59:27.098 T:18205 ERROR <general>: GetDirectory - Error getting http://192.168.2.14:1957/%25/fe39c65042b...04a79596a/

that %25 is odd in there (maybe?)

Honestly no idea on your issue, but if you think it is addon related, remove playback resumer and see if it changes anything...but pretty sure it won't.

Other than that, sorry, I can't help you.

Okay I will check this. 
Thanks for your time !
Reply

Logout Mark Read Team Forum Stats Members Help
Playback doesn't work0