Erreur :
File "/volume1/video/CharTranslatorV2.py", line 128
print "Adding folder in the DLNA server"
^
IndentationError: unexpected indent
Search found 33 matches
- May 22nd, 2012, 6:13 am
- Forum: Post-Processing Scripts
- Topic: [Synology NAS] Fixed non-ASCII chars and more...(2020/09/11)
- Replies: 122
- Views: 528492
- May 22nd, 2012, 6:08 am
- Forum: Post-Processing Scripts
- Topic: [Synology NAS] Fixed non-ASCII chars and more...(2020/09/11)
- Replies: 122
- Views: 528492
Re: Fixed foreign accents on Synology NAS running SABnzbd
J'essaye de préparer le code vite fait pendant ma pause midi.
J'insère le code avant ou après la ligne "print "Character encoding translation done!"" ?
J'insère le code avant ou après la ligne "print "Character encoding translation done!"" ?
- May 22nd, 2012, 4:23 am
- Forum: Post-Processing Scripts
- Topic: [Synology NAS] Fixed non-ASCII chars and more...(2020/09/11)
- Replies: 122
- Views: 528492
Re: Fixed foreign accents on Synology NAS running SABnzbd
Je suis aussi au boulot j'essaye ça ce soir. Merci beaucoup.
- May 22nd, 2012, 1:38 am
- Forum: Post-Processing Scripts
- Topic: [Synology NAS] Fixed non-ASCII chars and more...(2020/09/11)
- Replies: 122
- Views: 528492
Re: Fixed foreign accents on Synology NAS running SABnzbd
J'indexe tous les fichiers téléchargés (surtout mkv) et jusqu'à présent avec ces 2 lignes de script, tout fonctionnait bien. En fait le script utilise une variable interne de Sabnzbd (le "$1" si je me souviens bien) qui permet d'indexer le fichier qui vient d'être téléchargé, je n'ai pas à...
- May 21st, 2012, 3:05 pm
- Forum: Post-Processing Scripts
- Topic: [Synology NAS] Fixed non-ASCII chars and more...(2020/09/11)
- Replies: 122
- Views: 528492
Re: Fixed foreign accents on Synology NAS running SABnzbd
En fait mon script tiens en 2 lignes : #!/bin/ash /usr/syno/bin/synoindex -A "$1" Il me permet de visionner les fichiers fraîchement téléchargés avec sabnzbd sur ma freebox player. En effet, sans ce script les fichiers téléchargés par sabnzbd ne sont pas indexés par le nas et donc non visi...
- May 21st, 2012, 1:25 pm
- Forum: Post-Processing Scripts
- Topic: [Synology NAS] Fixed non-ASCII chars and more...(2020/09/11)
- Replies: 122
- Views: 528492
Re: Fixed foreign accents on Synology NAS running SABnzbd
Merci pour ton aide. J'ai réussi à faire fonctionner ton script, et il est vraiment top. Ça marche impeccable. C'était bien un problème de copier coller. Pour la fusion de scripts, sais tu si mes 2 lignes de codes peuvent être interprétées par le langage python de ton script ? Merci en tout cas.
- May 21st, 2012, 10:44 am
- Forum: Post-Processing Scripts
- Topic: [Synology NAS] Fixed non-ASCII chars and more...(2020/09/11)
- Replies: 122
- Views: 528492
Re: Fixed foreign accents on Synology NAS running SABnzbd
Hello. In your code, the first line is : #!/usr/local/python/bin/python -OO You say : "Off course if you are using an another source as Zebulong package, don't forget to update the first line: /usr/local/python26/bin/python" And in your 5th post, you say : "Depending of which Synology...
- May 21st, 2012, 9:45 am
- Forum: Post-Processing Scripts
- Topic: [Synology NAS] Fixed non-ASCII chars and more...(2020/09/11)
- Replies: 122
- Views: 528492
Re: Fixed foreign accents on Synology NAS running SABnzbd
Hello Lapin. I've tried to create the script with notepad++, changing "saut de ligne" to Unix but it doesn't work. I get following error : "Exit(-1) Cannot run script /volume1/video/CharTranslator.py (Plus)" "Cannot run script /volume1/video/CharTranslator.py" I cannot ...
- May 21st, 2012, 9:07 am
- Forum: Post-Processing Scripts
- Topic: [Synology NAS] Fixed non-ASCII chars and more...(2020/09/11)
- Replies: 122
- Views: 528492
Re: Fixed foreign accents on Synology NAS running SABnzbd
@LapinFou : Merci pour ton super script. Ca à l’air d’être exactement ce que je recharchais depuis des mois !! Vraiment sympa. Petite question : j’ai déjà un petit script qui tourne sur la categorie par défaut (script qui index les fichiers téléchargés pour qu’ils soient visibles en UPnP sur la free...
- February 26th, 2012, 3:18 am
- Forum: General Help
- Topic: https with certificates
- Replies: 7
- Views: 3600
Re: https with certificates
I just wrote server.key and server.cert and it worked again.
I think I won't try anymore to install my own certificates... It doesn't work.
I think I won't try anymore to install my own certificates... It doesn't work.
- February 26th, 2012, 2:55 am
- Forum: General Help
- Topic: https with certificates
- Replies: 7
- Views: 3600
Re: https with certificates
can anyone help me runnning sabnzbd in https 0.6.15 again ?
Thanks.
Thanks.
- February 25th, 2012, 5:34 pm
- Forum: General Help
- Topic: https with certificates
- Replies: 7
- Views: 3600
Re: https with certificates
It doesn't work anymore on https with port 9090...
I don't understand what happen
I don't understand what happen
- February 25th, 2012, 5:17 pm
- Forum: General Help
- Topic: https with certificates
- Replies: 7
- Views: 3600
Re: https with certificates
I tried to type : SABnzbd.py in /usr/local/sabnzbd/share/SABnzbd but it doesn't work.
What is the right syntax to run sabnzbd in terminal ?
What is the right syntax to run sabnzbd in terminal ?
- February 25th, 2012, 1:31 pm
- Forum: General Help
- Topic: https with certificates
- Replies: 7
- Views: 3600
Re: https with certificates
Hello. It works with the defauls certificates (with a security warning of course).
Can you just tell me the commad to run sabnzb in a ssh sessions ? (I've never tried it).
Thanks
Can you just tell me the commad to run sabnzb in a ssh sessions ? (I've never tried it).
Thanks
- February 25th, 2012, 11:34 am
- Forum: General Help
- Topic: https with certificates
- Replies: 7
- Views: 3600
https with certificates
Hello. I've currently working certificates running on my synology NAS. Ex : https://subdomain.mydomain.fr I'm trying to make them working with sabnzbd : https://subdomain.mydomain.fr:9090 I've made : cp /usr/syno/etc/ssl/ssl.key/server.key /usr/syno/etc/ssl/ssl.crt/server.crt /usr/local/var/sabnzbd/...