CBers 6742 Posted January 14, 2015 Share Posted January 14, 2015 @@chessdragon136 - Home View 1 is Resume All Items and Home View 2 is TV Next Up. No resumes currently, so basically just Next Up. 1 Link to comment Share on other sites More sharing options...
im85288 1493 Posted January 14, 2015 Share Posted January 14, 2015 @@chessdragon136 - No my changes were only with the images section and I made sure not to enable it globally. I did try ITV once but had no success. Link to comment Share on other sites More sharing options...
chessdragon136 677 Posted January 14, 2015 Share Posted January 14, 2015 @@CBers - Thank you - I haven't tried on a real TV but I'm certain this is the issue - the emulator seems to be fast enough that no matter what i do i cannot replicate. Nice one! @@im85288 - Thanks, I'll check it out later. BTW my random backdrop on home page code - Do you know of an API call that will just grab a random image from your collection? ATM I'm doing this and its horrid! var randomImageURL = Server.getItemTypeURL("&SortBy=Random&IncludeItemTypes=Series,Movie&Recursive=true&CollapseBoxSetItems=false&Limit=10"); var randomImageData = Server.getContent(randomImageURL); for (var index = 0; index < randomImageData.Items.length; index++) { if (randomImageData.Items[index ].BackdropImageTags.length > 0) { var imgsrc = Server.getBackgroundImageURL(randomImageData.Items[index ].Id,"Backdrop",960,540,0,false,0,randomImageData.Items[index ].BackdropImageTags.length); document.getElementById("pageBackground").style.backgroundImage="url(" + imgsrc + ")"; break; } } Link to comment Share on other sites More sharing options...
im85288 1493 Posted January 14, 2015 Share Posted January 14, 2015 Unfortunately not, we do it differently with the Kodi addon but there we cache all music/movies/shows and then select random from that. I think the way you have it is the best way with the API we have to work with. 1 Link to comment Share on other sites More sharing options...
chessdragon136 677 Posted January 14, 2015 Share Posted January 14, 2015 Ok just pushed v0.523 to server hope that fixes you're issue @@CBers - don't have capacity to test atm due to not being near an actual tv 2 Link to comment Share on other sites More sharing options...
CBers 6742 Posted January 14, 2015 Share Posted January 14, 2015 OK, thanks Chess. Will install and report back, within the hour. Link to comment Share on other sites More sharing options...
CBers 6742 Posted January 14, 2015 Share Posted January 14, 2015 Updated app and I can't break it Great work. Thanks. 3 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now