the only thing that's bothering me is it feels like its copying the files from /category to /download folder and not moving (takes 10min for mkv)
is that because the files are on external drive ? (/media/BOOK/downloads/Films -> /media/Book/downloads/Movies.. where Films is the category and Movies the ending-place)
I had a working script but suddenly I started getting:
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/Users/1/sabnzbd/media_process.py", line 3, in
import os
ImportError: No module named os
I'm no Python expert - any idea on what might be causing this?
tret wrote:
I like that xbmc message idea. I'll play with that.
I like it too. A lot.
And what's also cool is having an rss-feed (or xml file) like episode butler had when I still used
it. So i could just turn on my tv and saw all newly downloaded shows on the xbmc menu screen...
Nice script. I'll try it tonight on my opensolaris box running sab. Looks like I'll need to update python though because I believe I'm running 2.4 if I'm not mistaken.
Anyway, would it be possible to allow my to keep the "1080p" or "720p" in the filename of renamed movies? Here is the naming scheme I use that I find works well -
"The Dark Knight (2008).1080p.mkv"
Also, if the movie contains a DTS soundtrack, I like to keep that info in the filename as well.
"The Dark Knight (2008).1080p.DTS.mkv"
My hope is that eventually Plex or XBMC will be able to read these "tags" and put some kind of tag on the video in my media library so that when I'm browsing through my movies, I'll see "720P" or "DTS" as a little overlay on the movie thumbail perhaps. That may or may not ever happen, but in case it does, I want to keep this info in the filename if possible, but I still want to rename the movies that come across as "tdk.1080p.dts.release.en.subs.mkv" or whatever..
badapples wrote:
Nice script. I'll try it tonight on my opensolaris box running sab. Looks like I'll need to update python though because I believe I'm running 2.4 if I'm not mistaken.
Anyway, would it be possible to allow my to keep the "1080p" or "720p" in the filename of renamed movies? Here is the naming scheme I use that I find works well -
"The Dark Knight (2008).1080p.mkv"
Also, if the movie contains a DTS soundtrack, I like to keep that info in the filename as well.
"The Dark Knight (2008).1080p.DTS.mkv"
My hope is that eventually Plex or XBMC will be able to read these "tags" and put some kind of tag on the video in my media library so that when I'm browsing through my movies, I'll see "720P" or "DTS" as a little overlay on the movie thumbail perhaps. That may or may not ever happen, but in case it does, I want to keep this info in the filename if possible, but I still want to rename the movies that come across as "tdk.1080p.dts.release.en.subs.mkv" or whatever..
A lot of the more advanced skins for XBMC does exactly that. Try out the Mediastream mod its IMO the best- Aeon also does it I believe. You can create a NFO XML file with a program like MIP (media info plus) that uses FFMPEG to pull the video data. It can detect resolution (SD, 720p, 1080) and also audio container. It also identifies dvd rips and TV rips based off the file name.
I would love to use this script - but I do not rename any of my movie files. I would not mind renaming it if SABnzbd had the option to create a batch file to rename it back to the original name.
I have this same problem on my Mac running Snow Leopard (default Python install). Any ideas on how to fix it?
madd wrote:
I had a working script but suddenly I started getting:
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/Users/1/sabnzbd/media_process.py", line 3, in
import os
ImportError: No module named os
I'm no Python expert - any idea on what might be causing this?
After further investigation I think the problem is with SABnzbd and Python execution. The script runs perfectly fine if run by command-line from eg. Terminal.
richlin71 wrote:
I have this same problem on my Mac running Snow Leopard (default Python install). Any ideas on how to fix it?
madd wrote:
I had a working script but suddenly I started getting:
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/Users/1/sabnzbd/media_process.py", line 3, in
import os
ImportError: No module named os
I'm no Python expert - any idea on what might be causing this?
I am having this problem in Snow Leopard as well. I hope that someone figures out how to fix this plug-in, I don't know anything about python so I am no help but it's a great plugin so I hope it gets fixed.
madd wrote:
After further investigation I think the problem is with SABnzbd and Python execution. The script runs perfectly fine if run by command-line from eg. Terminal.
richlin71 wrote:
I have this same problem on my Mac running Snow Leopard (default Python install). Any ideas on how to fix it?
madd wrote:
I had a working script but suddenly I started getting:
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/Users/1/sabnzbd/media_process.py", line 3, in
import os
ImportError: No module named os
I'm no Python expert - any idea on what might be causing this?
I'm trying to use this script for tv shows that dont have thetvdb.com entry. I'd like to have these files under TV SHOWS in XBMC so from what i was told on XBMC site i need to make nfo file. So far sabnzbd+ very nicely renames and moves files to my destination but if there's no thetvdb entry , show wont show up under TV SHOWS ( only in VIDEOS )
Is there anyway this script could make generic nfo file if it wont find any entry on thetvdb ?
Example SHOW NAME S01E01.avi would result in generic episode name "EPISODE 1" under "SHOW NAME" folder and all other fields would be blank. This way even though not all info will be available at least it will show up in TV SHOWS and more important in RECENTLY ADDED list.
9.900
0
The best TV show in the world
Action and Adventure / Drama
2000-01-01
Big John
Jack of all trades
.
Maybe i'm not getting the point of this script but i thought script would make a nfo for scraping purposes. And if thetvdb entry is present , script would include URL in the tag.
Last edited by wally007 on September 13th, 2009, 3:51 pm, edited 1 time in total.
Is it possible to use a username and password when communicating with XBMC? I've tried using the usual HTTP authentication format; "username:[email protected]:port" but it doesnt seem to work.
Last edited by sixones on October 4th, 2009, 9:41 am, edited 1 time in total.
I'm running this script on a freenas box and seem to be having some issues with the Movie.nfo file. It doesn't give me read access to the file. I can open it in the fileeditor but can't open it through my SMB shares.
-rw------- 1 root wheel 36 Oct 7 18:29 Movie.nfo
is what happens to the file when the script is run.
Edit: On a side note, if I run the script from putty using the root account the file comes out fine and I can read it.
Last edited by SpankIt on October 8th, 2009, 7:18 pm, edited 1 time in total.
If anyone is interested, I have made a quick python script to update the Video Library & displays the clean version of the job name on the bottom of the XBMC screen when Sab has finished downloading.
Note - The strings being passed to the Notification command MUST not have spaces in it - all spaces must be converted to %20
SpankIt wrote:
I'm running this script on a freenas box and seem to be having some issues with the Movie.nfo file. It doesn't give me read access to the file. I can open it in the fileeditor but can't open it through my SMB shares.
-rw------- 1 root wheel 36 Oct 7 18:29 Movie.nfo
is what happens to the file when the script is run.
Edit: On a side note, if I run the script from putty using the root account the file comes out fine and I can read it.