Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

XBMC: Play rar'ed file with json string

If you have a question or need help, this is the place to be.
Post Reply
Phalnax
Posts: 2
Joined: Tue Apr 08, 2014 6:52 am

XBMC: Play rar'ed file with json string

Post by Phalnax »

Hi.

I have a issue that I wonder if anyone can help me with.

I use EventGhost to play files on my xbmc.
It works just fine with unpacked files using the following
urllib2.urlopen('http://192.168.0.220:8080/jsonrpc?reque ... em":{"file":" "filelocation+filename "}}}')

Does anyone know how to get the file started when files are rar'ed?
I use mysql to get the file location and filename

Best regards Phalnax.
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: XBMC: Play rar'ed file with json string

Post by jonib »

Phalnax wrote:It works just fine with unpacked files using the following
urllib2.urlopen('http://192.168.0.220:8080/jsonrpc?reque ... em":{"file":" "filelocation+filename "}}}')

Does anyone know how to get the file started when files are rar'ed?
As you are using the XBMC JSON-RPC api directly, and not using my XBMC2 plugin, I would recommend to ask this in the XBMC JSON-RPC forum. As they know how stuff works with XBMC.

One idea is to treat the RAR as a directory.

But anyway I might look into this, as I have not tried to open a RARed files before. But I don't know when so it will probably be faster in the XBMC forum.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Phalnax
Posts: 2
Joined: Tue Apr 08, 2014 6:52 am

Re: XBMC: Play rar'ed file with json string

Post by Phalnax »

Thanks for the tip
Mutch appriciated
Post Reply