2012-04-22, 09:52
(2012-04-17, 21:25)joethefox Wrote: If the ActivePlayer is the video player (id=1) if I make this kind of request (to open a picture)Will have to try and reproduce this myself. Can you please create a bug report on trac and CC me so I won't forget? Thanks. And BTW a debug log and crash log (if available) would be nice.
{"method":"Player.Open","id":-111891377,"jsonrpc":"2.0","params":{"item":{"file":"/path/to/image.jpg"}}}
xbmc crash. Regardless of whether the request is correct or not, I think this should not happen.
linux xbmc version eden 11 stable compiled 7 april 2012.
(2012-04-22, 08:36)doozer Wrote: Hi All,First of all there's no notification for when a DVD was inserted. And I also don't think that there's currently a way to play a disc. This would be possible if there would be a "dvd://" VFS path in XBMC but AFAIK there isn't.
In Eden (11.0), when you insert a DVD in a local optical drive, you get get a new menu item appearing on the homepage called "PLAY DISC". Selecting this starts playback of the DVD (or brings up the DVD menu system).
How can I:
a) detect a dvd has been inserted (I don't seem to get any kind of notification via JSON); and
b) how do you play said DVD?
The only way I can think to play the dvd is to allow the user to browse the "video" files via the 'Files.GetSources' request.
I suspect i'm over thinking it and there's a much simpler method?
Thanks in advance,
Matt.