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] Action to move file to a specified folder, possible?

If you have a question or need help, this is the place to be.
Post Reply
Snowball
Posts: 2
Joined: Wed Jan 15, 2014 1:20 pm

[XBMC] Action to move file to a specified folder, possible?

Post by Snowball »

Hi there,

I'm using EventGhost with XBMC.
I'd like to know if it is possible to create an action (that I will link to a button on my remote) in order to move the selected file to a specified folder.

Let's make an example.
I have a list of 100 files and I don't want to delete them one after the other.
I simply go on file 1 and press a button on remote.
The button is linked to a Eventghost Action that take that file and move it to folder ABCD.
When I'm done I have all the files I want to delete in the same folder and I can delete them in just one click.


I hope it is clear enough :)
Thanks!
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: [XBMC] Action to move file to a specified folder, possib

Post by jonib »

Snowball wrote:I'd like to know if it is possible to create an action (that I will link to a button on my remote) in order to move the selected file to a specified folder.
If you want to do this while you have a file selected in a filelist in XBMC, I don't think it's possible to get the filename to EventGhost so it can be moved.
If you want to do this while viewing a video it would be possible using JSON-RPC.

I think you need a Python script that will do the moving and run it with RunScrip() from a button in XBMCs keymap. Then you would be able to assign it in EventGhost.

I might be able to help you with this, but it will probably take a while, so I think you should ask in the XBMC forum and hopefully get faster help.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Snowball
Posts: 2
Joined: Wed Jan 15, 2014 1:20 pm

Re: [XBMC] Action to move file to a specified folder, possib

Post by Snowball »

Thanks for your answer mate.
I really did not understand anything! :D

Anyway I posted my question on XBMC forum as you suggested.
Here is the link
http://forum.xbmc.org/showthread.php?tid=183455

Let's see.
Post Reply