Jump to content

EmbyCon Kodi add-on


TeamB

Recommended Posts

TeamB
14 hours ago, amb13 said:

Is this something you can add to the add-on? Would be hard to always have to add in manually.

Do you have any clue why it would act so strange when I add the refresh token to the pluginpath?

You might need to URL encode the refresh param like all the other params are

plugin://plugin.video.embycon/
?url=%7Bserver%7D/emby/Shows/NextUp%3FParentId%3Dbc3a7d1d3dac1f10e170387270df67fa%26Fields%3D%7Bfield_filters%7D%26ImageTypeLimit%3D1%26IsMissing%3DFalse%26IncludeItemTypes%3DEpisode%26Recursive%3DTrue%26format%3Djson%26Limit%3D%7BItemLimit%7D%26Userid%3D%7Buserid%7D%26SortBy%3DDateCreated%26SortOrder%3DDescending%26Filters%3DIsNotFolder%26Legacynextup%3Dtrue
&mode=GET_CONTENT
&media_type=Episodes
&sort=none
&name_format=Episode%7Cepisode_name_format
&reload=$INFO[Window(Home).Property(plugin.video.embycon-embycon_widget_reload)]

From This:
&reload=$INFO[Window(Home).Property(plugin.video.embycon-embycon_widget_reload)]

To This
&reload=%24INFO%5BWindow%28Home%29.Property%28plugin.video.embycon-embycon_widget_reload%29%5D

 

 

 

Link to comment
Share on other sites

amb13
5 hours ago, TeamB said:

You might need to URL encode the refresh param like all the other params are


plugin://plugin.video.embycon/
?url=%7Bserver%7D/emby/Shows/NextUp%3FParentId%3Dbc3a7d1d3dac1f10e170387270df67fa%26Fields%3D%7Bfield_filters%7D%26ImageTypeLimit%3D1%26IsMissing%3DFalse%26IncludeItemTypes%3DEpisode%26Recursive%3DTrue%26format%3Djson%26Limit%3D%7BItemLimit%7D%26Userid%3D%7Buserid%7D%26SortBy%3DDateCreated%26SortOrder%3DDescending%26Filters%3DIsNotFolder%26Legacynextup%3Dtrue
&mode=GET_CONTENT
&media_type=Episodes
&sort=none
&name_format=Episode%7Cepisode_name_format
&reload=$INFO[Window(Home).Property(plugin.video.embycon-embycon_widget_reload)]

From This:
&reload=$INFO[Window(Home).Property(plugin.video.embycon-embycon_widget_reload)]

To This
&reload=%24INFO%5BWindow%28Home%29.Property%28plugin.video.embycon-embycon_widget_reload%29%5D

 

 

 

Thanks, tried this and this did not work at all now.

When I go and add a widget to a link in embycon in my skin. Is that created link something embycon controlls? Could you add a refresh token to that, or are we stuck on the mercy of the script?

Link to comment
Share on other sites

TeamB
11 minutes ago, amb13 said:

Thanks, tried this and this did not work at all now.

When I go and add a widget to a link in embycon in my skin. Is that created link something embycon controlls? Could you add a refresh token to that, or are we stuck on the mercy of the script?

yeah ok, looking at this again it looks like you dont need to url encode the text.

The add-on links under the add-on main menu are controlled by the add-on so I may be able to add something however I dont know if it will help as you have pointed out the content changes. I would need to test this when I get time.

Link to comment
Share on other sites

amb13
1 hour ago, TeamB said:

yeah ok, looking at this again it looks like you dont need to url encode the text.

The add-on links under the add-on main menu are controlled by the add-on so I may be able to add something however I dont know if it will help as you have pointed out the content changes. I would need to test this when I get time.

OK. Thanks

If you want to take a look at it I got it to work as I want it to with this:

plugin://plugin.video.embycon/?url=%7Bserver%7D/emby/Shows/NextUp%3FParentId%3Dbc3a7d1d3dac1f10e170387270df67fa%26Fields%3D%7Bfield_filters%7D%26ImageTypeLimit%3D1%26IsMissing%3DFalse%26IncludeItemTypes%3DEpisode%26Recursive%3DTrue%26format%3Djson%26Limit%3D%7BItemLimit%7D%26Userid%3D%7Buserid%7D%26SortBy%3DDateCreated%26SortOrder%3DDescending%26Filters%3DIsNotFolder%26Legacynextup%3Dtrue&mode=WIDGET_CONTENT&type=nextup_episodes&sort=none&name_format=Episode%7Cepisode_name_format&reload=$INFO[Window(Home).Property(plugin.video.embycon-embycon_widget_reload)]",return)

Istead of:

plugin://plugin.video.embycon/?url=%7Bserver%7D/emby/Shows/NextUp%3FParentId%3Dbc3a7d1d3dac1f10e170387270df67fa%26Fields%3D%7Bfield_filters%7D%26ImageTypeLimit%3D1%26IsMissing%3DFalse%26IncludeItemTypes%3DEpisode%26Recursive%3DTrue%26format%3Djson%26Limit%3D%7BItemLimit%7D%26Userid%3D%7Buserid%7D%26SortBy%3DDateCreated%26SortOrder%3DDescending%26Filters%3DIsNotFolder%26Legacynextup%3Dtrue&mode=GET_CONTENT&media_type=Episodes&sort=none&name_format=Episode%7Cepisode_name_format&reload=$INFO[Window(Home).Property(plugin.video.embycon-embycon_widget_reload)]

Using mode=WIDGET_CONTET  and type=nextup_episodes instead of GET_CONTENT and media_type=Episodes as in estuary (embycon)

Though I'm not sure I didn't  ruin some other function with this.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...