Jump to content

embyforkodi (next-gen) 12.X.X support


Recommended Posts

DarWun
Posted
8 hours ago, quickmic said:

I think it adds it as TVShow. Can you please check on the server.

I got the terminology wrong when I referred to it as a "live TV channel". The YouTube plugin adds content as an "Internet channel". Emby does seem to consider the content to be a TV show.

DarWun
Posted
7 hours ago, DarWun said:

I got the terminology wrong when I referred to it as a "live TV channel". The YouTube plugin adds content as an "Internet channel". Emby does seem to consider the content to be a TV show.

I should have said "Emby does seem to consider the content to be live TV." When I play a YouTube video using the plugin the interface is the same as it is when streaming live TV, including options to view the TvGuide.

  • Like 1
quickmic
Posted (edited)
5 hours ago, DarWun said:

I should have said "Emby does seem to consider the content to be live TV." When I play a YouTube video using the plugin the interface is the same as it is when streaming live TV, including options to view the TvGuide.

I think I know. Even live TV has a flag for TV shows or movies content. I assume YouTube works the same way, but has no valid TV show parent.

Edited by quickmic
  • Like 1
AurelMarius
Posted (edited)

Hi, i have my kodi setup to auto play live tv on startup not from emby livetv but from my tvheadend server via pvr addon. The problem is that the embyforkodi service is not starting because is waiting for kodi’s homescreen and this will not happen until i stop livetv playback.

while not xbmc.getCondVisibility('Window.IsActive(10000)'):
utils.sleep(1)

Can we change with something like this?

while not (xbmc.getCondVisibility('Window.IsActive(10000)') or xbmc.Player().isPlaying() or xbmc.getCondVisibility('Player.HasMedia')):
        utils.sleep(1)

Thank you.

 

Edited by AurelMarius
  • Like 1
quickmic
Posted
29 minutes ago, AurelMarius said:

Hi, i have my kodi setup to auto play live tv on startup not from emby livetv but from my tvheadend server via pvr addon. The problem is that the embyforkodi service is not starting because is waiting for kodi’s homescreen and this doesn’t happen.

while not xbmc.getCondVisibility('Window.IsActive(10000)'):
utils.sleep(1)

Can we change with something like this?

while not (xbmc.getCondVisibility('Window.IsActive(10000)') or xbmc.Player().isPlaying() or xbmc.getCondVisibility('Player.HasMedia')):
        utils.sleep(1)

Thank you.

 

I'll add a 2 minute timeout.

  • Thanks 1
quickmic
Posted (edited)

New BETA version available 12.5.0:

Delta changelog 12.4.24 -> 12.5.0

fix server timeouts
fix metadata check
Replace serveral blocking commands with async commands
Remove additional blocking stat/HEAD request by disable dateadded=0 readings by advancedsettings.xml
fix Emby connect
fix websocket messages
fix websocket refresh progressbar
fix http rfc issues
fix dynamic nodes actor images
fix dynamic nodes double multicontent selection
fix m3u musicplaylist player crash
fix image fallbacks
fix sync minor issue
fix random singles node
improve dynamic node caches
fix artwork loading (Kodi) freezes
improve content switch in dynamic nodes
improve mimetype detection
improve native mode content detection
support Kodi tempo for remote playback
fix several playback session sync issues
support subbtitle and audiostream selection for remote sessions
full ipv6 support (untested)
add music discnumber info (for synced content)
add music album release type info (for synced content)
fix fanart artwork caching (Kodi 22)
fix progress update sync issue
fix Kodi scan issue (widget refresh)
fix dynamic node music playlist (autoplay next was not supported)
fix subtitle disable issue
improve hash calculation
support native chapter bookmark for addon mode (http protocol)
improve hybrid node metadata
fix MusicVideo artist hybrid node
fix autoselect highest resolution in native mode
fix sqlite _ and % escapes (caused false positiv on folder remove)
fix theme issues
improve theme also support music, album and musicvideo
fix youtube content (untested)
improve youtube id detection

 

Comment:

Database reset is mandatory and will be automatically triggered.

For some reason, the file is not published in the public testing folder (also not sure about the beta repo update). You can sideload from github or https://embydata.com/downloads/addons/xbmb3c/repo-install/Public testing/emby-for-kodi-next-gen-12X/

The repo and webserver is not under my control.

 

Edited by quickmic
  • Thanks 2
838Joel
Posted

Beta repo worked for me!

  • Like 1
DarWun
Posted
12 hours ago, quickmic said:

New BETA version available 12.5.0:

Delta changelog 12.4.24 -> 12.4.0

.

.

.

 

Updated to this version earlier tonight. I was able to add youtube channel content as a library after doing so. So that is a win! Playback of said content was problematic though. I think that has more to do with the configuration of the Kodi YouTube plugin that I was a asked to install when I tried to play a YouTube video using E4K. I'll do some more testing and post back with results.

  • Like 1
DarWun
Posted

@quickmicTurns out I am still seeing an issue with E4K playback not being reported to Emby after playing a previous episode. I thought it was a side effect of YouTube content scans not completing. But now that that issue has been fixed, I'm not so sure that was the issue. I watched E1 of Vision Quest earlier tonight. After it ended and I deleted it from my server, I started watching E2. It played fine in E4K. But Emby did not register it as playing. I had to reboot the E4K client (Rpi4 LibreElec) to get Emby to register playback. Kodi and Emby logs attached.

 

kodi.log embyserver.txt

quickmic
Posted
5 hours ago, DarWun said:

@quickmicTurns out I am still seeing an issue with E4K playback not being reported to Emby after playing a previous episode. I thought it was a side effect of YouTube content scans not completing. But now that that issue has been fixed, I'm not so sure that was the issue. I watched E1 of Vision Quest earlier tonight. After it ended and I deleted it from my server, I started watching E2. It played fine in E4K. But Emby did not register it as playing. I had to reboot the E4K client (Rpi4 LibreElec) to get Emby to register playback. Kodi and Emby logs attached.

 

kodi.log 1.09 MB · 0 downloads embyserver.txt 642.3 kB · 0 downloads

ok, the log looks clean, but not sure what causes the issue. Probably you can enable the debug log in the plugin menu and send me another sample when it happens again.

Meanwhile I try to find the issue.

quickmic
Posted
6 hours ago, DarWun said:

@quickmicTurns out I am still seeing an issue with E4K playback not being reported to Emby after playing a previous episode. I thought it was a side effect of YouTube content scans not completing. But now that that issue has been fixed, I'm not so sure that was the issue. I watched E1 of Vision Quest earlier tonight. After it ended and I deleted it from my server, I started watching E2. It played fine in E4K. But Emby did not register it as playing. I had to reboot the E4K client (Rpi4 LibreElec) to get Emby to register playback. Kodi and Emby logs attached.

 

kodi.log 1.09 MB · 1 download embyserver.txt 642.3 kB · 1 download

How did you delete the episode? Via plugin's option (delete after watched) or on the server?

quickmic
Posted
1 hour ago, quickmic said:

How did you delete the episode? Via plugin's option (delete after watched) or on the server?

I think I found the issue, if you use delete after watched from plugin.

  • Like 1
  • Thanks 1
Beber2410
Posted

Hello, 

I confirm the same problem here after update 12.5.0.

At the end of movie or tv show the emby Next Gen addon purpose to delete as usual the file is well deleted but still appears in kodi, until i restart kodi. (rpi5 libreelec) 

Thanks a lot Quickmic for your efforts 

  • Like 2
DarWun
Posted
15 hours ago, quickmic said:

ok, the log looks clean, but not sure what causes the issue. Probably you can enable the debug log in the plugin menu and send me another sample when it happens again.

Meanwhile I try to find the issue.

I didn't see anything that looked odd in the logs either. Thanks for confirming. I'll enable debug in the plugin menu and provide logs if it happens again. It's happened a few times this week.

14 hours ago, quickmic said:

How did you delete the episode? Via plugin's option (delete after watched) or on the server?

I did delete the episode via the plugin's option. I have E4K set to ask before deleting though. The query asking if I wanted to delete the episode appeared, and I selected yes.

13 hours ago, quickmic said:

I think I found the issue, if you use delete after watched from plugin.

That was quick! I'll provide the logs anyway if it happens again just in case there is something else going on.

DarWun
Posted (edited)
16 hours ago, quickmic said:

I think I found the issue, if you use delete after watched from plugin.

It doesn't seem to happen every time. I just finished watching Vision Quest E2. After deleting it using the E4K plugin option, I started playing E3. Emby reported playback as expected.

I've attached the log with debug logging enabled. I realize it doesn't capture a failed playback. But I thought there might be something useful in there anyway.

kodi.log

Edited by DarWun
DarWun
Posted (edited)
18 hours ago, quickmic said:

I think I found the issue, if you use delete after watched from plugin.

It just happened again. I watched the latest episode of Survivor that I recorded last night. I deleted it when E4K offered me the option to do so. I then attempted to play the latest episode of The Amazing Race. E4K played the episode fine. But Emby did not recognize the episode as being played. Logs (with debug option enabled) attached.

P.S. The Kodi log I provided last night when I first encountered this issue was from after I rebooted the Kodi client. So the issue would not have been captured by that log. It would have been captured by the kodi.old.log, which unfortunately, I did not provide. Sorry about that. The log provided in this post is from when the issue actually occurred prior to the reboot of the client.

P.P.S. Rebooted the E4K client and the Amazing Race episode played to Emby as expected.

kodi.log embyserver.txt

Edited by DarWun
  • Like 1
DarWun
Posted

And now, finished the latest Amazing Race episode, deleted, and played the latest Celebrity Traitors episode. E4K played the episode fine, but Emby did not register it as playing until the Kodi client was rebooted.

 

kodi.log embyserver (1).txt

quickmic
Posted (edited)
3 hours ago, DarWun said:

And now, finished the latest Amazing Race episode, deleted, and played the latest Celebrity Traitors episode. E4K played the episode fine, but Emby did not register it as playing until the Kodi client was rebooted.

 

kodi.log 3.15 MB · 0 downloads embyserver (1).txt 1.18 MB · 0 downloads

Thanks, I checked the log and I can confirm. It's the issue I expected, it's a deadlock in the position tracker.

...only when delete after watched option is enabled.

Will be fixed in next version.

Edited by quickmic
  • Like 2
  • Thanks 1
quickmic
Posted

New BETA version available 12.5.1:

Delta changelog 12.5.0 -> 12.5.1

fix delete after watched deadlock
fix specials sync (folder structure: other folders than "specials" are now supported) (https://github.com/MediaBrowser/plugin.video.emby/issues/601)
fix Empty MediaStreams during sync erase Kodi-generated streamdetails for STRM/ISO items (https://github.com/MediaBrowser/plugin.video.emby/issues/599)
fix Race condition when updating the last sync date/time causes automatic updates to be mistaken for user changes (Race condition when updating the last sync date/time causes automatic updates to be mistaken for user changes)
fix duplicate cards in favorites when adding movie with multiple versions (https://github.com/MediaBrowser/plugin.video.emby/issues/596)
fix theme play bug
fix multiversion boxset assignment on updates

  • Like 1
  • Thanks 1
Beber2410
Posted

I can confirm that " delete after watched deadlock"  is fixed with 12.5.1.

Thanks a lot

  • Like 2
  • Agree 1
kleiyme
Posted

Is this worth if i have thousands of files in several libraries? It gets stuck at 10% then kodi reboots and it goes through everything again just to be stuck at 10%. I dont even know how to stop this.

quickmic
Posted
5 minutes ago, kleiyme said:

Is this worth if i have thousands of files in several libraries? It gets stuck at 10% then kodi reboots and it goes through everything again just to be stuck at 10%. I dont even know how to stop this.

I need a kodi log for review, and yes. Thousands of files is no problem, even 1 million will work 😉

Sounds more like a sync issue.

FrostByte
Posted
3 minutes ago, kleiyme said:

Is this worth if i have thousands of files in several libraries? It gets stuck at 10% then kodi reboots and it goes through everything again just to be stuck at 10%. I dont even know how to stop this.

Does the same thing with my large music library.  I ended up just scanning my music in using Kodi and then using E4K for the rest.

I think I had to remove the service plugin to make it stop as just removing my music library didn't do a thing and it just retried to add music after rebooting every time.

  • Like 1
quickmic
Posted
15 minutes ago, FrostByte said:

Does the same thing with my large music library.  I ended up just scanning my music in using Kodi and then using E4K for the rest.

I think I had to remove the service plugin to make it stop as just removing my music library didn't do a thing and it just retried to add music after rebooting every time.

Also here, I need a log for review, thanks.

FrostByte
Posted
2 hours ago, quickmic said:

Also here, I need a log for review, thanks.

Link to log file sent via pm

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...