[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 
ÆON Movie Wall / Eversion for Oversight - Beta Version - Released
03-05-2012, 10:46 AM (This post was last modified: 12-21-2012 01:10 PM by vaidyasr.)
Post: #1
ÆON Movie Wall / Eversion for Oversight - Beta Version - Released
I am starting the ÆON Movie Wall Skin for oversight as I got requests from some users. It is basically a php code which can read the existing index.db from /share/Apps/oversight/index.db and shows the ÆON Movie Wall dynamically without any intermediate files.

Thanks to all who were provided the sample data for testing.

CSI Package Download Link: http://sourceforge.net/projects/nmtcsi/f...v1.0.7.zip (contains AEON skin included, from next version only the scripts will be released. )

Download the below skin and extract under skins directory:
AEON Skin for Oversight: http://sourceforge.net/projects/nmtcsi/f..._04_21.zip


You can install via CSI -> Install from file option.

The advantages over static vs dynamic.
Static Pros:
1. Good for movies which is not going to change/add.
2. Will be fast at any time.

Static Cons:
1. Need to rebuild all indexes every time for adding a single movie.
2. Inside the detail page, you can't go to the previous/next movie of same category. For example, if you are browsing through Genres-> Action category and viewing via detail, when you go to next/previous for static it will go to next movie which doesn't fall the Action category.

Dynamic Pros:
1. No need to build any index, and always updated. The data will be cached and will be used for 1 hour when start using. After that, it will again cache the new data.
2. Same speed as static, but may be slow at the beginning.
3. Inside the detail page, you can go to the same category.

Dynamic Cons:
1. Initial DB import required, but equal time like static xml/html building.

For TV-Shows, you may need to have the banners to display in the TV-SHOWS page. the format should be ovs_imdb_tt1234567_seasonno.banner.jpg and located under oversight/db/global/_J/ directory. For episode image, the file name will be
ovs_imdb_tt1234567_seasonno.videoimage.jpg and located on the above path.

Steps to be done for building XML/HTML:
# cd /share/Apps/JukeBox/webui
# /nmt/apps/server/php build.php [eversion|amwyamj2100509]
Browse to /share/Apps/Jukebox/webui/html directory and select Categories.html or index.htm file for main index.


Steps to be done to Import index.db to oversight.db:
Install php5-cli from opkg along with php5-sqlite and php5-xsl

Then type the below
Code:
# cd /share/Apps/JukeBox/webui
# php import.php

Browse to /share/Apps/Jukebox/webui directory or /share/Apps/Eversion/eversion.phf to open the Dynamic Jukebox

The following issues identified as oversight doesn't support them:
  • Audio information will not be displayed in detail page.
  • ...

The following are the features supported by this script:
  • Categories, Genre and Certification can be filtered via categories.xml, genre.xml and certification.xml like YAMJ.
  • Box sets Now supported.
  • ...

The following section shows how you can customize the output of the script by editing preferences.txt file included with the package.

preferences.txt
Code:
categories_indexList=Other,Genres,Title,Rating,Year,Set
The above controls the list of Categories that will be displayed on AEON skin. You can remove/add if you don't want a specific category. Cast/Director yet to come.

genres.xml
Code:
<genres>
  <genre name="Action">
    <subgenre>Adventure</subgenre>
    <subgenre>Sport</subgenre>
    <subgenre>War</subgenre>
    <subgenre>Western</subgenre>
    <subgenre>Guerre</subgenre>
    <subgenre>Aventure</subgenre>
    <subgenre>Action and Adventure</subgenre>
  </genre>
  <genre name="Comedy">
    <subgenre>Comedie</subgenre>
    <subgenre>Comédie</subgenre>
  </genre>
  <genre name="Drama">
    <subgenre>Biography</subgenre>
    <subgenre>Biographie</subgenre>
    <subgenre>Romance</subgenre>
    <subgenre>History</subgenre>
    <subgenre>Histoire</subgenre>
    <subgenre>Crime</subgenre>
    <subgenre>Drame</subgenre>
  </genre>
  <genre name="Thriller">
    <subgenre>Horror</subgenre>
    <subgenre>Horreur</subgenre>
    <subgenre>Mystery</subgenre>
  </genre>
  <genre name="Other">
    <subgenre>Short</subgenre>
    <subgenre>Music</subgenre>
    <subgenre>Musical</subgenre>
  </genre>
  <genre name="Sci-Fi">
    <subgenre>Science</subgenre>
    <subgenre>Science Fiction</subgenre>
    <subgenre>Science-Fiction</subgenre>
  </genre>
</genres>
The above controls the Genres output. You can edit so that only set of Genres will be displayed on the index page. The above is the default packaged with the script.

categories.xml
Code:
<categories>
  <category name="All">
    <enable>true</enable>
    <rename>All</rename>
  </category>
  <category name="New">
    <enable>true</enable>
    <rename>New</rename>
  </category>
  <category name="New-TV">
    <enable>true</enable>
    <rename>New-TV</rename>
  </category>
  <category name="New-Movie">
    <enable>true</enable>
    <rename>New-Movies</rename>
  </category>
  <category name="Movies">
    <enable>true</enable>
    <rename>Movies</rename>
  </category>
  <category name="Extras">
    <enable>true</enable>
    <rename>Extras</rename>
  </category>
  <category name="TV Shows">
    <enable>true</enable>
    <rename>TV Shows</rename>
  </category>
  <category name="HD">
    <enable>true</enable>
    <rename>HD</rename>
  </category>
  <category name="HD-720">
    <enable>true</enable>
    <rename>HD-720</rename>
  </category>
  <category name="HD-1080">
    <enable>true</enable>
    <rename>HD-1080</rename>
  </category>
  <category name="Watched">
    <enable>true</enable>
    <rename>Watched</rename>
  </category>
  <category name="Unwatched">
    <enable>true</enable>
    <rename>Unwatched</rename>
  </category>
  <category name="Rating">
    <enable>true</enable>
    <rename>Rating</rename>
  </category>
  <category name="Sets">
    <enable>true</enable>
    <rename>Sets</rename>
  </category>
</categories>
The above controls the Others output. You can enable/disable so that only enabled will be displayed on the index page. The above is the default packaged with the script.

certification.xml
Code:
<certifications>
    <certification name="18">
        <subcertification>VM18</subcertification>
        <subcertification>M18</subcertification>
    </certification>
    <certification name="16">
        <subcertification>NC-16</subcertification>
    </certification>
    <certification name="15">
        <subcertification>15A</subcertification>
    </certification>
    <certification name="14">
        <subcertification>14+</subcertification>
    </certification>
    <certification name="12">
        <subcertification>12A</subcertification>
    </certification>
    <certification name="R">
        <subcertification>UNKNOWN</subcertification>
        <subcertification>Not Rated</subcertification>
    </certification>
</certifications>
The above controls the Ratings output. You can edit so that only set of Ratings will be displayed on the index page. The above is the default packaged with the script.


Oversight DB running on Eversion: Credits goes to accident.
http://www.youtube.com/watch?v=ODUZyU6eQoI

Screenshots amwyamj2100509 skin:
[Image: categories1.th.jpg][Image: index1u.th.jpg][Image: detail1x.th.jpg][Image: tvshows1.th.jpg]

Screenshots Eversion skin:
[Image: eversionhome.th.jpg][Image: eversionhd1080.th.jpg][Image: eversionindex.th.jpg][Image: eversiondetail.th.jpg][Image: eversiontvshow.th.jpg]

Screenshots amwyamj2100509 skin 21st Apr (DB provided by Slevin):
[Image: image1zrm.th.jpg][Image: image2pvw.th.jpg][Image: image3xb.th.jpg]

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 14 users say Thank You to vaidyasr for this post
03-05-2012, 11:11 AM
Post: #2
RE: ÆON Movie Wall for Oversight - In Progress
This is great!.. I'm very happy Sriram!

I'm moving this week so might be off line from Wednesday but I'll be all over the testing when needed!
Find all posts by this user
Add Thank You Quote this message in a reply
03-05-2012, 06:00 PM
Post: #3
RE: ÆON Movie Wall for Oversight - In Progress
Some more progress!!!

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to vaidyasr for this post
03-05-2012, 06:18 PM (This post was last modified: 03-05-2012 06:21 PM by Slevin.)
Post: #4
RE: ÆON Movie Wall for Oversight - In Progress
Looking good Big Grin
feels strange tough to see my own database in a different skin Tongue

do you think it will be possible to Sort by Age in stead of by name as it is now in the screenshot?
To keep oversights PVR-feel (showing the new content first)

Great work in such a short time,
i still believe making the oversight-db readable for other apps will be a huge step forward in the NMT-experience,
combining the great scanning-engine with the cool looks.

My PCH-A110 Stats | Samsung LE32A656 | Logitech Z-2300 | Harmony One
Oversight | Sick Beard DOGnzb | NZBGet | Transmission | Lighttpd | ...
Find all posts by this user
Add Thank You Quote this message in a reply
03-05-2012, 06:41 PM
Post: #5
RE: ÆON Movie Wall for Oversight - In Progress
+1 for sort by age/scan

This is starting to look like the NMJ killer we knew was out there Tongue
Find all posts by this user
Add Thank You Quote this message in a reply
03-06-2012, 12:36 PM
Post: #6
RE: ÆON Movie Wall for Oversight - In Progress
good luck! can't wait for a beta Big Grin
Find all posts by this user
Add Thank You Quote this message in a reply
03-07-2012, 07:59 AM (This post was last modified: 03-07-2012 06:25 PM by vaidyasr.)
Post: #7
RE: ÆON Movie Wall for Oversight - In Progress
Limitations:
a. A cron job will run to build XML files required for the skin. HTML files will be generated too according to the skin.
b. You may not able to get all functionality like YAMJ, as the above will extract the movie/tvshow data from oversight db. Some of the missing info as I noted is audio codec is not stored in oversight DB.
c. The included AEON skin has been modified to maintain some standards. If you would like to edit the skin by using various mods, you can proceed with the one supplied with this.
d. Need a lighttpd/php with XSLT support. (you can get it from opkg).
e. Eversion skin is also possible to use, but needs to be tested.

The current progress is building the Categories xml for Genre,Movies,Year... Once complete, I'll release it for testing.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 3 users say Thank You to vaidyasr for this post
03-07-2012, 08:50 AM
Post: #8
RE: ÆON Movie Wall for Oversight - In Progress
[stupid question]
Is it possible to build xml on-the-fly without the need of a cron job and make a call thru html or flash (like a api)?
[/stupid question]

C-200 @50'' Panasonic TH-50PX8EA
(BR, 2,5''HDD 500GB, LAN)
A-110 @42'' LG LED-TV
(3,5''HDD 1TB, LAN)
CH3SNAS 1TB+500GB, DNS-323 2x2TB,
ACER WHS H-340 1TB
!! VOTE FOR !! multiple switchable external subtitles (srt)
Find all posts by this user
Add Thank You Quote this message in a reply
03-07-2012, 08:57 AM
Post: #9
RE: ÆON Movie Wall for Oversight - In Progress
(03-07-2012 08:50 AM)MikeHunter Wrote:  [stupid question]
Is it possible to build xml on-the-fly without the need of a cron job and make a call thru html or flash (like a api)?
[/stupid question]

Eversion requires a static XML files.

Fore AEON skin, it is possible to build xml and show the HTML files on the fly but it costs time. (5 seconds each page).

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-07-2012, 05:42 PM
Post: #10
RE: ÆON Movie Wall for Oversight - In Progress
I'm sorry for my lack of knowledge, but is a cron job a heavy task for the NMT (A100/A200)?
I thought that it was more of a script, which could be called upon by (in this case) catalog.sh.
This could be done, either by the automatic scan after a new addition (nzbget), or by doing a rescan in the settings menu in Oversight.


PCH-A100 (FW 01-17-100317-15-POP-402-000) (00-17-091216-15-POP-402 NMT Apps)
Philips 28PW9611/01 PAL SD, connected with Composite

Old skoolCool
Find all posts by this user
Add Thank You Quote this message in a reply
03-07-2012, 05:54 PM
Post: #11
RE: ÆON Movie Wall for Oversight - In Progress
Whenever you add a movie to the oversight db, you may need to reindex the xml/html. It need not be a cron. But if a script is already in place to do the automatic addition to oversight DB, it can be done.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to vaidyasr for this post
03-07-2012, 06:43 PM (This post was last modified: 03-07-2012 06:58 PM by Cherek.)
Post: #12
RE: ÆON Movie Wall for Oversight - In Progress
Naturally lordy can specify this more clearly, but as far as I know the procedure is the following.
- After NZBget's download is finshed, lordy's unpak script (installed with oversight) is called.
- The unpak script unpacks (duh) the files and moves it to share\Complete and calls the catalog script
- The catalog script finds the info and art from the movie and finally moves the file to the appropriate folder
(and probably indexes the addition in the db)

Manually, when one goes to Oversight Configuration>Rescan and issues a rescan request, catalog is run but with less parameters.


PCH-A100 (FW 01-17-100317-15-POP-402-000) (00-17-091216-15-POP-402 NMT Apps)
Philips 28PW9611/01 PAL SD, connected with Composite

Old skoolCool
Find all posts by this user
Add Thank You Quote this message in a reply
03-07-2012, 06:49 PM
Post: #13
RE: ÆON Movie Wall for Oversight - In Progress
Current State:
All XML and HTML has been created via script, user needs to browse to Categories.html, will get the AEON skin interface. Still to go for TV shows.

Anyhow, I'll release only for the movies initially, and then I'll fix TV shows. I'll do some more testing and then release it. The current dependency of the script is php (even the one supplied by syabas) and you can install the xsltproc from opkg to run.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 3 users say Thank You to vaidyasr for this post
03-07-2012, 07:42 PM (This post was last modified: 03-07-2012 07:42 PM by lordy.)
Post: #14
RE: ÆON Movie Wall for Oversight - In Progress
Hi, good work. As Cherek suggest, updating catalog.sh to run the conversion would be the best place.
This would work for both nzbget running on NMT, or for people adding their own content and using Oversight's "watch folder" option.

Oversight: Jukebox | FeedTime: Automatic nzbs
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to lordy for this post
03-07-2012, 09:08 PM (This post was last modified: 03-07-2012 09:22 PM by Slevin.)
Post: #15
RE: ÆON Movie Wall for Oversight - In Progress
Memo saying that the lighttpd package might be easier to install for other users, this one has xslt too..
It replaces the syabas php-server..
I'm not sure how opkg handles this.

Anyway, big congratulations on making progress so fast vaidyasr!

If Eversion is a similar proces, this would be very interesting as it brings oversight to the 300-series, with their flash-only interface.
_________________________

Request to Lordy:
Download series-banners too (the horizontal ones)
I believe you already download posters and fanart from thetvdb.. they have banners too
This will be interesting to have if other people start playing around with your skin.
eg; the new Clean-template has banners but banners have to be downloaded manually

My PCH-A110 Stats | Samsung LE32A656 | Logitech Z-2300 | Harmony One
Oversight | Sick Beard DOGnzb | NZBGet | Transmission | Lighttpd | ...
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
  Does oversight needs an upgrade after nzbget 11 ?? Slevin 2 283 Yesterday 08:40 PM
Last Post: bgoldie
  Oversight to work with new NZBGet post processing script? mmccking 13 1,345 05-05-2013 10:06 AM
Last Post: Damester24
  Can't run Oversight after upgrading A400 pmcd 6 318 04-29-2013 09:38 AM
Last Post: pmcd
  Sabnzbd/Sickbeard Updating Oversight RXP 44 3,723 04-18-2013 04:39 PM
Last Post: espresso
  most recent season cover on wall Wally73 2 284 04-17-2013 06:47 PM
Last Post: Wally73
  Oversight -> Eversion - r2312 - direct - alpha testing - feedback lordy 199 30,057 04-13-2013 08:31 PM
Last Post: espresso
  Oversight changes the PCH font sventamyra 0 266 04-13-2013 12:09 PM
Last Post: sventamyra
  Oversight -> Eversion: Genres not working Micki 0 432 03-28-2013 08:51 AM
Last Post: Micki
  slickskin [OVERSIGHT-gaya] jonny555 392 40,901 03-28-2013 12:58 AM
Last Post: Sproglet
  oversight - no detailed page for some films tombaz 3 552 03-20-2013 07:02 PM
Last Post: Setzer

Forum Jump: