User(s) browsing this thread: 1 Guest(s)
|
Using Eversion as dynamic Jukebox - An Idea
|
|
03-25-2012, 06:48 PM
|
|||
|
|||
|
Using Eversion as dynamic Jukebox - An Idea
I have a basic high level idea to integrate Eversion with Oversight. It may be feasible, but not now.
Now Eversion is opening the static XML files, so if we can modify the eversion to either use a PHP script to create categories.xml on the fly or call the oversight.cgi to get the categories. So the things required to achieve the above. The oversight has to be edited to give the xml output when the URL oversight.cgi has been called, may be with arguments. This may be faster, as at the backend it interacts with OS level instead of php. But you may not able to use the actual features of oversight.cgi. So, instead of modding the oversight, we can probably write a separate program which uses the oversight libraries and can be used. The advantage would be no intermediate building of XML files. And the index is always updated one. From the current DB, it is very time consuming process to fetch the categories available. So, if the oversight DB has been ported to SQLite3 possibly we can fetch the categories in seconds instead of iterating the whole movies collection. Sriram C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730 |
|||
4 users say Thank You to vaidyasr for this post |
|
03-26-2012, 12:46 AM
|
|||
|
|||
|
RE: Using Eversion as dynamic Jukebox - An Idea
Hi, this is interesting. I haven't played with the new integrations yet , but will start after the next stable Oversight release.
Oversight: Jukebox | FeedTime: Automatic nzbs |
|||
1 user says Thank You to lordy for this post |
|
03-26-2012, 05:22 AM
|
|||
|
|||
|
RE: Using Eversion as dynamic Jukebox - An Idea
I just did a first test, by editing the eversion source to call the php to get the categories.xml instead of static and it works fine with 2-3 seconds delay. The speed can be improved if we switch the backend from flatfile to SQlite3 db.
Sriram C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730 |
|||
|
03-26-2012, 05:27 AM
(This post was last modified: 03-26-2012 05:52 AM by accident.)
|
|||
|
|||
|
RE: Using Eversion as dynamic Jukebox - An Idea
You should have asked, there's settings for what you wanted to try, no source code changes needed
There's a config file setting for where the jukebox is located.. you could swap it from ./ to anything.. I use http:// for my jukebox files at home. It's faster, flash halts when it's touching the drive. something liek http://pch/api.php?xmlfile= would be valid.. then it'l ljust ask for the xml filename at the end. Only source code changes are needed if you can't work with the categories.xml and index filenames. also it's gonig to look to that url for all artwork also btw, this plan in my mind is a mistake and just throwing together crap to make it work.. make a proper api that could be used by tablets, future players when the chips can handle html5 browsers with ajax. Also swap the data to json it's so much faster than xml. Then add proper stable support to eversion for it adding a new data class for this api.. you'll gain a lot more speed and much more options for what to do with the api. If you mimic the plex or xbmc api then you could even work with those systems as well as oversight work with xbmc programs like their tablet apps. |
|||
2 users say Thank You to accident for this post |
|
03-26-2012, 07:38 AM
|
|||
|
|||
|
RE: Using Eversion as dynamic Jukebox - An Idea
Yes, I have already seen the config file, but I was testing by replacing the existing 'Categories.xml' call in the source code to full url and it works. Also, the additional XML's were loading from the Categories.xml file too. So, need to find a way to load them too via dynamic.
Sriram C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730 |
|||
|
03-26-2012, 09:34 AM
|
|||
|
|||
|
RE: Using Eversion as dynamic Jukebox - An Idea
By editing the config file, the Categories page is loading fine. But when I select any category, it says in a message box 'ERROR' with OK button. But I can able to find the argument to the php file is going and the output is also good when I run the php. But eversion is not taking it. Need to debug the program.
Sriram C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730 |
|||
|
03-26-2012, 09:36 AM
(This post was last modified: 03-26-2012 09:38 AM by accident.)
|
|||
|
|||
|
RE: Using Eversion as dynamic Jukebox - An Idea
what's the output of your categories.xml look like? the error message shouldn't be empty so I think your missing what it should be calling in categories
|
|||
|
03-26-2012, 09:41 AM
(This post was last modified: 03-26-2012 09:42 AM by vaidyasr.)
|
|||
|
|||
|
RE: Using Eversion as dynamic Jukebox - An Idea
The output of the Other_HD_1.xml is below
Code: <?xml version='1.0' encoding='UTF-8'?>Sriram C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730 |
|||
|
03-26-2012, 09:45 AM
|
|||
|
|||
|
RE: Using Eversion as dynamic Jukebox - An Idea
currentIndex="1.xml" should be 1, not 1.xml.. it uses this to know what file it's in
|
|||
|
03-26-2012, 09:54 AM
(This post was last modified: 03-26-2012 10:07 AM by vaidyasr.)
|
|||
|
|||
|
RE: Using Eversion as dynamic Jukebox - An Idea
OK, thanks it works fine and fast too.
I'll check some more and post the results.It seems eversion doesn't use the detail.xml at all. It only uses only the categories.xml and All categories.xml and find the info about each movie. Am I right accident?. But setting the YAMJ path to a php file, each jpg request also comes to the php script. I need to find a way to bypass if the request is an image. Sriram C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730 |
|||
|
03-26-2012, 10:18 AM
(This post was last modified: 03-26-2012 10:19 AM by accident.)
|
|||
|
|||
|
RE: Using Eversion as dynamic Jukebox - An Idea
nope, it doesn't use details files.
same flash stops touching the drive applies to images.. if you could return the image with the correct header it would speed it up. everything without.xml on the end is an image request |
|||
|
03-26-2012, 10:22 AM
|
|||
|
|||
|
RE: Using Eversion as dynamic Jukebox - An Idea
So if it doesn't use details files, possibly we can skip building the xml files in the current build.php. Yes, the image loading has been done now.
Sriram C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730 |
|||
|
03-26-2012, 10:23 AM
|
|||
|
|||
| RE: Using Eversion as dynamic Jukebox - An Idea | |||
|
03-26-2012, 10:28 AM
|
|||
|
|||
|
RE: Using Eversion as dynamic Jukebox - An Idea
The page no. on eversion is required?. The conventional HTML skin may need to load every page, so the page number is required. For Eversion, it is stays on same page and doing a scolling. Is it required?.
Sriram C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730 |
|||
|
03-26-2012, 10:29 AM
|
|||
|
|||
|
RE: Using Eversion as dynamic Jukebox - An Idea
I don't understand what you mean by page number.. what data point?
|
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]






![[+]](images/collapse_collapsed.gif)



I'll check some more and post the results.