Kodi Community Forum
Release CinemaVision: Create a Movie Theater Experience at Home - 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 CinemaVision: Create a Movie Theater Experience at Home (/showthread.php?tid=231881)



RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - PatrickBateman8 - 2015-11-22

(2015-11-22, 13:46)vanilli Wrote: Hi guys. sorry for my bad English . Here I leave my pastebin http://pastebin.com/i0tW04Xh

I do not understand because they do not work for me . I have reinstalled several times and I have everything configured properly . In beginning CinemaVision ( from context menu ) me nothing appears. It is as if not detected content . any ideas? thank you.

Hi, I was just about to report that exact same bug Big Grin . I already found out why it occurs: The genre of the movie contains non-ASCII characters and CV doesn't handle this. For example the german word for "comedy" is "Komödie" and thus the error occurs on all movies of this genre. It would be really great if this could be fixed Smile

Edit: When I delete line 751: feature.genres = xbmc.getInfoLabel('ListItem.Genre').split(' / ') in experience.py, the bug doesn't occur anymore.


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - vanilli - 2015-11-22

Thank you very much for your help. I've been able to solve that. Thank you


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - vanilli - 2015-11-22

(2015-11-22, 15:17)vanilli Wrote: Thank you very much for your help. I've been able to solve that. Thank you

Thank you very much for your help. I've been able to solve that. Thank you


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - vanilli - 2015-11-22

(2015-11-22, 14:26)PatrickBateman8 Wrote:
(2015-11-22, 13:46)vanilli Wrote: Hi guys. sorry for my bad English . Here I leave my pastebin http://pastebin.com/i0tW04Xh

I do not understand because they do not work for me . I have reinstalled several times and I have everything configured properly . In beginning CinemaVision ( from context menu ) me nothing appears. It is as if not detected content . any ideas? thank you.

Hi, I was just about to report that exact same bug Big Grin . I already found out why it occurs: The genre of the movie contains non-ASCII characters and CV doesn't handle this. For example the german word for "comedy" is "Komödie" and thus the error occurs on all movies of this genre. It would be really great if this could be fixed Smile

Edit: When I delete line 751: feature.genres = xbmc.getInfoLabel('ListItem.Genre').split(' / ') in experience.py, the bug doesn't occur anymore.

Thank you very much for your help. I've been able to solve that. Thank you


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - Ragnarok - 2015-11-23

(2015-11-21, 19:25)bubblegum57 Wrote:
(2015-11-21, 09:36)moravec Wrote: Is there any option that if CinemaVision is running the second or third time at the same day or timeperiod, that it would would play another sequence?
I start CV from the context menu, it then loads a page where you can select another sequence. If you want a setting, whereby it plays different sequences one after the other. I suggest you ask them on the CV forum for that feature.

There is not currently an option to do that, but we have sequence scheduling in our list of things to look at for round two of development.

(2015-11-22, 14:26)PatrickBateman8 Wrote:
(2015-11-22, 13:46)vanilli Wrote: Hi guys. sorry for my bad English . Here I leave my pastebin http://pastebin.com/i0tW04Xh

I do not understand because they do not work for me . I have reinstalled several times and I have everything configured properly . In beginning CinemaVision ( from context menu ) me nothing appears. It is as if not detected content . any ideas? thank you.

Hi, I was just about to report that exact same bug Big Grin . I already found out why it occurs: The genre of the movie contains non-ASCII characters and CV doesn't handle this. For example the german word for "comedy" is "Komödie" and thus the error occurs on all movies of this genre. It would be really great if this could be fixed Smile

Edit: When I delete line 751: feature.genres = xbmc.getInfoLabel('ListItem.Genre').split(' / ') in experience.py, the bug doesn't occur anymore.

This will be fixed in the next release. That line does not apply to any movies retrieved from the queue, so look out for that not getting you full functionality. A fix will be pushed to the Kodi library soon.


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - PatrickBateman8 - 2015-11-23

Awesome, thanks!


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - Ragnarok - 2015-11-24

(2015-11-23, 21:42)PatrickBateman8 Wrote: Awesome, thanks!

It was pushed earlier today, so as soon as it's shot around the Kodi mirrors, you guys should see the update pull down. Let me know if it fixes that problem!


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - Carl314 - 2015-11-24

(2015-11-18, 19:19)CinemaVision-Scott Wrote:
(2015-11-17, 02:24)Carl314 Wrote: Scott - I see you have already been in the thread today, so I'm reposting in case you missed the message above.

Carl.

I straight forgot to reply to you. Sorry about that! It looks like it's triggering "First Run" in the log, which is odd. Have you set up content and everything, or are you using CV in Demo Mode? What feature were you trying to play? Is it content scraped into Kodi locally, or something streaming? Can I get you to post your sequence file up for us to review as well?

Scott - I've had the same error trying to play any feature - my movies are stored on my NAS, as are my trailers, and incorporated into my Kodi library. And that error log I posted was generated using your default 2d sequence.

I have content set up, and when running it from the launcher, it works fine. And after posting the debug log, I tried another user's suggestion of uninstalling and reinstalling CV - same problem.

However, I did manually queue a movie, and then when launching CV from the add-on section and selecting play, it plays appropriate rating/genre trailers for the feature, and played the feature just fine.

I just cannot launch CV from the Aeon Nox SilVo information screen (and I've also tried from Confluence), or from the context menu w/o getting an error immediately.

Cheers, Carl.


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - danjames92 - 2015-11-24

Hey people. I'm struggling to get the group number of my Hue bulbs. I know what my username is. Any ideas what I'm doing wrong?

I'm using the API debug tool with the command below:

/api/key/groups/

and it throws this error:

[
{
"error": {
"type": 1,
"address": "/groups",
"description": "unauthorized user"
}
}
]

My final script looks like this, does it look ok to you minus the group bit?

# Set a single Hue light
http://IP/api/USERNAME/lights/1/state
PUT:{"on":true,"effect":"colorloop"}

# Set all Hue lights in a group
http://IP/api/USERNAME/groups/1/action
PUT:{"on":true,"effect":"colorloop"}


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - Ragnarok - 2015-11-24

(2015-11-24, 05:46)Carl314 Wrote: Scott - I've had the same error trying to play any feature - my movies are stored on my NAS, as are my trailers, and incorporated into my Kodi library. And that error log I posted was generated using your default 2d sequence.

I have content set up, and when running it from the launcher, it works fine. And after posting the debug log, I tried another user's suggestion of uninstalling and reinstalling CV - same problem.

However, I did manually queue a movie, and then when launching CV from the add-on section and selecting play, it plays appropriate rating/genre trailers for the feature, and played the feature just fine.

I just cannot launch CV from the Aeon Nox SilVo information screen (and I've also tried from Confluence), or from the context menu w/o getting an error immediately.

Cheers, Carl.

Hey Carl! We pushed out 1.0.3 yesterday, so as soon as you see CinemaVision update, give it another shot and post up a log if it fails again. Hopefully, we have it licked.

(2015-11-24, 16:54)danjames92 Wrote: Hey people. I'm struggling to get the group number of my Hue bulbs. I know what my username is. Any ideas what I'm doing wrong?

I'm using the API debug tool with the command below:

/api/key/groups/

and it throws this error:

[
{
"error": {
"type": 1,
"address": "/groups",
"description": "unauthorized user"
}
}
]

My final script looks like this, does it look ok to you minus the group bit?

# Set a single Hue light
http://IP/api/USERNAME/lights/1/state
PUT:{"on":true,"effect":"colorloop"}

# Set all Hue lights in a group
http://IP/api/USERNAME/groups/1/action
PUT:{"on":true,"effect":"colorloop"}

Hey Dan, I just replied to you on Reddit. Big Grin

I believe you have to create the groups on your Hue Bridge before you can use groups. Check out this article, scroll down to the Groups section. You can also control individual lights if you want, and your code above looks correct.

Also found this in the documentation after signing up for an account.


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - Carl314 - 2015-11-25

(2015-11-24, 18:45)CinemaVision-Scott Wrote:
(2015-11-24, 05:46)Carl314 Wrote: Scott - I've had the same error trying to play any feature - my movies are stored on my NAS, as are my trailers, and incorporated into my Kodi library. And that error log I posted was generated using your default 2d sequence.

I have content set up, and when running it from the launcher, it works fine. And after posting the debug log, I tried another user's suggestion of uninstalling and reinstalling CV - same problem.

However, I did manually queue a movie, and then when launching CV from the add-on section and selecting play, it plays appropriate rating/genre trailers for the feature, and played the feature just fine.

I just cannot launch CV from the Aeon Nox SilVo information screen (and I've also tried from Confluence), or from the context menu w/o getting an error immediately.

Cheers, Carl.

Hey Carl! We pushed out 1.0.3 yesterday, so as soon as you see CinemaVision update, give it another shot and post up a log if it fails again. Hopefully, we have it licked.

Unfortunately, the same error keeps happening. For the following logfile (http://pastebin.com/xHpG3V7k), I did the following:

1. Rebooted.
2. Launch CV from context menu with 3 Days to Kill - error.
3. Launch CV from info screen for 3 Days to Kill - error.
4. Switch to Confluence.
5. Launch CV from context menu with 3 Days to Kill - error.

looking at my logs, I notice that during the initial bootup scan, Kodi has several errors, saying folders don't exist when they actualy do exist (and I just ran a clean library command as well).

I'm using unRAID, and ensured that all drives were spun up before running the above tests, but I'm wondering if somehow Kodi is having problems accessing my NAS (using NFS) at least initially, and that is causing a CV problem?

It's probably obvious that I know nothing about this, so am grasping, but let me know if there is any specific tests/steps you want me to run.

Thanks, Carl.


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - Carl314 - 2015-11-25

(2015-11-25, 02:07)Carl314 Wrote:
(2015-11-24, 18:45)CinemaVision-Scott Wrote:
(2015-11-24, 05:46)Carl314 Wrote: Scott - I've had the same error trying to play any feature - my movies are stored on my NAS, as are my trailers, and incorporated into my Kodi library. And that error log I posted was generated using your default 2d sequence.

I have content set up, and when running it from the launcher, it works fine. And after posting the debug log, I tried another user's suggestion of uninstalling and reinstalling CV - same problem.

However, I did manually queue a movie, and then when launching CV from the add-on section and selecting play, it plays appropriate rating/genre trailers for the feature, and played the feature just fine.

I just cannot launch CV from the Aeon Nox SilVo information screen (and I've also tried from Confluence), or from the context menu w/o getting an error immediately.

Cheers, Carl.

Hey Carl! We pushed out 1.0.3 yesterday, so as soon as you see CinemaVision update, give it another shot and post up a log if it fails again. Hopefully, we have it licked.

Unfortunately, the same error keeps happening. For the following logfile (http://pastebin.com/xHpG3V7k), I did the following:

1. Rebooted.
2. Launch CV from context menu with 3 Days to Kill - error.
3. Launch CV from info screen for 3 Days to Kill - error.
4. Switch to Confluence.
5. Launch CV from context menu with 3 Days to Kill - error.

looking at my logs, I notice that during the initial bootup scan, Kodi has several errors, saying folders don't exist when they actualy do exist (and I just ran a clean library command as well).

I'm using unRAID, and ensured that all drives were spun up before running the above tests, but I'm wondering if somehow Kodi is having problems accessing my NAS (using NFS) at least initially, and that is causing a CV problem?

It's probably obvious that I know nothing about this, so am grasping, but let me know if there is any specific tests/steps you want me to run.

Thanks, Carl.


I just solved my own problem. I switched my CV folder over to SMB from NFS, and now CV is working like a charm when launching from the context or the information menus.

Not sure why that should be the case, but seeing the other Kodi errors for folders I know are good folders got me started thinking about whether NFS was at fault.

Cheers, Carl.


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - clennys - 2015-11-25

Hello. Can someone help me get started with this. I have a little experience with scripting but usually have to figure stuff out from examples. I know where to find the API documentation for eventghost but can someone please post an example of what needs to be in the action file to do something simple like enabling or disabling a specific macro in my EventGhost?

Thanks.


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - danjames92 - 2015-11-25

(2015-11-24, 18:45)CinemaVision-Scott Wrote:
(2015-11-24, 05:46)Carl314 Wrote: Scott - I've had the same error trying to play any feature - my movies are stored on my NAS, as are my trailers, and incorporated into my Kodi library. And that error log I posted was generated using your default 2d sequence.

I have content set up, and when running it from the launcher, it works fine. And after posting the debug log, I tried another user's suggestion of uninstalling and reinstalling CV - same problem.

However, I did manually queue a movie, and then when launching CV from the add-on section and selecting play, it plays appropriate rating/genre trailers for the feature, and played the feature just fine.

I just cannot launch CV from the Aeon Nox SilVo information screen (and I've also tried from Confluence), or from the context menu w/o getting an error immediately.

Cheers, Carl.

Hey Carl! We pushed out 1.0.3 yesterday, so as soon as you see CinemaVision update, give it another shot and post up a log if it fails again. Hopefully, we have it licked.

(2015-11-24, 16:54)danjames92 Wrote: Hey people. I'm struggling to get the group number of my Hue bulbs. I know what my username is. Any ideas what I'm doing wrong?

I'm using the API debug tool with the command below:

/api/key/groups/

and it throws this error:

[
{
"error": {
"type": 1,
"address": "/groups",
"description": "unauthorized user"
}
}
]

My final script looks like this, does it look ok to you minus the group bit?

# Set a single Hue light
http://IP/api/USERNAME/lights/1/state
PUT:{"on":true,"effect":"colorloop"}

# Set all Hue lights in a group
http://IP/api/USERNAME/groups/1/action
PUT:{"on":true,"effect":"colorloop"}

Hey Dan, I just replied to you on Reddit. Big Grin

I believe you have to create the groups on your Hue Bridge before you can use groups. Check out this article, scroll down to the Groups section. You can also control individual lights if you want, and your code above looks correct.

Also found this in the documentation after signing up for an account.


Thank you for that. I have managed to get the colour loop stop / start working. I'm still struggling to get the SequencePause / Resume / Start options working. Can you tell me what I'm doing wrong? The script I'm using is below.

PHP Code:
# This CinemaVision Action file uses a PUT method to set the brightness of Philips Hue lights when the sequence is resumed
#
# Visit "http://www.developers.meethue.com/" for more information on Philips Hue lights
# Visit "http://www.developers.meethue.com/documentation/configuration-api#71_create_user" to learn how to generate a <hue-bridge-user>
#
# Brightness values can be any number between 0 and 255
# The minimum brightness does not turn off the light
#
# Replace <hue-bridge-ip> with the IP address of your Hue system
# Replace <hue-bridge-user> with the username that has access to the resource
# Replace <hue-light-group> with the group number that your hue lights are in


http://IP/api/USERNAME/groups/0/action
PUT:{"on":true,"bri":0,"transitiontime”:30} 

Is there a formatting issue in the Sequence action files as when I opened the files in notepad, the line ending "with the group number that your hue lights are in" was attached to the start of the http://IP/api line?

And the error message appears as follows:

Image


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - Ragnarok - 2015-11-25

(2015-11-25, 02:19)Carl314 Wrote: I just solved my own problem. I switched my CV folder over to SMB from NFS, and now CV is working like a charm when launching from the context or the information menus.

Not sure why that should be the case, but seeing the other Kodi errors for folders I know are good folders got me started thinking about whether NFS was at fault.

Cheers, Carl.

Interesting. I wonder if it might be a permissions issue with the NFS share that allows you to create, but not write to the file? If you open the CVSEQ file in a text editor, is it empty as the log suggests?

(2015-11-25, 03:27)clennys Wrote: Hello. Can someone help me get started with this. I have a little experience with scripting but usually have to figure stuff out from examples. I know where to find the API documentation for eventghost but can someone please post an example of what needs to be in the action file to do something simple like enabling or disabling a specific macro in my EventGhost?

Thanks.

Here's a great article about triggering actions via the Webserver Plugin. Once your triggers are in place, it's as simple as putting a web address in the action file, like this:

Code:
# This is an example of a simple GET: request and not very useful
http://google.com?q=frogs

(2015-11-25, 13:57)danjames92 Wrote: Thank you for that. I have managed to get the colour loop stop / start working. I'm still struggling to get the SequencePause / Resume / Start options working. Can you tell me what I'm doing wrong? The script I'm using is below.

PHP Code:
# This CinemaVision Action file uses a PUT method to set the brightness of Philips Hue lights when the sequence is resumed
#
# Visit "http://www.developers.meethue.com/" for more information on Philips Hue lights
# Visit "http://www.developers.meethue.com/documentation/configuration-api#71_create_user" to learn how to generate a <hue-bridge-user>
#
# Brightness values can be any number between 0 and 255
# The minimum brightness does not turn off the light
#
# Replace <hue-bridge-ip> with the IP address of your Hue system
# Replace <hue-bridge-user> with the username that has access to the resource
# Replace <hue-light-group> with the group number that your hue lights are in


http://IP/api/USERNAME/groups/0/action
PUT:{"on":true,"bri":0,"transitiontime”:30} 

Is there a formatting issue in the Sequence action files as when I opened the files in notepad, the line ending "with the group number that your hue lights are in" was attached to the start of the http://IP/api line?

And the error message appears as follows:

Image

Notepad tends to screw up file formatting for plain text files. All of the files that CinemaVision uses for configuration are plain text files, and XML files. To avoid issues with file formatting, we recommend using Notepad++ to edit all files related to CinemaVision. Click the image below to download Notepad++ for free.

Image

Then go grab the Hue action files from the CinemaVision website, edit them again using Notepad++ and give it a shot. Let us know how it goes!