Jump to content

[SUPPORT THREAD] Embuary - A Emby Kodi Skin


sualfred

Recommended Posts

Filtering by year is a Kodi core feature. If the label ListItem.Year is filled, which is done by Emby for Kodi and EmbyCon, it works. A skin is not responsible for filtering.

 

So you say it's possible to sort already, may I ask how? 

Link to comment
Share on other sites

sualfred

Sorry, I wasn't detailed enough. If you want to filter you have to built own custom smart playlists. https://kodi.wiki/view/Smart_playlists

That will only work with Emby for Kodi.

 

But you can always sort by year with both Emby addons in the filter section of a view (header bar, icon to the very right with the 3 lines)

Link to comment
Share on other sites

pünktchen

@@sualfred

Embuary_Variables.xml:

<variable name="EmbyCon.FavPerson">
    <value condition="System.HasAddon(plugin.video.embycon)">plugin://plugin.video.embycon/?media_type=Person&mode=GET_CONTENT&use_cache=false&url=%7Bserver%7D%2Femby%2FPersons%3FSortBy%3DSortName%26SortOrder%3DAscending%26Filters%3DIsFavorite%26Recursive%3Dtrue%26Fields%3DPrimaryImageAspectRatio%252CBasicSyncInfo%26CollapseBoxSetItems%3Dfalse%26ExcludeLocationTypes%3DVirtual%26EnableTotalRecordCount%3Dfalse%26Limit%3D20%26userId%3D%7Buserid%7D&reload=$INFO[Window(home).Property(plugin.video.embycon-embycon_widget_reload)]$INFO[Window(home).Property(EmbuaryWidgetUpdate)]</value>
</variable>

DialogFavourites.xml:

<!-- Fav person -->
<include content="PosterWidget">
    <param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
    <param name="id" value="207"/>
    <param name="onup" value="206"/>
    <param name="ondown" value="208"/>
    <param name="headline" value="$LOCALIZE[31212]$VAR[EmbyConLabel]"/>
    <param name="mainlabel" value="$INFO[ListItem.Title]"/>
    <param name="sublabel" value="$INFO[ListItem.Year]"/>
    <param name="sortby" value="label"/>
    <param name="use_custom_onclick" value="true"/>
    <param name="onclick" value="RunScript(script.embuary.helper,action=goto,path='$ESCINFO[ListItem.FolderPath]',target=videos)"/>
    <param name="content" value="$VAR[EmbyCon.FavPerson]"/>
</include>

It's the "onclick" action where i don't know what to use.

Link to comment
Share on other sites

sualfred

Thanks. Stupid me. I've tested the wrong account and haven't had any favourite persons in my test account. That's why my test did not return any result. (@@TeamB sorry for false alarm)

 

Added on GitHub and a onclick will call the internal skin search function.

Edited by sualfred
Link to comment
Share on other sites

pünktchen

Thanks. Stupid me. I've tested the wrong account and haven't had any favourite persons in my test account. That's why my test did not return any result. (@@TeamB sorry for false alarm)

 

Added on GitHub and a onclick will call the internal skin search function.

Thanks! Working great. Personally i'd have added persons above the music favourites, but it's your decision.

 

Btw. if i use Embuary-Info for cast with EmbyCon, nothing happens if i click on an actor inside the movie details screen:

ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
     - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
    Error Type: <type 'exceptions.TypeError'>
    Error Contents: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.embuary.info/default.py", line 52, in <module>
        Main()
      File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.embuary.info/default.py", line 19, in __init__
        TheMovieDB(self.call,self.params)
      File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.embuary.info/resources/lib/tmdb_main.py", line 37, in __init__
        self.entry_point()
      File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.embuary.info/resources/lib/tmdb_main.py", line 108, in entry_point
        dialog = self.fetch_person() if self.call == 'person' else self.fetch_video()
      File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.embuary.info/resources/lib/tmdb_main.py", line 124, in fetch_person
        data = TMDBPersons(self.call_params)
      File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.embuary.info/resources/lib/tmdb_person.py", line 39, in __init__
        self.result['movies'] = self.get_movie_list()
      File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.embuary.info/resources/lib/tmdb_person.py", line 66, in get_movie_list
        list_item = tmdb_handle_movie(item,self.local_movies)
      File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.embuary.info/resources/lib/tmdb_utils.py", line 373, in tmdb_handle_movie
        local_info = tmdb_check_localdb(local_items,label,originaltitle,premiered,imdbnumber)
      File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.embuary.info/resources/lib/tmdb_utils.py", line 309, in tmdb_check_localdb
        for item in local_items:
    TypeError: 'NoneType' object is not iterable
    -->End of Python script error report<--

Should this work with EmbyCon or only with EmbyForKodi?

Link to comment
Share on other sites

pünktchen

Also thank you for making again the main menu available as the side blade menu.

Unfortunately when i'm inside a hub overwiew, the buttons of the side blade menu do nothing, they work from inside the library of a hub though.

Link to comment
Share on other sites

pünktchen

Inside the live tv guide, how do i reach the channel groups on top of the guide or the header bar? It scrolls right to the last guide entry for me.

Link to comment
Share on other sites

jluce50

This isn't a bug report, just a feature request. If it's not too much trouble, would it be possible to add the original air/release date to the information view? I often find myself wanting this information for various TV episodes and movies and there's not currently a way to find this information with this skin (if I'm missing something, please correct me!). 

  • Like 1
Link to comment
Share on other sites

sualfred

@@pünktchen

 

The Embuary Info issue has been fixed yesterday. Please check for a update.

 

I also fixed the sidebar issue on GitHub. Should work now.

 

The guide navigation is a little pita. And it always will be. You have to press "back".

 

@jluce50 

I'll think about an place where it fits.

 

Edit:

I already display the first aired date for episodes in the info dialog. For movies and shows I'll keep just the year. If you want a more detailed information you always can look at the TMDb for movies and shows. I've added an button for this in the info dialog in the upcoming version.

Edited by sualfred
Link to comment
Share on other sites

evensteven

Since 18.7.16 and the sidebar changes there are a few visual glitches in the system information screens. Flickering on the left and empty lines in „info“,“network“ and „graphics“. Also a new line for the version of the info script probably makes sense.

Sorry.

Edited by evensteven
Link to comment
Share on other sites

sualfred

Not skin related. This fields are handled by the Kodi core. I have no flickering here on all of my devices

Edited by sualfred
Link to comment
Share on other sites

sualfred

It's visible if there is a connection and Kodi received available TV channels. It's hidden if the bool Pvr.HasTVChannels returns False. Try to reset your side panel menu in the skin settings to be sure it's not missing there and also check if you haven't hidden it by accident.

Link to comment
Share on other sites

sualfred

Then there is a problem with your PVR client/backend configuration.

 

What happens if you press "e" on your keyboard to open the guide? Do you get channels or is the content empty?

Link to comment
Share on other sites

Super weird cuz Im watching now via estuary skin.. and didnt fiddle with the settings. Just changed theme. I will test after the game.

Link to comment
Share on other sites

clarkss12

New issue, that I depend upon.  Before, when some of my media was missing some metadata, I could use the Emby skin to refresh the data.  This no longer works, it was working a couple day ago.  

 

For instance the series of "American Experience" does not have a graphic., before, I use to use the "refresh this item" and it would give me options to download the data for that series, it now longer works.

 

post-38990-0-79271700-1566093897_thumb.jpg  post-38990-0-79271700-1566093897_thumb.jpg

 

Same thing for StarTrek series, no graphic.  I used to go to "more" and select " refresh this item" and it would offer me the name/s of the series, I would select the correct one, and it would download all the meta data for that series........

 

post-38990-0-60062500-1566094083_thumb.jpg

 

I have enabled"Embuary Info script", "Embuary  Info - Open Dialog"  "Extendedinfo script",  " Extendedinfo - open Dialog"

 

post-38990-0-29656500-1566094586_thumb.jpg  post-38990-0-86514600-1566094595_thumb.jpg

post-38990-0-88995100-1566093683_thumb.jpg

Link to comment
Share on other sites

andyxoxo

Not the posters, the posters are cached, just the list of items and their metadata, and that is also cached locally in most situations if you are just navigating around back and forwards. It is only for new pages that have not been loaded since last info update, new items added or play stats changes of any of the items in the returned list that require a full fresh reload.

 

How much slower are your videos starting playback compared to Plex? 

 

Emby for Kodi may be fatesr, both addons can run side by side so you could install it and test how well it works for you, that would be my suggestion.

 

 

Hi TeamB, and thanks for your reply about the "slowness" of using Embuary & Embycon. I guess I wasn't clear as to what is slow on my Firestick Gen2... what I meant by slow is just the navigation between the various menus (and not the starting of vids); navigating TV Shows and then back to Home.... to All Movies then back to Home... and then back to TV Shows and then Home are all constantly bringing up a big round circle going round and round while waiting for the pages to "load" even though I haven't played anything yet or updated anything (or done anything that would require a "full fresh reload".) You say the posters are cached (and that option is checked in Embycon settings) but it certainly doesn't seem that way due to that big round circle going round and round all the time while switching menus. It got so bad with the Up Next widget on the home page that instead of showing nothing because I have no Up Next data instead I get an empty box with a little circle going round and round looking for Up Next data even though there is none. I haven't played anything yet so why is it looking for Up Next data... so I disabled that widget from the home page just to remove another thing that could be slowing down the navigation.

 

I am on a 5Gz Wireless AC network with strong signal so can rule that out. I have now tried various things to speed up this menu navigating process: Tried older & also newer beta versions of Embycon, is the same. Tried earlier & current versions of Embruary skin and also the same. So got me thinking to ask you if there are any settings in Embycon (or even in the server) you could point me to to see if they would help in speeding up menu navigation. Would certainly appreciate it... :-) Or is the problem with Kodi itself? Can you recommend a version of Kodi that might be faster with Embycon?

 

Edit: I also tried Emby for Kodi but wow, it didn't display my library correctly at all, wasn't any "faster" so did a clean wipe of everything related to Emby from Kodi and started fresh anew with only Embycon/Embuary.

Edited by andyxoxo
Link to comment
Share on other sites

sualfred

@@clarkss12

 

I'm not quite sure what Emby addon you are using, but you have to update the missing meta data on the Emby server. The "refresh item" is only for a local Kodi DB without using a Emby server. If you have missing artworks from the Emby server please open a extra thread and describe your problem. A skin is just a skin and not responsible for database handling.

 

The Embuary Info Script has nothing to do with updating metadata. This is more a TMDb info browser to get more information.

Link to comment
Share on other sites

andyxoxo

The navigation slowness will depend on how many items you are loading into the view, how fast your network is, how fast your client is and how how fast your server is.

 

For example on my laptop I can load 650 movies in about 1 second.

On my Pi 3 B+ I load the same movie list in about 2.5 seconds.

Tv Shows load quickly, I have about 150 TV Shows and they load in under a second on both my laptop and my Pi 3 B+.

 

This is only an example but in general the more items you load the slower it will be.

 

Ya, I have nothing like that... only 35 movies & 44 TV Show folders (I watch & delete). Am using a laptop as the server with i7 2.30Ghz, 5Ghz Wireless AC.. perhaps the bottleneck is the 2nd Gen non 4K Firestick itself or Leai 18.3? Hmmm, well, if I ever figure out this slow navigation problem I will be sure to post in case others have the same "slowness" as I don't have it with Plex or Plex for Kodi... cheers

 

Was just hoping there were some hidden tweaks in Embycon settings that I could try ;-)

Edited by andyxoxo
Link to comment
Share on other sites

pünktchen

The Embuary Info issue has been fixed yesterday. Please check for a update.

 

Working fine now. Do you think it's somehow possible to call your script via info button when an actor is highlighted?

Right now there's no information available. I'd like to keep the standard action to show the movies of an actor, but also benefit from your Embuary Info script.

 

I also fixed the sidebar issue on GitHub. Should work now.

Still not working unfortunately.

Also after restarting Kodi all the "Media Entries" of the sidebar are missing. I have to enter some hub from the home menu or the Kodi settings from the sidebar to get back all shortcuts.

Link to comment
Share on other sites

andyxoxo

 

I would also recommend switching back to the default skin and directly accessing your movies from the EmbyCon addon main menu.

 

Hi and thanks for your very informative help... well, before I went the "performance profiling" route I figured I better try your easier suggestion first and that is to rule out the embuary skin by using the default skin.... and yep yep, for sure faster now using the default skin and going through the Embycon addon menu... very nice poster displaying speed and navigation going back and forth between all the various menus. So ummm, dare I say that Embuary is bottlenecking me somehow? Before I say that, can you please recommend me a lightweight (for firestick) skin that also has customizable features for the homepage so I can do a comparison between it and Embuary? Obviously always going through the embycon addon menu and navigating all those menus on a consistent basis would get to be old ;-) 

Link to comment
Share on other sites

Super weird cuz Im watching now via estuary skin.. and didnt fiddle with the settings. Just changed theme. I will test after the game.

 

@sualfred 

This issue no longer exists, seems to been both local and temporary. 

Just heads up (: 

Link to comment
Share on other sites

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...