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 - Dave the Minion - 2015-12-05

(2015-12-05, 16:03)CinemaVision-Scott Wrote: I get to be the bearer of bad(?) news, Dave. We haven't done much more than white-board TV so far. We're still fixing things from the first round of development so once we're confident we're at a steady state, look for updates on TV functionality. We do plan to outline what we think we need to do and allow the community to get involved in development by submitting ideas, just like we did for creating the add-on initially.

Not trying to put undo pressure on your dev or anything, but wouldn't initializing CV for TV shows not be more-or-less similar to making the 3D version? Kodi plays back something from the TV database rather than the Movie database and that tells CV it's a TV show and to run the TV sequence instead of the 2D one? Maybe it just seems easier in my mind than it is in reality for what ever the reasons.

As for Z-Wave, my big issue is just not understanding it all. There's a BIG learning curve and if you don't have a good (simple) starting point you are lost before you even begin. At this point I can't even find information of what needs to be installed on the system and the Vera in order to get Kodi to work with the Vera like it used to. There's a new app, but getting the 2 to work together isn't easily laid out to understand. Coupled with the very limited support and it ends up way over my head before I even know what's going on. If I could find some decently written Kodi specific articles that would be great but so far it's like talking full on rocket science to pre-schoolers. And really, I only need CV to send 4 signals to the Vera and then want 5 buttons programmed into a Harmony. And again, my time to 'play' with all this is very limited right now so I need to know what I'm trying to do before I even get there.

Lastly, with the work towards a 2.0 release has anything been put into making customer modules to execute commands based on pre-set parameters. Example being playing a specific bumper in pace of a default one based on a file name tag or genre or something?


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - Ragnarok - 2015-12-06

(2015-12-05, 21:44)Dave the Minion Wrote: Not trying to put undo pressure on your dev or anything, but wouldn't initializing CV for TV shows not be more-or-less similar to making the 3D version? Kodi plays back something from the TV database rather than the Movie database and that tells CV it's a TV show and to run the TV sequence instead of the 2D one? Maybe it just seems easier in my mind than it is in reality for what ever the reasons.

It's actually ridiculously more complicated than the 3D implementation. We plan to add functionality to allow you to run modules (commercials) during the feature every X videos (episodes), or at specific time markers for example. There are several other things that we'll add in support of TV that are also more complicated than just a new sequence. We want to make sure to do it right. Smile

(2015-12-05, 21:44)Dave the Minion Wrote: As for Z-Wave, my big issue is just not understanding it all. There's a BIG learning curve and if you don't have a good (simple) starting point you are lost before you even begin. At this point I can't even find information of what needs to be installed on the system and the Vera in order to get Kodi to work with the Vera like it used to. There's a new app, but getting the 2 to work together isn't easily laid out to understand. Coupled with the very limited support and it ends up way over my head before I even know what's going on. If I could find some decently written Kodi specific articles that would be great but so far it's like talking full on rocket science to pre-schoolers. And really, I only need CV to send 4 signals to the Vera and then want 5 buttons programmed into a Harmony. And again, my time to 'play' with all this is very limited right now so I need to know what I'm trying to do before I even get there.

Dave, you gotta read the stuff I post, man. You'll be way less frustrated. Big Grin This is from the Luup Requests Wiki article I posted earlier:

Examples:
  • Turn off a light:
http://<IP_Address>:3480/data_request?id=action&output_format=xml&DeviceNum=6&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=0
  • Set a dimmable light to 30%:
http://<IP_Address>:3480/data_request?id=action&output_format=json&DeviceNum=7&serviceId=urn:upnp-org:serviceId:Dimming1&action=SetLoadLevelTarget&newLoadlevelTarget=30
  • Run a scene:
http://<IP_Address>:3480/data_request?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=RunScene&SceneNum=<SceneNum>
  • Install a plugin:
http://<IP_Address>:3480/data_request?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=<PluginNum>
  • Turn off all lights:
[http://<IP_Address>:3480/data_request?id=action&output_format=xml&Category=999&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=0
  • Arm all sensors:
http://<IP_Address>:3480/data_request?id=action&output_format=xml&Category=4&serviceId=urn:micasaverde-com:serviceId:SecuritySensor1&action=SetArmed&newArmedValue=1

See if any of that stuff works for you and let me know. Once we know we're on the right track, we can start creating actions.

(2015-12-05, 21:44)Dave the Minion Wrote: Lastly, with the work towards a 2.0 release has anything been put into making customer modules to execute commands based on pre-set parameters. Example being playing a specific bumper in pace of a default one based on a file name tag or genre or something?

We havent started coding the new features, if that's what you're asking. We will be adding a ton of functionality to the command modules including if 2D feature, if 3D feature, if Television feature, if tag exists (filename tag), feature genre/rating (=, <>, <, >). If anyone can think of others that would be useful, let us know.


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - leejk - 2015-12-06

(2015-11-30, 20:05)CinemaVision-Scott Wrote:
(2015-11-27, 00:10)leejk Wrote: Hi,

Still having trouble with the busy dialog showing up in CV.

The dialog you're likely seeing is for buffering, and not busy. The buffering dialog is an element on the fullscreen video window, and not a separate dialog. I don't think we can suppress it, but we can delay it - that would be up to the skinners to include and would affect everything, not just CinemaVision.
Yes, I think you are right. It is the buffering dialog. However the annoying thing about it is that it appears between every segment, even if the video is being loaded from my network share. It's always shown for maybe a second. If there is a way to set a delay before it shows as you mention, that would be most helpful.

(2015-11-30, 20:05)CinemaVision-Scott Wrote: Looking at your logs, it appears to be related to a LazyTV service, and not a CinemaVision issue. If memory serves, we've seen this before.
Yes, I have since uninstalled it. It's a shame tho, since that addon is awesome for watching TV series.

(2015-11-30, 20:05)CinemaVision-Scott Wrote: If you have all of the scrapers active, and random selected, it will randomly pull trailers from all sources. Can I get you to post a debug log with you updating content in CinemaVision? I'm wondering if CinemaVision hasn't added the other trailers in the Trailers content directory (Content) and the Kodi Database (KodiDB) to the database.
Here is another debug log: http://goo.gl/IDdxqE
I did another content update before playing. I have it set to play 6 trailers and to ignore YouTube trailers, yet it still plays them. And every trailer it played was from my Kodi library. It didn't play any from iTunes or my locally stored ones. I hope we can figure this out.


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - Carl314 - 2015-12-07

Scott -

I have CV set to only play local trailers that are in my Kodi DB. What, if anything, does the Trailers | Quality setting do in this situation?

How about a filter so that CV would only play trailers that met a minimum resolution requirement (720p, in my case). The reason is that I can find only lousy 360 resolution trailers for some movies.

With a filter, I can download the lousy trailers in case someone is really, really interested enough in a movie to watch the trailer, but CV will only "wow" the viewer with the HD trailer.

I'm really loving CV now that it works on my system!

Cheers, Carl.


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - GoofyJeff - 2015-12-07

Something that might be cool in a future release... something I thought about as I was planning my STAR WARS SAGA marathon for next weekend... would be to allow the trivia to play until a certain system time (ie Play trivia until 10:00). I'm not sure how easy, or difficult, it would be to implement, but it would be cool to see.

I cannot wait to show off CinemaVision to some of my friends next Saturday.


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - Skank - 2015-12-07

(2015-12-04, 07:36)KrispyKreme Wrote:
(2015-12-01, 18:37)CinemaVision-Scott Wrote: [quote='aptalca' pid='2175111' dateline='1448948707']
Yup. There is a script in the unraid gui that fixes permissions.

Or, one can telnet in and change the permissions manually to chown nobody:users and give the group rw access. That might fix it

Any chance I could talk you into doing a bit of a guide with screenshots for us? I'll put it in the guides section on the CinemaVision site when that's ready to go. Might be helpful for folks.

i wonder too?


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - Dave the Minion - 2015-12-07

(2015-12-06, 16:13)CinemaVision-Scott Wrote: It's actually ridiculously more complicated than the 3D implementation. We plan to add functionality to allow you to run modules (commercials) during the feature every X videos (episodes), or at specific time markers for example. There are several other things that we'll add in support of TV that are also more complicated than just a new sequence. We want to make sure to do it right. Smile

But if you could just add a simple extra sequence for TV now that works the same as the others, all the rest can come later Wink

Wishful thinking here.

(2015-12-06, 16:13)CinemaVision-Scott Wrote: Dave, you gotta read the stuff I post, man. You'll be way less frustrated. Big Grin This is from the Luup Requests Wiki article I posted earlier:

See if any of that stuff works for you and let me know. Once we know we're on the right track, we can start creating actions.

I'm not sure where to start with those examples. Like I said my time to experiment is limited right now so I'm still trying to work through it all. I don't know anything about LUUP right now though.

(2015-12-06, 16:13)CinemaVision-Scott Wrote: We havent started coding the new features, if that's what you're asking. We will be adding a ton of functionality to the command modules including if 2D feature, if 3D feature, if Television feature, if tag exists (filename tag), feature genre/rating (=, <>, <, >). If anyone can think of others that would be useful, let us know.

Sounds like some good stuff is coming. Soon... right? Wink

(2015-12-07, 04:41)GoofyJeff Wrote: Something that might be cool in a future release... something I thought about as I was planning my STAR WARS SAGA marathon for next weekend... would be to allow the trivia to play until a certain system time (ie Play trivia until 10:00). I'm not sure how easy, or difficult, it would be to implement, but it would be cool to see.

I cannot wait to show off CinemaVision to some of my friends next Saturday.

This. THIS! A thousand times this!!!!

What an awesome idea. Makes such perfect sense and even more dynamic like an actual movie theater experience. They start at a set time, not a random time.

My suggestion, when you click the CV button you get a pop-up menu with "Start Now" and Start at XX:XX" options. A setting in the config to enable or disable time specific sequence start would allow those who don't care to use the feature to turn it off. Add this to the white board near the top!!!


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - Ragnarok - 2015-12-07

(2015-12-06, 20:45)leejk Wrote: Yes, I think you are right. It is the buffering dialog. However the annoying thing about it is that it appears between every segment, even if the video is being loaded from my network share. It's always shown for maybe a second. If there is a way to set a delay before it shows as you mention, that would be most helpful.

(2015-12-06, 20:45)leejk Wrote: Yes, I have since uninstalled it. It's a shame tho, since that addon is awesome for watching TV series.

I would say stay on top of the folks behind Lazy TV and get them to fix the errors. Big Grin

(2015-12-06, 20:45)leejk Wrote: Here is another debug log: http://goo.gl/IDdxqE
I did another content update before playing. I have it set to play 6 trailers and to ignore YouTube trailers, yet it still plays them. And every trailer it played was from my Kodi library. It didn't play any from iTunes or my locally stored ones. I hope we can figure this out.

I'm not seeing your CinemaVision content update in the log, so I'm not sure what it's finding/skipping in that respect. I'm curious to see what a content update returns, because with the way you have it set up, if you have 6 unwatched trailers in your Kodi database it will play those first because KodiDB has priority. I was mistaken when I said it mixed up all of the found trailers, that's something we'll be adding in. It will actually play based on the priority order of your scrapers right now. To get around this for now, you can have two trailer modules in your sequence and make one pull from iTunes first, and the other pull from your KodiDB first. If you're storing the trailers in the %CVROOT%\Trailers folder, none of those will be picked up because the Limit genre setting is enabled. Because trailers stored in the %CVROOT%\Trailers folder don't have any genre or rating data, they'll be skipped entirely until Limit genre is disabled. We'll be looking into the YouTube trailer issue.

(2015-12-07, 02:55)Carl314 Wrote: I have CV set to only play local trailers that are in my Kodi DB. What, if anything, does the Trailers | Quality setting do in this situation?

So Kodi stores trailers scraped into the Kodi database as path/URL only. There's actually no other data associated with trailers, so the quality setting does nothing for them. It's possible for us to scan the paths/URLs and try to detect quality, but the code available to do that doesn't work for every video file type. It could also potentially add a lot of time to the content update. I guess the question is, how much should we sacrifice to make this work? Really, the quality setting is used to set the preferred quality of streaming trailers from iTunes. If you guys wanted quality, rating and genre data for your local trailers you could always put in a feature request to the Kodi team and see what comes of it. If we have that data available, we'll try to use it.

(2015-12-07, 02:55)Carl314 Wrote: How about a filter so that CV would only play trailers that met a minimum resolution requirement (720p, in my case). The reason is that I can find only lousy 360 resolution trailers for some movies.

With a filter, I can download the lousy trailers in case someone is really, really interested enough in a movie to watch the trailer, but CV will only "wow" the viewer with the HD trailer.

I'm really loving CV now that it works on my system!

If we added that filter, it would only work for streaming sources that report the quality data. It wouldn't work for locally stored trailers because of the way Kodi currently catalogs local trailers (without storing any data except path or URL). Glad you love it, Carl. I appreciate your help in all of this!

(2015-12-07, 04:41)GoofyJeff Wrote: Something that might be cool in a future release... something I thought about as I was planning my STAR WARS SAGA marathon for next weekend... would be to allow the trivia to play until a certain system time (ie Play trivia until 10:00). I'm not sure how easy, or difficult, it would be to implement, but it would be cool to see.

I cannot wait to show off CinemaVision to some of my friends next Saturday.

Good suggestion, Jeff! When we build the CinemaVision Service Add-on, scheduling will be built into that. You'll be able to build a schedule to run against system time & date, run the content update automatically on a set schedule, and a few more things we're working out. Big Grin

(2015-12-07, 10:57)Dave the Minion Wrote: But if you could just add a simple extra sequence for TV now that works the same as the others, all the rest can come later Wink

Wishful thinking here.

The biggest danger there is that when we actually flesh out the right way to do it, we'll be changing how TV works entirely which would be a nightmare for users to adapt to. Wink

(2015-12-07, 10:57)Dave the Minion Wrote: I'm not sure where to start with those examples. Like I said my time to experiment is limited right now so I'm still trying to work through it all. I don't know anything about LUUP right now though.

Start with running a scene:
http://<IP_Address>:3480/data_request?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=RunScene&SceneNum=<SceneNum>

Replace <IP_Address> with the IP address and <SceneNum> with the scene number you want to run. See if that works, just put it in a browser and try to trigger it.

(2015-12-07, 10:57)Dave the Minion Wrote: Sounds like some good stuff is coming. Soon... right? Wink

As soon as we can get the first round of development finished!

(2015-12-07, 10:57)Dave the Minion Wrote: This. THIS! A thousand times this!!!!

What an awesome idea. Makes such perfect sense and even more dynamic like an actual movie theater experience. They start at a set time, not a random time.

My suggestion, when you click the CV button you get a pop-up menu with "Start Now" and Start at XX:XX" options. A setting in the config to enable or disable time specific sequence start would allow those who don't care to use the feature to turn it off. Add this to the white board near the top!!!

It's certainly up there! Good suggestions, too. Keep them coming.


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - Carl314 - 2015-12-07

(2015-12-07, 21:32)CinemaVision-Scott Wrote:
(2015-12-07, 02:55)Carl314 Wrote: How about a filter so that CV would only play trailers that met a minimum resolution requirement (720p, in my case). The reason is that I can find only lousy 360 resolution trailers for some movies.

With a filter, I can download the lousy trailers in case someone is really, really interested enough in a movie to watch the trailer, but CV will only "wow" the viewer with the HD trailer.

I'm really loving CV now that it works on my system!

If we added that filter, it would only work for streaming sources that report the quality data. It wouldn't work for locally stored trailers because of the way Kodi currently catalogs local trailers (without storing any data except path or URL). Glad you love it, Carl. I appreciate your help in all of this!

I understand, and guess I hadn't thought about the fact that Kodi does not store trailer resolution information, and I don't see Team Kodi changing that in the foreseeable future.

Does CV have visibility over trailer filenames? I'm admittedly a little rusty on Kodi naming conventions since my movies are all simple MKVs, but I believe that Kodi ignores whatever comes after the year. If so, then perhaps allow the user to insert a ".nocv" before the "-trailer", and CV would then ignore it?

I hope you reach your donation threshold on your web site. CV adds so much to the Kodi experience, and you certainly deserve that and more.

Cheers, Carl


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - Dave the Minion - 2015-12-07

(2015-12-07, 21:32)CinemaVision-Scott Wrote: Start with running a scene:
http://<IP_Address>:3480/data_request?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=RunScene&SceneNum=<SceneNum>

Replace <IP_Address> with the IP address and <SceneNum> with the scene number you want to run. See if that works, just put it in a browser and try to trigger it.

OK. got that to work. It will run scenes that have been set-up in the Vera. Thing is I have no idea what numbers each of the scenes actually are.

And now, how do I get this info into CV?

**** Edit ****

Nevermind. I played with each scene number to figure out which was which. Then I played with CV and action files and viola, it's all working. Lights dim to certain levels when trivia starts. Dim more when trailers start. Go out completely when the feature starts. Come back up when the feature ends. Lights rise when you pause and return to the previous state when you resume. This is F-ING AWESOME!

Thanks for the help and support. CV is a masterpiece and only getting better. It's truly the movies at home now.


I do want to add, now that I've got the Z-wave working, that I'm even more anxious to have a simple TV Show integration until the full fledged version is worked out. For the simple reason I could now use CV to easily adjust the lights so much simpler. Please? With extra cherriesHuh


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - aptalca - 2015-12-08

(2015-12-07, 23:39)Dave the Minion Wrote:
(2015-12-07, 21:32)CinemaVision-Scott Wrote: Start with running a scene:
http://<IP_Address>:3480/data_request?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=RunScene&SceneNum=<SceneNum>

Replace <IP_Address> with the IP address and <SceneNum> with the scene number you want to run. See if that works, just put it in a browser and try to trigger it.

OK. got that to work. It will run scenes that have been set-up in the Vera. Thing is I have no idea what numbers each of the scenes actually are.

And now, how do I get this info into CV?

**** Edit ****

Nevermind. I played with each scene number to figure out which was which. Then I played with CV and action files and viola, it's all working. Lights dim to certain levels when trivia starts. Dim more when trailers start. Go out completely when the feature starts. Come back up when the feature ends. Lights rise when you pause and return to the previous state when you resume. This is F-ING AWESOME!

Thanks for the help and support. CV is a masterpiece and only getting better. It's truly the movies at home now.


I do want to add, now that I've got the Z-wave working, that I'm even more anxious to have a simple TV Show integration until the full fledged version is worked out. For the simple reason I could now use CV to easily adjust the lights so much simpler. Please? With extra cherriesHuh
Go to this address: http://ip_address:3480/data_request?id=sdata&output_format=xml
Replace the ip with your vera ip and it will list all devices and scenes you have set up on your vera


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - Dave the Minion - 2015-12-08

(2015-12-08, 06:08)aptalca Wrote: Go to this address: http://ip_address:3480/data_request?id=sdata&output_format=xml
Replace the ip with your vera ip and it will list all devices and scenes you have set up on your vera

That's a great tip. Thanks!


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - Skank - 2015-12-08

(2015-12-07, 10:45)Skank Wrote:
(2015-12-04, 07:36)KrispyKreme Wrote:
(2015-12-01, 18:37)CinemaVision-Scott Wrote: [quote='aptalca' pid='2175111' dateline='1448948707']
Yup. There is a script in the unraid gui that fixes permissions.

Or, one can telnet in and change the permissions manually to chown nobody:users and give the group rw access. That might fix it

Any chance I could talk you into doing a bit of a guide with screenshots for us? I'll put it in the guides section on the CinemaVision site when that's ready to go. Might be helpful for folks.

i wonder too?

I need this to work Sad
Any more help with theses permissions on unraid 6? i really want CV Smile


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - Skank - 2015-12-08

I tried running permissions script, but still get error

http://xbmclogs.com/pfekb15pd


RE: CinemaVision Add-on: Create a Movie Theater Experience at Home - Ragnarok - 2015-12-09

(2015-12-07, 22:32)Carl314 Wrote: I understand, and guess I hadn't thought about the fact that Kodi does not store trailer resolution information, and I don't see Team Kodi changing that in the foreseeable future.

Does CV have visibility over trailer filenames? I'm admittedly a little rusty on Kodi naming conventions since my movies are all simple MKVs, but I believe that Kodi ignores whatever comes after the year. If so, then perhaps allow the user to insert a ".nocv" before the "-trailer", and CV would then ignore it?

I hope you reach your donation threshold on your web site. CV adds so much to the Kodi experience, and you certainly deserve that and more.

Sorry about that! We may try to lobby to see if we can get quality and rating info in the local database for trailers, but you're probably right. Currently, CinemaVision doesn't have the ability to search for file name tags and ignore content with specific tags. We'd talked about that previously, and I can't remember why we tabled that...

I appreciate the kind words, Carl! I hope we do too. The sooner the better, I want to get more cool stuff in. Big Grin

(2015-12-07, 23:39)Dave the Minion Wrote: OK. got that to work. It will run scenes that have been set-up in the Vera. Thing is I have no idea what numbers each of the scenes actually are.

And now, how do I get this info into CV?

**** Edit ****

Nevermind. I played with each scene number to figure out which was which. Then I played with CV and action files and viola, it's all working. Lights dim to certain levels when trivia starts. Dim more when trailers start. Go out completely when the feature starts. Come back up when the feature ends. Lights rise when you pause and return to the previous state when you resume. This is F-ING AWESOME!

Thanks for the help and support. CV is a masterpiece and only getting better. It's truly the movies at home now.

Great to hear! Now that you have it working, I need your help. I want to put together a guide and example scripts for every solution, so I need your help putting all of that together for the Vera. I can guess at it, but since I can't test it I think it's worthless for me to try. No rush, but if you're willing, I'd love the help!

(2015-12-07, 23:39)Dave the Minion Wrote: I do want to add, now that I've got the Z-wave working, that I'm even more anxious to have a simple TV Show integration until the full fledged version is worked out. For the simple reason I could now use CV to easily adjust the lights so much simpler. Please? With extra cherriesHuh

The feature is white-boarded, and we know how we think it should work. I'll talk to our developer about adding the TV sequence and then adding the rest later. If he says it shouldn't create havoc, we'll get it in.

(2015-12-08, 06:08)aptalca Wrote: Go to this address: http://ip_address:3480/data_request?id=sdata&output_format=xml
Replace the ip with your vera ip and it will list all devices and scenes you have set up on your vera

Good tip!

(2015-12-08, 10:44)Skank Wrote: I need this to work Sad
Any more help with theses permissions on unraid 6? i really want CV Smile
(2015-12-08, 21:57)Skank Wrote: I tried running permissions script, but still get error

http://xbmclogs.com/pfekb15pd

We'll take another look to be sure this isn't an issue with CinemaVision and I'll get back to you shortly.