2013-08-20, 06:37 PM
Is there any way to get IGL to automatically kick off a XBMC "scan for new content" after a TV show recording has been completed and renamed as part of the post processing sequence?
I want to automatically start a XBMC "scan for new content" rather that a XBMC "full library update" -- a full library update can take a lot of time on a large database and all "watched status" is lost -- whereas a "scan for new content" can be targeted for a specific show only, runs in a few seconds and keeps the previously watched status of earlier shows intact.
I know this is possible as a program called Sickbeard can auto launch a specific XBMC scan for new content when a TV web file has been downloaded from the internet using a nzb download program called SABnzbd. The process is quite automatic -- when a new TV episode is available on the internet it is automatically downloaded, unpacked, renamed and moved to a XBMC file location and then the final step in the automatic process is to kick off the XBMC scan for new content for the specific TV show -- to get it recognized in the XBMC database.
I was wondering if would be possible to provide a similar last step in the IGL process to get newly recorded and renamed TV show files into the XBMC database. The Sickbeard program uses a Python script to run and control this XBMC process. I found the code for this posted on the internet but I am completely useless at Python programming and have no idea as to how to integrate it with IGL or as part of an additional post processing process step for NextPVR.
If I understand it clearly it is quite easy to kick off a XBMC "full library update" from within a batch file (using a built in command in Eventghost) but it is somewhat more difficult to get XBMC to start a targeted "scan for new content". The first step involves querying XBMC for the location in its database for a specific TV show -- and then using that location along with the name of the new TV show episode to be added -- start the specific "scan for new content".
Any ideas as to how this can be added to NPVR + IGL ?
Michael
I want to automatically start a XBMC "scan for new content" rather that a XBMC "full library update" -- a full library update can take a lot of time on a large database and all "watched status" is lost -- whereas a "scan for new content" can be targeted for a specific show only, runs in a few seconds and keeps the previously watched status of earlier shows intact.
I know this is possible as a program called Sickbeard can auto launch a specific XBMC scan for new content when a TV web file has been downloaded from the internet using a nzb download program called SABnzbd. The process is quite automatic -- when a new TV episode is available on the internet it is automatically downloaded, unpacked, renamed and moved to a XBMC file location and then the final step in the automatic process is to kick off the XBMC scan for new content for the specific TV show -- to get it recognized in the XBMC database.
I was wondering if would be possible to provide a similar last step in the IGL process to get newly recorded and renamed TV show files into the XBMC database. The Sickbeard program uses a Python script to run and control this XBMC process. I found the code for this posted on the internet but I am completely useless at Python programming and have no idea as to how to integrate it with IGL or as part of an additional post processing process step for NextPVR.
If I understand it clearly it is quite easy to kick off a XBMC "full library update" from within a batch file (using a built in command in Eventghost) but it is somewhat more difficult to get XBMC to start a targeted "scan for new content". The first step involves querying XBMC for the location in its database for a specific TV show -- and then using that location along with the name of the new TV show episode to be added -- start the specific "scan for new content".
Any ideas as to how this can be added to NPVR + IGL ?
Michael