Benni-chan / nzbToAniDB

postprocessing script for animes (to use with sabnzbd+ or nzbget or even as stand alone) to rename files after a sync with anidb.net. files can additionally be renamed via tvdb
24 stars 7 forks source link

XBMC update ***Feature request*** #9

Closed saitoh183 closed 10 years ago

saitoh183 commented 11 years ago

Hi Benni,

Since there is no feature request section (unless i missed it somewhere :) ) i wanted to know if it would be possible to add XBMC update to your script for it to update XBMC once its finish renaming and moving file ...only for the show been updated and not the entire library...a bit like sick beard does. Since this script isnt just for XBMC, you could maybe add it as toggle in your config file. The only info i can offer is that it could have the up date process for Eden (deprecated HTTP ) and the one for Frodo

Here are the commands i think Eden:

xbmc.executebuiltin('UpdateLibrary(video, put_the_path_here)')

Frodo:

{"id":1,"jsonrpc":"2.0","method": "VideoLibrary.Scan","params":{"directory":"put_the_path_here"}}

Thanks :)

Benni-chan commented 11 years ago

the issues section is fine for feature requests...

i'm not using xbmc, but i could take a look at how to send the command to it. not promising anything, especially, when i'll have the time to do it. (at the moment i've got several other projects to finish)

saitoh183 commented 11 years ago

Ok, thanks :)

saitoh183 commented 11 years ago

Any news?

Benni-chan commented 11 years ago

sorry, didn't have any free time yet, to put into this project.

saitoh183 commented 11 years ago

Hi Ben, Hope your doing well :) wanted to know if there was news on this. Also wanted to state that {"id":1,"jsonrpc":"2.0","method": "VideoLibrary.Scan","params":{"directory":"put_the_path_here"}} should be the only command you should implement since XBMC 12 is now released.

Also the "Put path here part should be the path to the show that is being moved.

ie: move and renaming Death Note eps to D:\Videos\Anime\Death Note then update xbmc should look like {"id":1,"jsonrpc":"2.0","method": "VideoLibrary.Scan","params":{"directory":"D:\Videos\Anime\Death Note"}}

Thanks :)

saitoh183 commented 11 years ago

Still nothing on this?

Benni-chan commented 10 years ago

included in latest version. since i have no xbmc installed, couldn't test yet. but should work