Search found 10 matches
- July 8th, 2012, 6:04 pm
- Forum: Post-Processing Scripts
- Topic: Simple script to replace spaces w/dots for movies category?
- Replies: 12
- Views: 7137
Re: Simple script to replace spaces w/dots for movies catego
> python2 spacestodots.py path: /media/stuff/burning Rename /media/stuff/burning/Get the Gringo 720p BluRay x264 DTS HDChina /media/stuff/burning/Get.the.Gringo.720p.BluRay.x264.DTS.HDChina Awesome! Thanks a lot mate, I really appreciate your help, I hope anyone else who needs this script can benef...
- July 8th, 2012, 5:04 pm
- Forum: Post-Processing Scripts
- Topic: Simple script to replace spaces w/dots for movies category?
- Replies: 12
- Views: 7137
Re: Simple script to replace spaces w/dots for movies catego
Okay I moved one movie into another folder to test the script with. The movie folder is inside /media/stuff/burning/, which is what I changed the path to in the script. This is what I got: > python2 spacestodots.py Rename Get the Gringo 720p BluRay x264 DTS HDChina Get.the.Gringo.720p.BluRay.x264.DT...
- July 8th, 2012, 4:17 pm
- Forum: Post-Processing Scripts
- Topic: Simple script to replace spaces w/dots for movies category?
- Replies: 12
- Views: 7137
Re: Simple script to replace spaces w/dots for movies catego
Okay, I have the script like this at the moment: > cat spacestodots.py import os for path, dirnames, filenames in os.walk('/media/stuff/movies/Get\ the\ Gringo\ 720p\ BluRay\ x264\ DTS\ HDChina'): for dirname in dirnames: if dirname.find(' ') > -1 : # Yes, a space in the directory name, so replace i...
- July 6th, 2012, 4:52 pm
- Forum: Post-Processing Scripts
- Topic: Simple script to replace spaces w/dots for movies category?
- Replies: 12
- Views: 7137
Re: Simple script to replace spaces w/dots for movies catego
Thanks! So I have my scripts in /usr/share/sabnzbd/scripts, do I just make a file like spacestodots.py, and paste that in there? Then have that script run on movies?
- July 4th, 2012, 6:36 pm
- Forum: Post-Processing Scripts
- Topic: Simple script to replace spaces w/dots for movies category?
- Replies: 12
- Views: 7137
Re: Simple script to replace spaces w/dots for movies catego
Thanks so much chief! I'm so terrible with scripting, your help is greatly appreciated 

- July 4th, 2012, 6:17 pm
- Forum: Post-Processing Scripts
- Topic: Simple script to replace spaces w/dots for movies category?
- Replies: 12
- Views: 7137
Re: Simple script to replace spaces w/dots for movies catego
Thanks for your help! However, I'm on linux 

- April 25th, 2012, 3:21 pm
- Forum: Post-Processing Scripts
- Topic: Simple script to replace spaces w/dots for movies category?
- Replies: 12
- Views: 7137
Simple script to replace spaces w/dots for movies category?
I am just looking for a script that will rename the folders of all completed downloads in the "movies" category, replacing any spaces in the folder name with dots. Appreciate if someone could help with this, thanks 

- April 16th, 2012, 10:40 pm
- Forum: General Help
- Topic: Replace spaces with dots in folder and/or filename?
- Replies: 1
- Views: 1061
Re: Replace spaces with dots in folder and/or filename?
Normally I am using the SABconnect++ extension in Chrome to send .nzb's to sabnzbd via the API, and all of these have spaces, but I just added a .nzb manually and it had dots as desired. Hmmm.
- April 16th, 2012, 4:49 pm
- Forum: General Help
- Topic: Replace spaces with dots in folder and/or filename?
- Replies: 1
- Views: 1061
Replace spaces with dots in folder and/or filename?
Running sabnzbd 0.6.x on 32-bit Arch Linux. My movies category: http://i.imgur.com/CSj0x.png My sorting for movies: http://i.imgur.com/OpcnO.png It works fine moving for example "Movie Name 720p 2012 GROUP" to my /media/stuff/movies folder where I want them to go, but the folder always ret...
- March 20th, 2012, 6:06 pm
- Forum: General Help
- Topic: sabToSickBeard.py script not moving shows into their folders
- Replies: 0
- Views: 1570
sabToSickBeard.py script not moving shows into their folders
Version: 0.6.x OS: Arch Linux Install-type: Pacman Skin (if applicable): Default Firewall Software: None Are you using IPV6? No Is the issue reproducible? N/A I am using the sabToSickBeard.py script , which does execute on a download completion, however I cannot get the downloaded file to be moved i...