Kodi Community Forum
[RELEASE] Cinema Experience - the new Home Theater Experience Script - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] Cinema Experience - the new Home Theater Experience Script (/showthread.php?tid=87563)



- giftie - 2011-02-22

Oddsodz Wrote:Well I give up with BBFC "Rating". No matter what I try. They will not play. I Have tried every "Folder" layout I can think off. They just will not show. But if I scape a movie that is "MPAA" rated. They show fine. Dam inretating


Apart from that. Jolly good show. Great work.

Could you post your xbmc.log to pastebin?

Thanks


- MidnightWatcher - 2011-02-22

When I try to use CE it asks me to press Q or 0... which I don't have on the Android remote. How do I fix it?


- giftie - 2011-02-22

MidnightWatcher Wrote:When I try to use CE it asks me to press Q or 0... which I don't have on the Android remote. How do I fix it?

You'll need to open the context menu and use the Queue option. I'm not sure about the Android remote program...


- Harro - 2011-02-22

Oddsodz Wrote:Well I give up with BBFC "Rating". No matter what I try. They will not play. I Have tried every "Folder" layout I can think off. They just will not show. But if I scape a movie that is "MPAA" rated. They show fine.

I havent installed the newest CE yet but I have had seperate folders inside the ratings folder called MPAA and another called BBFC with the avi's inside those folders. I dont use the BBFC rating but the MPAA always played for me. Dont know if that is any help with the folders or not. In my settings I have just pointed to the ratings folder for it to work.


- Oddsodz - 2011-02-22

Here is the Pastebin link

http://pastebin.com/qsDCy0FW

Here is the ".nfo" for the movie I tried.

Code:
<?xml version="1.0" encoding="utf-8"?>
<movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <id>tt1816060</id>
  <title>Walt Disney's Fables Vol.3</title>
  <originaltitle>Walt Disney's Fables Vol.3</originaltitle>
  <year>2003</year>
  <releasedate>15/09/2003</releasedate>
  <rating>7.5</rating>
  <mpaa>UK:U</mpaa>
  <certification>UK:U</certification>
  <genre>Animation / Family</genre>
  <studio>Walt Disney Home Video</studio>
  <director>Jack King / Hamilton Luske</director>
  <credits>Del Connell (writer) / Milt Banta (writer)</credits>
  <tagline>More tall tales</tagline>
  <plot>More fables retold by Walt Disney characters... Donald in Mathmagicland, Ben and Me</plot>
  <runtime>61 mins</runtime>
  <fileinfo>
    <streamdetails>
      <audio>
        <channels>2</channels>
        <codec>mp3</codec>
      </audio>
      <video>
        <aspect>1.310</aspect>
        <codec>xvid</codec>
        <duration>61 mins</duration>
        <height>464</height>
        <scantype>Progressive</scantype>
        <width>608</width>
      </video>
    </streamdetails>
  </fileinfo>
</movie>


Now. Before somebody says the "U.avi" file is bad. I Tested that. It works fine. Tested by re-nameing it to "PG-13.avi" and copied it into the the "MPAA" folder and changed the setting to match for "MPAA" in "Cinema Experience Addon Setting".

I Have one movie that is scraped using the inbuilt XBMC scrapper (imdb) and that is "Daredevil". As I predicted. It played as it should.

From what I can tell (And I am no expert - if I was I would fix it lol). It has to be something to do with the UK flagged scraped.

Code:
<mpaa>UK:U</mpaa>
  <certification>UK:U</certification>

part of the ".nfo".

I Scraped all my movies using Ember Media Manager before I let XBMC add them to the "library". I Do this as I then get UK Flaggins in the skin "night.purtiy" (it's a mod of "night")

You can see the flags in the top left of this video here

http://www.youtube.com/watch?v=n5VVlZr3J5A&hd=1

Skip to 1:36 and look at the top left to see the little round and triangles BBFC flags.

This is as much info as I can give you.



EDIT---------------------------

Look at line 238 of the log.

05:25:06 T:4564 M:2121355264 NOTICE: [script.cinema.experience] - MPAA: NR

This seems to be the issue. It's looking for a file for the "NR.avi" When in fact it should be looking for a "BBFC U.avi"


- loggio - 2011-02-22

... It says push q or 0 (zero) to Queue Movie/s

i use a remote, pushing 0 (zero) does nothing (On both remote and keyboard)... and pushing Q is out of the option, because i don't use a keyboard... and going to the context menu is just plain confusing for my family.

is (0) brokenHuh


- giftie - 2011-02-22

I would need to see how column c12 in your video database looks for that movie.

Here is a sample from soldave had sent me and which I used as a basis for BBFC
http://i673.photobucket.com/albums/vv99/soldave/ratings.gif

The log shows that the script finds a value of NR(which just means it didn't match anything)

If you are using the default database(not MySQL) you can use a program called SQLite Spy - http://www.yunqa.de/delphi/lib/exe/fetch.php?hash=dd3dcb&media=http%3A%2F%2Fwww.yunqa.de%2Fdelphi%2Fdownloads%2FSQLiteSpy_1.8.16.zip


- giftie - 2011-02-22

loggio Wrote:... It says push q or 0 (zero) to Queue Movie/s

i use a remote, pushing 0 (zero) does nothing (On both remote and keyboard)... and pushing Q is out of the option, because i don't use a keyboard... and going to the context menu is just plain confusing for my family.

is (0) brokenHuh

What type of remote are you using??


- loggio - 2011-02-22

I have several remotes... Non of them work when i push zero... And if i push zero on the keyboard also doesn't work.

if i go to : Movies library and Search for a movie and push "zero" on my remote it shows up in the search field... So i know my remote works and responds with XBMC.

"Q" works, if i push it on the keyboard, but this is no good for me.


- giftie - 2011-02-22

loggio Wrote:I have several remotes... Non of them work when i push zero... And if i push zero on the keyboard also doesn't work.

if i go to : Movies library and Search for a movie and push "zero" on my remote it shows up in the search field... So i know my remote works and responds with XBMC.

"Q" works, if i push it on the keyboard, but this is no good for me.

How about a copy of you xbmc.log posted to pastebin?

also if possible a copy of your remote.xml(found in userdata/keymaps)(posted on pastebin as well)


- loggio - 2011-02-22

I see what the problem is...

I (and i assume a lot of other people) have their remote setup to "send keyboard presses" in the options of xbmc.

keyboard.xml keymap does not have "zero" as an option for Queue by default.

I'll have to add this to my own xml...

Though,
this will prove to be a problem for others aswell.


- giftie - 2011-02-22

loggio Wrote:I see what the problem is...

I (and i assume a lot of other people) have their remote setup to "send keyboard presses" in the options of xbmc.

keyboard.xml keymap does not have "zero" as an option for Queue by default.

I'll have to add this to my own xml...

Though,
this will prove to be a problem for others aswell.

That is one of the reasons I asked what type of remote(and about the log)


- loggio - 2011-02-22

All sorted.

cheers.


- Oddsodz - 2011-02-22

Here you go (I think I was looking in the right place).

Image

If you look at the very bottum of the image, You will see that "Daredevil" is the odd one out due to it beening scraped by the internal IMDB scrapper.

So it looks like the naming format for the BBFC is the ones at fault. I Should also note that you must have all video files in the "Ratings" folder and not in sub folders. In my testing. Even the MPAA videos would not run if they was in a sub folder. IE: Settings in CE set to

X:\videos\ratings

But the files are located at

X:\videos\ratings\MPAA\NC-17.avi

Would not work. Not a big issue.

So if we can sort out a naming format that will not clash with the MPAA naming format and have them all in the same folder. I Think we will have a winner.


- giftie - 2011-02-22

I see the problem.. Some how on some machines the rating is stored without the UK: and others with. I'll have a fix out in about 10mins. You can download version 1.0.22

as for the Folder location, I believe the pack you are using(looks like SlaveUnits) does have the ratings in separate folders(to keep them separate as they will clash(MPAA and BBFC have PG and U.)) You just need to point the script settings to the folder of the ratings you want to use.


Oddsodz Wrote:Here you go (I think I was looking in the right place).

Image

If you look at the very bottum of the image, You will see that "Daredevil" is the odd one out due to it beening scraped by the internal IMDB scrapper.

So it looks like the naming format for the BBFC is the ones at fault. I Should also note that you must have all video files in the "Ratings" folder and not in sub folders. In my testing. Even the MPAA videos would not run if they was in a sub folder. IE: Settings in CE set to

X:\videos\ratings

But the files are located at

X:\videos\ratings\MPAA\NC-17.avi

Would not work. Not a big issue.

So if we can sort out a naming format that will not clash with the MPAA naming format and have them all in the same folder. I Think we will have a winner.