sualfred / skin.embuary

Embuary - a Emby lookalike Kodi skin
https://emby.media/community/index.php?/topic/49724-support-thread-embuary-a-emby-kodi-skin/page-1
Other
126 stars 66 forks source link

Widget NextUp (EmbyCon) does not work. #117

Open andrestardito opened 3 years ago

andrestardito commented 3 years ago

Hi, I see that with the recent Emby update the 'NextUp' widget stopped working.

I understand that it is because they merged the 'Continue Watching' and 'Next Up' into one. But from what the Emby developers say, you can continue to use 'NextUp' in legacy mode. https://emby.media/community/index.php?/topic/97491-next-up-tv-episodes-not-showing/

I temporarily fixed it by modifying these files: ./xml/Embuary_Variables.xml <variable name="EmbyCon.NextUp"> <value condition="System.HasAddon(plugin.video.embycon)">plugin://plugin.video.embycon/?media_type=Episodes&amp;mode=GET_CONTENT&amp;use_cache=false&amp;name_format=Episode%7cepisode_name_format&amp;url=%7bserver%7d%2femby%2fShows%2fNextUp%2f%3fUserid%3d%7buserid%7d%26Limit%3D500%26Recursive%3dtrue%26Fields%3d%7bfield_filters%7d%26Filters%3dIsUnplayed%2cIsNotFolder%26IsVirtualUnaired%3dfalse%26Legacynextup%3dtrue%26IsMissing%3dFalse%26IncludeItemTypes%3dEpisode%26ImageTypeLimit%3d1%26format%3djson&amp;reload=$INFO[Window(home).Property(plugin.video.embycon-embycon_widget_reload)]$INFO[Window(home).Property(EmbuaryWidgetUpdate)]</value> </variable>

./xml/Embuary_WidgetTemplates.xml <!-- Next episodes --> <include name="W_EmbyConHub_NextUp"> <include content="WideWidget"> ... <param name="content" value="plugin://plugin.video.embycon/?media_type=Episodes&amp;mode=GET_CONTENT&amp;use_cache=false&amp;name_format=Episode%7cepisode_name_format&amp;url=%7bserver%7d%2femby%2fShows%2fNextUp%2f%3fUserid%3d%7buserid%7d%26Limit%3d%7bItemLimit%7d%26Recursive%3dtrue%26Fields%3d%7bfield_filters%7d%26Filters%3dIsUnplayed%2cIsNotFolder%26IsVirtualUnaired%3dfalse%26Legacynextup%3dtrue%26IsMissing%3dFalse%26IncludeItemTypes%3dEpisode%26ImageTypeLimit%3d1%26ParentId%3D$INFO[Window(home).Property(plugin.video.embycon-view_item.$PARAM[nr].id)]%26format%3djson&amp;reload=$INFO[Window(home).Property(plugin.video.embycon-embycon_widget_reload)]$INFO[Window(home).Property(EmbuaryWidgetUpdate)]"/> </include> </include>

In both add in the url the parameter: Legacynextup=true

I hope my resolution helps.

Sorry for my English, I translated this by Google Translator.

Emby: v4.6.2.0 Kodi Android: v18.9 - Leia EmbyCon: v1.9.109 Embuary: v18.8.9

psychopasss commented 2 years ago

It seems that no one has maintained it.