1) Open the terminal 2) insert .....
$ subdownloader -c -q -V /media/Data/Videos/The\ Wire/The\ Wire\ 101\ -\ The\ Target.avi -l eng --rename-subs > stdout 2> stderr
$ ls -ltr [...] -rw-r--r-- 1 john john 0 2012-09-01 19:43 stdout -rw-r--r-- 1 john john 634 2012-09-01 19:43 stderr
[Notice that stdout is 0 bytes.]
$ cat stderr /usr/lib/python2.6/dist-packages/kaa/metadata/disc/cdrom.py:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 [19:43] INFO::subdownloader.cli.main # Scanning /media/Data/Videos/The Wire/The Wire 101 - The Target.avi ... [19:43] INFO::subdownloader.cli.main # Videos found: 1 Subtitles found: 13 [19:43] INFO::subdownloader.cli.main # Looks like some of your videos might need subtitles :) [19:43] INFO::subdownloader.cli.main # Starting subtitle search, please wait... [19:43] INFO::subdownloader.cli.filter # No subtitle was downloaded "The Wire 101 - The Target.avi". Maybe you already have it? $
So in this case I had expected all of this output to end up in 'stdout' instead of 'stderr'.
1) Open the terminal
2) insert .....
$ subdownloader -c -q -V /media/ Data/Videos/ The\ Wire/The\ Wire\ 101\ -\ The\ Target.avi -l eng --rename-subs > stdout 2> stderr
$ ls -ltr
[...]
-rw-r--r-- 1 john john 0 2012-09-01 19:43 stdout
-rw-r--r-- 1 john john 634 2012-09-01 19:43 stderr
[Notice that stdout is 0 bytes.]
$ cat stderr python2. 6/dist- packages/ kaa/metadata/ disc/cdrom. py:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead ader.cli. main # Scanning /media/ Data/Videos/ The Wire/The Wire 101 - The Target.avi ... ader.cli. main # Videos found: 1 Subtitles found: 13 ader.cli. main # Looks like some of your videos might need subtitles :) ader.cli. main # Starting subtitle search, please wait... ader.cli. filter # No subtitle was downloaded "The Wire 101 - The Target.avi". Maybe you already have it?
/usr/lib/
import md5
[19:43] INFO::subdownlo
[19:43] INFO::subdownlo
[19:43] INFO::subdownlo
[19:43] INFO::subdownlo
[19:43] INFO::subdownlo
$
So in this case I had expected all of this output to end up in 'stdout' instead of 'stderr'.