Commit graph

549 commits

Author SHA1 Message Date
clinton-hall
f6bf26c91c added delay when SickRage queues PP. Temp fix #1158 2017-01-10 10:15:36 +10:30
clinton-hall
454db6fe6a update utorrent client. Fixes #1138 2017-01-10 08:25:55 +10:30
clinton-hall
ccd89d5403 don't create 2 identical audio streams. Fixes #1150 2017-01-06 09:12:27 +10:30
clinton-hall
45a20cdd7e add waitfor and inputName. Fixes #1098 2017-01-04 08:22:43 +10:30
clinton-hall
6f1ad0a600 pass in section for logging. Feixes #1098 2017-01-03 15:02:43 +10:30
clinton-hall
66188449c8 fix call to self. Fixes #1098 2017-01-03 12:00:22 +10:30
clinton-hall
614f8f6a32 try album directory, then root directory. Fixes #1146 2016-12-29 07:47:57 +10:30
clinton-hall
e96998a731 append -o to output path for 7zip. Fixes #1149 2016-12-24 08:05:11 +10:30
clinton-hall
66abb2d562 V11.02 for merge 2016-11-30 16:26:15 +10:30
supergonkas
3564b7ff8b Fix wrong syntax 2016-11-23 00:18:29 +00:00
Clinton Hall
1429a0d707 Merge pull request #1135 from fean/master
Update __init__.py
2016-11-23 10:05:21 +10:30
Leonard Breitkopf
f7ba362926 Update __init__.py 2016-11-22 20:08:04 +01:00
Clinton Hall
4b90a2cc19 Merge pull request #1133 from Dam4rusxp/patch-1
Check for existence of codec_type key when counting streams
2016-11-18 12:08:37 +10:30
Dam4rusxp
57f6907922 Check for existence of codec_type key when counting streams 2016-11-17 22:49:06 +01:00
clinton-hall
c9c5fd5045 fix failure condition from SABnzbd. Fixes #1131 2016-11-15 18:40:32 +10:30
clinton-hall
c94731bcbb added option no_extract_failed. Fixes #1129 2016-11-08 20:14:25 +10:30
clinton-hall
dcd99da19e removed proc_type when failed. Fixes #1127 2016-11-03 13:14:03 +10:30
clinton-hall
515f731961 fix headphones Directory parsing. Fixes #1125 2016-11-03 09:25:23 +10:30
BBsan2k
41beff0cd9 Added resolution key 2016-11-02 15:34:01 +01:00
BBsan2k
ed2f655447 Added Bitrate for MKV-SD release in order to produce releases of good quality (1200k) 2016-11-02 08:37:27 +01:00
clinton-hall
26957918e5 document changes and version up to 11.01` 2016-10-30 06:18:57 +10:30
clinton-hall
5773da7fcd don't convert VobSub to mov_text. Fixes #1120 2016-10-29 08:55:29 +10:30
clinton-hall
ea6175e261 check for preferred codec even if not preferred language. Fixes #1118 2016-10-26 16:29:06 +10:30
clinton-hall
6b5943bc8f removed excess brace after transcode defaults. #1102 2016-10-24 06:37:09 +10:30
BBsan2k
5a3f162cf4 Fixed duplicate Line and removed MP4 2016-10-22 11:40:00 +02:00
BBsan2k
a3824f27bb Merge branch 'nightly' into patch-1
# Conflicts:
#	core/__init__.py
2016-10-22 10:14:05 +02:00
BBsan2k
efb5f6ea0f Merge branch 'master' into patch-1
# Conflicts:
#	core/__init__.py
2016-10-21 17:38:54 +02:00
BBsan2k
6507b3dd3f Added Transcode Option 2016-10-21 17:24:19 +02:00
BBsan
1b347e630a Added MKV-SD Profile 2016-10-21 17:18:04 +02:00
clinton-hall
030b334851 fix typo 2016-10-21 21:25:11 +10:30
clinton-hall
6bfb0f4a53 add more logging to server tests. #1113 2016-10-21 20:56:49 +10:30
clinton-hall
92c356a6b0 fix int conversion base 8 from string or int. 2016-10-15 13:34:10 +10:30
clinton-hall
26d938eba0 removed extra default that casued int() to fail. Fixes #1109 2016-10-15 08:35:55 +10:30
clinton-hall
3d915986b0 revert to 7zip if others missing. Fixes #1015 2016-10-12 07:05:48 +10:30
Clinton Hall
d7e0eba6f6 Allow manual scans to continue. Fixes #1112 2016-10-11 16:56:44 +10:30
clinton-hall
bfaf2ddb17 Merge branch 'nightly' of https://github.com/clinton-hall/nzbToMedia into nightly 2016-10-07 22:48:30 +10:30
clinton-hall
07f419640c catch errors if not audio codec name. Fixes #1109 2016-10-07 22:47:01 +10:30
Marvin Pinto
2c8b2fc8cf Typecast the 'bit_rate' and 'channels' values into floats before attempting to convert them to ints
Otherwise we end up in a situation where audio3[0].get("bit_rate", 0)
returns the string `"192000.000000"`, which cannot be converted into an
int.

Example:

```
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> int("192000.000000")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: invalid literal for int() with base 10: '192000.000000'
>>> int(float("192000.000000"))
192000
```

Relevant log entry:
```
[10:50:57] [DEBUG]::TRANSCODER: ******* Specified bit rate is: 192000.000000
Traceback (most recent call last):
  File "/opt/nzbtomedia/nzbToSickBeard.py", line 254, in <module>
    result = nzbToMedia.main(sys.argv, section)
  File "/opt/nzbtomedia/nzbToMedia.py", line 726, in main
    download_id='')
  File "/opt/nzbtomedia/nzbToMedia.py", line 615, in process
    download_id, inputCategory, failureLink)
  File "/opt/nzbtomedia/core/autoProcess/autoProcessTV.py", line 162, in processEpisode
    result, newDirName = transcoder.Transcode_directory(dirName)
  File "/opt/nzbtomedia/core/transcoder/transcoder.py", line 708, in Transcode_directory
    command = buildCommands(file, newDir, movieName, bitbucket)
  File "/opt/nzbtomedia/core/transcoder/transcoder.py", line 278, in buildCommands
    bitrate = int(audio1[0].get("bit_rate", 0)) / 1000
ValueError: invalid literal for int() with base 10: '192000.000000'
Exception TypeError: "'NoneType' object is not callable" in <bound method PosixProcess.__del__ of <core.nzbToMediaUtil.PosixProcess object at 0x7ffa6a37e590>> ignored
```
2016-10-03 16:00:37 -04:00
Marvin Pinto
cb0de3ca98 Add the ability to set octal permissions on the processed files prior to handing it off to Sickrage/Couchpotato
If set, the `chmodDirectory` option instructs the nzbToMedia
post-processing script to set the recursive directory permissions to the
octal value specified.
2016-10-03 16:00:33 -04:00
clinton-hall
14be873c7c fix another int(Section) error. 2016-09-29 07:02:28 +09:30
clinton-hall
879584c107 allow guessit to work of full file path 2016-09-22 09:28:27 +09:30
clinton-hall
d692acb061 fix guessit call. Fixes #1105 2016-09-22 07:11:58 +09:30
Clinton Hall
c9d71945c4 Merge pull request #1100 from fernandog/add_medusa
Add Medusa fork and new param "ignore_subs"
2016-09-21 22:12:25 +09:30
clinton-hall
0625f7f3c0 updated libs to fix guessit and subliminal. Fixes #1080 2016-09-21 13:31:41 +09:30
clinton-hall
319d418af8 convert to 3 letter language code. Fixes #1088 2016-09-21 11:12:42 +09:30
clinton-hall
e5a46f581d added check for language tag size. Fixes #1087 2016-09-21 09:42:32 +09:30
Billie Thompson
adcc061a67 Update autoProcessTV.py
There is a minor typo in the user messages. This will resolve it.
2016-09-18 11:50:19 +01:00
Fernando
613ddb129a Add Medusa fork and new param "ignore_subs" 2016-09-05 15:58:12 -03:00
Labrys of Knossos
0ce7582da5 Merge pull request #1050 from clinton-hall/code-cleanup-3
Code cleanup 3
2016-06-12 03:42:18 -04:00
clinton-hall
ef8701ed59 fix autofork detection. Fixes #1056 2016-06-08 22:22:07 +09:30