[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
Using Eversion as dynamic Jukebox - An Idea
03-26-2012, 10:37 AM
Post: #16
RE: Using Eversion as dynamic Jukebox - An Idea
On the index page of eversion you can find page 1/5, 2/5 when you scroll down the movies. I was referring to that. It is even there in TV shows details.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
03-26-2012, 10:45 AM (This post was last modified: 03-26-2012 11:33 AM by accident.)
Post: #17
RE: Using Eversion as dynamic Jukebox - An Idea
What's on the screen is calculated based on the # of visible items in that eskin screen you on. so if the eskin has 10, it's 10 per page.. total pages is the ceil of total movie nodes across all xml files/# visible.

There doesn't need to be a 1:1 relationship between the xml and the screen.. the data preloader (remotedata class) takes care of making sure the correct xml files are loaded to display the screen and if there's memory loads and predraws some extras.



Another way to think of it.. if it was a database.. it would only ask for 1 visible screen of data at a time, but this was for yamj so to conform to how yamj works for html transformation, it was adapted so the xml files dictate how many items it loads at a time instead of using the eskin to dictate the ideal 1 screen of data to load..

This is why the larger full screen walls take an extra moment to draw everything, it may be waiting for the xml to load to draw it. but this was speed tested also and while it appears to load faster/smoother visually, it's slower unless there is just a lot of other things happening at the same time (like images loading for the artwork on a first load)

This is also why you can mod any screen to your exact liking and nothing special yamj wise needs to happen.. xml sizes are based on testing for the fastest possible load that fills up the "memory" available.

I never really answered your question:

In php you would do something like:
PHP Code:
xmlfile=get_file_contents("my_1.xml");
process_index(xmlfile); 

Flash doesn't work like that.. it's contantly drawing the screen so anything you wait for like loading something, flash keeps running and your function to process is called after it's done.. so you can tell flash to load a couple xml files, it doesn't mean they will finish in the same order you asked for them.. so eversion needs the

it would look something like this:
Code:
function load_index(name) {
  my_xml_loader(name+"_1.xml", process_index);
  my_xml_loader(name+"_2.xml", process_index);
  my_xml_loader(name+"_3.xml", process_index);
  my_xml_loader(name+"_4.xml", process_index);
}

function process_index(success, errorcode, xml) {
  if(success){
      // processing goes here

      // now which xml file is this and where on the index do I put it...  you need somethign int he xml to know that.
  } else {
    // error
  }
}
Find all posts by this user
Add Thank You Quote this message in a reply
03-26-2012, 11:50 AM
Post: #18
RE: Using Eversion as dynamic Jukebox - An Idea
@accident, the code you have mentioned was supposed to be in Eversion right?.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
03-26-2012, 11:55 AM
Post: #19
RE: Using Eversion as dynamic Jukebox - An Idea
it works the same way but that is not exact code from eversion..
Find all posts by this user
Add Thank You Quote this message in a reply
04-28-2012, 02:57 PM
Post: #20
RE: Using Eversion as dynamic Jukebox - An Idea
(03-25-2012 06:48 PM)vaidyasr Wrote:  I have a basic high level idea to integrate Eversion with Oversight. It may be feasible, but not now.
..
The oversight has to be edited to give the xml output when the URL oversight.cgi has been called, ... This may be faster, ...

I've put up an alpha version of this. can discuss here

Oversight: Jukebox | FeedTime: Automatic nzbs
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Oversight -> Eversion - r2312 - direct - alpha testing - feedback lordy 199 29,980 04-13-2013 08:31 PM
Last Post: espresso
  Oversight -> Eversion: Genres not working Micki 0 430 03-28-2013 08:51 AM
Last Post: Micki
  eversion/oversight skinning jonny555 30 2,472 02-12-2013 12:50 PM
Last Post: jonny555
  Eversion can't read one TV Show Micki 19 1,602 01-27-2013 03:59 PM
Last Post: TankDozer
  Oversight+Eversion+Skins+ (.home)+A400 pmcd 1 571 01-11-2013 06:54 AM
Last Post: accident
  eversion: making selected thumbnail more obvious mikoz 3 583 12-02-2012 07:01 PM
Last Post: accident
  Oversight Jukebox v1.0 lordy 1,639 332,195 11-29-2012 06:53 PM
Last Post: astronyu
  Eversion 0.2.8.13 for Oversight (CSI Install) (R0167) accident 95 15,366 09-16-2012 03:06 AM
Last Post: accident
  What's min needed to start skinning in eversion jonny555 8 1,226 08-03-2012 08:29 PM
Last Post: halfelite
  C-200 OverSight Media Jukebox Assistance NJTheAVL 1 780 07-10-2012 10:30 PM
Last Post: jonny555

Forum Jump: