tube82 73 Posted April 15, 2014 Posted April 15, 2014 (edited) This is the central thread about new ideas for features of XBMB3C. All constructive ideas are welcome! Current ToDo/Issues List: https://github.com/M...sues?state=open Pending suggestions: - Support for (movie) special features (discussed <here>) - Movie informations from context menu (suggested <here>) Approved suggestions: - Additional art for playitem (discussed <here>) ---- Implemented suggestions: - Actor images (discussed <here>) - Backgrounds for recently added content (discussed <here>) - Additional ListItem properties for TV shows (discussed <here>) - Support for extra fanart (discussed <here>) - Support for TV Tunes (discussed <here>) - Constant names for default sections The new constant names for default nodes can be seen <here> ---- Original suggestions from this thread: 1. Constant names for default sections I use xbmb3c.XX.titlexbmb3c.XX.pathxbmb3c.XX.type to access XBMB3C nodes from the sub menu in the home screen which works good. The only problem: The changes I make to a skin will only work on my setup because everyone has a different amount of media folders. In my case, xbmb3c.6 is "Recently added movies" (because i have 6 MB3 media folders which are xbmb3c.0-5). Another problem ist that if I add or remove a media folder on the server, all the numbers change by 1 and all sub menues are messed up. The suggestion: Would it be possible to give constant names to the default entries and only use integers for the media folders so it would look something like this in my setup: xbmb3c.recentMoviesxbmb3c.recentEpisodes...xbmb3c.upcomingTVxbmb3c.0 (media folder 1, e.g. TV Shows)xbmb3c.1 (media folder 2, e.g. Animation)xbmb3x.x (last media folder) This would make it a lot easier to pre-configure modded skins to work on different setups 2. Actor images I don't know if it is possible because I don't really know how XBMC handles those, but since the actor names are provided by XBMB3C it would be really nice to also have the images show up. Edited May 22, 2014 by tube82
xnappo 1597 Posted April 15, 2014 Posted April 15, 2014 (edited) (1) I think is definitely do-able. Is it okay for the user folders to be first? I have added that to our official list of issues here: https://github.com/MediaBrowser/MediaBrowser.XBMC/issues?state=open (2) Did you read this thread here? http://mediabrowser.tv/community/index.php?/topic/5828-actor-information-and-mb3-plug-ins/ @@im85288 seemed to imply that it already works if you have the right scripts installed. If so - we can look at making those script get automatically included. As to timing for a new release, there are a few more issues I want to be sure we close; 1. Adding meta-data during playback. @ started this, not sure if it is done 2. Auto-config - again started but possibly not complete? 3. Check that the service is running 4. Detect non-UNC paths (c:\ etc) and inform the user of the problem And we need more beta testers.. There are actually a lot of under-the-hood changes in the Git. xnappo Edited April 15, 2014 by xnappo
tube82 73 Posted April 15, 2014 Author Posted April 15, 2014 (edited) (1) sure, having the media folders first in the xbmb3c view makes more sense anyway (2) having the actor metadata script installed and enabled doesn't change anything for me. Using a regular XBMC database Arctic shows actor images but using xbmb3c it doesn't. Maybe im85288 can shed some light on this? Edited April 15, 2014 by tube82
xnappo 1597 Posted April 15, 2014 Posted April 15, 2014 (edited) I think I want to keep the existing labels in place so nothing breaks, but will add some new properties as you suggest. Would this be fine: xbmb3c.stdMovieNode.recentMovies xbmb3c.stdTVNode.recentEpisodes ... xbmb3c.stdTVNode.upcomingTV xbmb3c.usrTVNode.0 (media folder 1, e.g. TV Shows) xbmb3c.usrMovieNode.1 (media folder 2, e.g. Animation) xbmb3c.ustMovieNode.x (last media folder) Something like that? Edited April 15, 2014 by xnappo
xnappo 1597 Posted April 15, 2014 Posted April 15, 2014 Thanks @ - I planned on doing 3 and 4 myself - just wanted to check with you on 1 and 2. Sounds like once 3 and 4 are done and we get some more beta testers we can move forward with 0.9.0. xnappo
elcabong 48 Posted April 15, 2014 Posted April 15, 2014 what about keeping it more simple: xbmb3x.stdNode.recentMovies xbmb3x.stdNode.recentEpisodes xbmb3x.stdNode.upcomingTV xbmb3x.usrNode.0 xbmb3x.usrNode.1 xbmb3x.usrNode.2 xbmb3x.usrNode.x this keeps stdNode/usrNode easy, unless im missing a benefit of separating the stdTVNode > stdMovieNode > stdMusicNode > etc.
xnappo 1597 Posted April 16, 2014 Posted April 16, 2014 Okay, I ended up with this: if section.get('sectype')=='usr': WINDOW.setProperty("xbmb3c.usr.%d.title" % (usrCount) , section.get('title', 'Unknown')) WINDOW.setProperty("xbmb3c.usr.%d.path" % (usrCount) , "ActivateWindow("+window+",plugin://plugin.video.xbmb3c/" + murl+",return)") WINDOW.setProperty("xbmb3c.usr.%d.type" % (usrCount) , section.get('section')) usrCount += 1 else: WINDOW.setProperty("xbmb3c.std.%d.title" % (stdCount) , section.get('title', 'Unknown')) WINDOW.setProperty("xbmb3c.std.%d.path" % (stdCount) , "ActivateWindow("+window+",plugin://plugin.video.xbmb3c/" + murl+",return)") WINDOW.setProperty("xbmb3c.std.%d.type" % (stdCount) , section.get('section')) stdCount +=1 So separate variables for user and standard collections, but still with an index. See if that will work for you. The old ones are still there too. xnappo 1
tube82 73 Posted April 16, 2014 Author Posted April 16, 2014 (edited) I think I want to keep the existing labels in place so nothing breaks, but will add some new properties as you suggest. Would this be fine: xbmb3c.stdMovieNode.recentMovies xbmb3c.stdTVNode.recentEpisodes ... xbmb3c.stdTVNode.upcomingTV xbmb3c.usrTVNode.0 (media folder 1, e.g. TV Shows) xbmb3c.usrMovieNode.1 (media folder 2, e.g. Animation) xbmb3c.ustMovieNode.x (last media folder) Something like that? In my opinion a mix of yours and elcabongs suggestion would be good. Separating the user nodes to TV and movie might be a good idea, because that would allow modded skins to include those in a default setup more easily. It would be possible to pre-configure a skins home screen TV Shows entry with a sub menu that consists of xbmb3c.tvnode.1-9 with a condition to only show those that exist and the standard TV nodes (constant names) I guess, if movie and TV user nodes are not separated, pre-configuring a skin to work on different systems would be less intuitive. I do agree though that those names seem a little too long and complicated when they don't have to be. To keep it clean and simple I'd suggest something like: xbmb3c.movie.recent xbmb3c.movie.recommended xbmb3c.movie.inprogress xbmb3c.movie.favorites xbmb3c.movie.boxsets xbmb3c.movie.1 xbmb3c.movie.x xbmb3c.tv.recent xbmb3c.tv.recommended xbmb3c.tv.inprogress xbmb3c.tv.favorites xbmb3c.tv.boxsets xbmb3c.tv.1 xbmb3c.tv.x not sure if I missed any. If you want it to be more self-explanatory you can add a "node" behind movie/tv. Just my take, but yours and elcabongs suggestion would be good as well. [edit] Didn't see your last post. Will check it out tomorrow, no more time today Edited April 16, 2014 by tube82 1
xnappo 1597 Posted April 16, 2014 Posted April 16, 2014 Changing it differently from how I did it is a pain So see if it will work as I changed it. xnappo 1
tube82 73 Posted April 16, 2014 Author Posted April 16, 2014 (edited) Would it be a big change to split usr.* to tv.* and movie.*? [edit] The way you did it is a big help for sure, so thanks for the new stuff Edited April 16, 2014 by tube82 1
xnappo 1597 Posted April 16, 2014 Posted April 16, 2014 Yeah, that shouldn't be a problem. Will look at it tomorrow night. xnappo 1
tube82 73 Posted April 16, 2014 Author Posted April 16, 2014 (edited) Just tested the changes. I had to look up the std node indexes (0, 2, 4, 7, 10 and 11 for movies, 1, 3, 5, 6, 8 and 9 for TV) but the separation of usr and std helps a lot. Adding or removing media folders will no longer mess up my menues, so thanks for the implementation! Works without problems, too! I'd still like a separation of movie and tv, but its not really that important. Can always just check the type via xbmb3c.usr.x.type [edit] The std indexes should be the same for everyone, right? Might be a good idea to add those to the skin support thread. xbmb3c.std.0 - All Movies xbmb3c.std.1 - All TV xbmb3c.std.2 - Recent Movies xbmb3c.std.3 - Recent Episodes xbmb3c.std.4 - In Progress Movies xbmb3c.std.5 - In Progress Episodes xbmb3c.std.6 - Next Episodes xbmb3c.std.7 - Favorite Movies xbmb3c.std.8 - Favorite Episodes xbmb3c.std.9 - Upcoming TV xbmb3c.std.10 - BoxSets xbmb3c.std.11 - Trailers Edited April 16, 2014 by tube82 1
xnappo 1597 Posted April 16, 2014 Posted April 16, 2014 I went ahead and separated them - it will make it even easier. xbmb3c.usr.movies.%d.title xbmb3c.usr.tvshows.%d.title xbmb3c.std.movies.%d.title xbmb3c.std.tvshows.%d.title xnappo 1
tube82 73 Posted April 17, 2014 Author Posted April 17, 2014 (edited) Awesome, works as expected! The std nodes are: xbmb3c.std.movies.0 - All Movies xbmb3c.std.movies.1 - Recently Added Movies xbmb3c.std.movies.2 - In Progress Movies xbmb3c.std.movies.3 - Favorite Movies xbmb3c.std.movies.4 - BoxSets xbmb3c.std.movies.5 - Trailers xbmb3c.std.tvshows.0 - All TV xbmb3c.std.tvshows.1 - Recently Added Episodes xbmb3c.std.tvshows.2 - In Progress Episodes xbmb3c.std.tvshows.3 - Next Episodes xbmb3c.std.tvshows.4 - Favorite Episodes xbmb3c.std.tvshows.5 - Upcoming TV Edited April 17, 2014 by tube82 2
xnappo 1597 Posted April 17, 2014 Posted April 17, 2014 (edited) Great. Do you mind writing up a little more about how this all works for the skin thread? I will also add usr.music. xnappo [EDIT] Also - can you please edit the first post in this thread to indicate it is a general thread for feature discussion? Keep the original content, but just add an opening paragraph Thanks again for your contributions. Edited April 17, 2014 by xnappo
elcabong 48 Posted April 17, 2014 Posted April 17, 2014 (edited) thanks for the node variable updates, working perfect.. awaiting the music section to complete the default home sub menu items. As to timing for a new release, there are a few more issues I want to be sure we close; 1. Adding meta-data during playback. @ started this, not sure if it is done This is done mostly, I added a ListItem to the Play action that is used to show the info about the currently playing item, it currently shows name, thumb, epp Number and season if it is available. is this related to what data we can get from xbmc json requests? i use a webinterface for xbmc control that displays info for the currently playing item including the cover and main fanart/background image, as well as some other info such as runtime, rating, release date/aired date, etc. it would be awesome if a little more info was available through that if possible. Edited April 17, 2014 by elcabong 1
im85288 1493 Posted April 17, 2014 Posted April 17, 2014 thanks for the node variable updates, working perfect.. awaiting the music section to complete the default home sub menu items. is this related to what data we can get from xbmc json requests? i use a webinterface for xbmc control that displays info for the currently playing item including the cover and main fanart/background image, as well as some other info such as runtime, rating, release date/aired date, etc. it would be awesome if a little more info was available through that if possible. Some nice changes here guys, the randomness of the variables was very difficult to adapt too. With regards the extra info for the play item, I also added the plot information to those null_pointer mentioned. If you have a look in default.py in the PLAY method you will see what data is added. 1
im85288 1493 Posted April 17, 2014 Posted April 17, 2014 (edited) Awesome, works as expected! The std nodes are: xbmb3c.std.movies.0 - All Movies xbmb3c.std.movies.1 - Recently Added Movies xbmb3c.std.movies.2 - In Progress Movies xbmb3c.std.movies.3 - Favorite Movies xbmb3c.std.movies.4 - BoxSets xbmb3c.std.movies.5 - Trailers xbmb3c.std.tvshows.0 - All TV xbmb3c.std.tvshows.1 - Recently Added Episodes xbmb3c.std.tvshows.2 - In Progress Episodes xbmb3c.std.tvshows.3 - Next Episodes xbmb3c.std.tvshows.4 - Favorite Episodes xbmb3c.std.tvshows.5 - Upcoming TV @@xnappo - I added the Music and additionally included Photos and Music Videos, please test the latest in Github for any issues. The new skin variables are: xbmb3c.std.music.0 - All Music xbmb3c.std.music.1 - Recently Added Albums xbmb3c.std.music.2 - Frequent Played Albums xbmb3c.std.music.3 - Music Videos xbmb3c.std.photo.0 - Photos Edited April 17, 2014 by im85288 1
xnappo 1597 Posted April 17, 2014 Posted April 17, 2014 (edited) Thanks! I looked a the code and looks good to me. xnappo [EDIT] Also - any comment on the actor images? Edited April 17, 2014 by xnappo
im85288 1493 Posted April 17, 2014 Posted April 17, 2014 (edited) Cool, I also added some more for Photos: MB3TotalPhotos LatestPhotoMB3.%.Title LatestPhotoMB3.%.Thumb LatestPhotoMB3.%.Path LatestPhotoMB3.%.Art(fanart) LatestPhotoMB3.%.Art(clearlogo) LatestPhotoMB3.%.Art(banner) LatestPhotoMB3.%.Art(poster) LatestPhotoMB3.%.Plot As for the Actor Images, I'm not sure of if the add-on I stated is the solution as that may have worked due to me having a local xbmc library. I need to delete it and start again to test properly. @ or @@xnappo - can you add the above variables to the thread with the skin propertys defined? I cannot edit the first post in it or would have added them myself. Edited April 18, 2014 by im85288 1
tube82 73 Posted April 18, 2014 Author Posted April 18, 2014 I just did some testing with the Arctic skin and actor images in XBMB3C. The script.metadata.actors actually works, but it doesn't provide the default XBMC functionality regarding actors. Instead, it shows additional informations. Things that don't work in XBMB3C: - When an actor is selected in the cast, the movie poster usually changes to an image of the actor. This is not the case in XBMB3C. - When a selected actor is clicked (Enter/Return) a query is performed and a list of movies/episodes he or she appears in is shown. In XBMB3C the query always returns "No results found". What works in XBMB3C when the script is installed and enabled: - When an actor is selected in the cast and the right cursor is pressed, an online query for the actor is performed and an info screen with informations, a picture and the complete filmography is shown.
xnappo 1597 Posted April 18, 2014 Posted April 18, 2014 (edited) @@im85288 - done. Probably we should just implement the MB3 native Actor functionality. A lot of work though - probably won't make the next release. I will add it to the issues list. xnappo Edited April 18, 2014 by xnappo 2
xnappo 1597 Posted April 18, 2014 Posted April 18, 2014 (edited) I added some very rudimentary search capability. It needs a LOT of refinement. Please test and give implementation feedback. xnappo [EDIT] This needs the Input dialog box type, only available in Gotham Edited April 18, 2014 by xnappo 1
elcabong 48 Posted April 18, 2014 Posted April 18, 2014 thanks for beginning to implement the search function. just 1 issue so far: cannot browse into folders (tv/seasons/collections) and 2 requests: could the list be grouped by category (movie/tv/music/artist/etc). can you setup a variable.path so we can link a home screen button without using favorites (as favorites locks in the user id) otherwise excellent start.
tube82 73 Posted April 18, 2014 Author Posted April 18, 2014 (edited) After watching a few episodes of the same show, I've come up with a new suggestion/request: In the skin support thread it is mentioned that the recent/next/random items are refreshed "about every 3 minutes". In itself that's fine, but could they also be refreshed when the homescreen is loaded? Or is this something that can already be done from the skin anyway? When I finish watching episode S01E01 of a show and return to the home screen I would like it to update right away to display S01E02 as next episode. Waiting three minutes for a refresh kind of defeats the purpose of the "next up" shelf in that case. [edit] Something else I experienced: I marked an episode as watched from XBMC and the checkmark appeared, the episode wasn't marked as watched on the MB3 web interface when I checked later. Should this work? Edited April 18, 2014 by tube82
Recommended Posts