Code Monkey home page Code Monkey logo

sickgear / sickgear Goto Github PK

View Code? Open in Web Editor NEW
655.0 36.0 82.0 62.53 MB

SickGear has proven the most reliable stable TV fork of the great Sick-Beard to fully automate TV enjoyment with innovation.

Home Page: https://github.com/SickGear/SickGear/wiki

License: GNU General Public License v3.0

Python 97.34% CSS 0.81% JavaScript 1.28% Shell 0.09% C 0.43% Batchfile 0.05% Less 0.01%
stable tvshows tvseries subtitle tvdb trakt fanart kodi emby plex

sickgear's Introduction


SickGear
*SickGear*, a usenet and bittorrent PVR

SickGear provides management of TV shows and/or Anime, it detects new episodes, links downloader apps, and more.

Why SickGear?

  • SickGear maintains a perfect uptime with the longest track record of being stable, reliable, and trusted to work
  • SickGear gives fast issue resolution and provider updates (historically, with 99% of provider updates under 24 hours)
  • SickGear has the least issues and the least number of changes that require even more "fixes", less is more
  • SickGear Wiki pages are updated from feedback and the supported providers list is accurate and true
  • SickGear delivers valued quality from active development with a wealth of options on a dark or light themed interface
  • SickGear is said to be, simply the bestest all round SickBeard descendant there is, not our words, and very humbling

What now?

Hey you made it here, first, welcome to SickGear! You can dive straight in, or better to read below for what to expect...

Here's a taster for what to expect...

Some of the sick innovative gear you get

  • Ideas of shows to add from Trakt, IMDb, and AniDB categories; anticipating, new seasons, new shows, popular, and more
  • Advanced add show finder that near always returns results sorted A-Z, Aired, or Relevancy, with known shows separated
  • Releases can be auto fetched when a show is adding (e.g. optionally fetch oldest and/or newest without further effort)
  • Advanced automated search always works to save you from wasting your time manually picking from result lists
  • Choose to delete watched episodes pulled directly from played media at Kodi, Emby, and/or Plex (without Trakt tracking!)
  • Each show can keep all, or any set number of most recent episodes; e.g. only keep daily releases from the last 40 days
  • Smart custom qualities selector that guides to achieve an optimal quality selection for automated episode search
  • Choose to have episodes upgraded in quality, or keep existing archive quality, and upgrade future episodes either way
  • Single out providers to target "scene releases" either exclusively, with fallbacks to non-scene, and with optional exclusions
  • Mark providers to avoid "scene nuked" releases, with optional fallback when no other choice is available
  • Natively use a most powerful regex pattern matching system for superior information handling
  • Select a UI style anytime; Regular, Proview I, or Proview II - independently for Daily Schedule, and for Display Show
  • Smart fanart system allows you to rate avoid/prefer. UI can be moved or toggled off/on to fully appreciate a fanart
  • Daily Schedule Layout "Day by Day" displays fanart backgrounds of imminent releases
  • Configure from 0 to 500 fanart images to cache per show, default is 3
  • Provider server failure charts display what failed, when and why
  • Provider server failure handler that pauses connecting to a server the more it fails
  • Provider server activity graph and stats display how each are performing
  • Integrated IsItDownRightNow buttons for the used TVDB, TheXem, and Github sites to see if any are/were offline
  • Built-in providers that have proved over time to deliver leading durability among its application class and third parties
  • Secure support of Cloudflare IUAM access with no need to install node.js
  • Built-in Kodi repository service to maintain SickGear add-ons, the first add-on is Watched State Updater
  • Separate Plex server and Plex client settings, multiple LAN Plex server support, and Plex Home multiple user support
  • Intelligent library updates target the actual Plex server that carries the show of an episode (multi LAN server)
  • NZBGet to SickGear direct connection using a purpose built add-on
  • Communicate directly with qBittorrent/Deluge/Transmission etc. using a dedicated integration script
  • Proxy auto-config (PAC) support to define when a proxy is used instead of using one for every system request
  • Change file date, to the date that the episode aired (feature first created here for XBMC file list sorting)
  • Visual percentage progress of managed episodes
  • Configure an episode status for removed media files
  • Configurable default home page

Innovations also exist in core, we often inspire imitators, but you can get the real gear!

Other features and worthy points;

  • Stable, quality assured testing and development cycle
  • Most comprehensive selection of usenet and torrent sources
  • Compatible with any platform via a familiar web interface
  • Episode management
    • Group shows into personalised sections
    • View missed and upcoming shows at a glance with "day by day" and other layouts
    • Automatic and manual search for availability of episodes you want
    • Well known established sources are used to gather reliable show information
    • Known and user editable alternative show names can be searched
    • Known and user editable alternative numbered seasons and/or episodes can be searched
    • Forward search results directly to clients like NZBGet, SABNZBd, qBitTorrent, Deluge and others
    • Save search results to a "blackhole" folder, a place designated for clients to auto scan
    • Built-in post processing of episodes, with renaming to custom folder and/or file names
    • Fetch metadata like fanart, poster and banner images, nfo's for clients like Kodi, Emby, Plex, Jellyfin and many more
    • Native advanced automated handling of failed downloads to ensure a success after failure
    • Overview of episodes, rating, version, airdate, episode status (their meaning)
    • Support for specials and multi episode media files
  • File management for media processing
    • Configurable folder/file renaming for a consistent library
    • Automatic unpacking of rar archives
  • Automated subtitle management
  • Notification
    • Home Theater/NAS (Emby, Kodi, Plex, Syno, Tivo, and more) can be notified to update their library
    • Social notifiers (Trakt, Slack, Gitter, Discord, E-mail, and more)
    • Device notifiers (Boxcar2, Growl, Prowl, and more)
  • Server friendly with minimal number of API calls using both active and passive search tech
  • Automated alternative show names and episode numbering from XEM

Screenies

Show List: Simple
Theme: Dark, Light
Show List: Banner
Theme: Dark, Light
Show List: Poster
Theme: Dark, Dark 2
Daily Schedule: Day by Day
Theme: Dark, Light
Daily Schedule: List
Theme: Dark, Dark 2, Light
Display Show
Theme: Dark, Light
Edit Show
Theme: Dark

Available versions

Main (changes)(most stable)
Dev (changes)(mostly stable)
[ ++ Install Guides ++ ][ Frequently Answered ][ Discover Wiki ]
Github Stats(reliability)

Howto

Report issues

The following guidelines prevent reported issues getting messy and help us quickly get to the nub of an issue. Please be aware that we require all requested information and that missing details will likely result in the reported issue being closed.

Community

  •  (irc.libera.chat channel #sickgear)

Enjoy SickGear - stability, reliability, assured.

sickgear's People

Contributors

jackdandy avatar prinz23 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sickgear's Issues

Feature request: Subtitle work arounds

Branch: master @ py3.8.12

When considering to remove the SUBLIMINAL subtitles, can you please keep the subtitle flags on the View Show page indicating there are subtitles included in the video container (in the right language!).

It would be even nicer if it is possible to move the downloads which are flagged (with subtile) to the archived folder by the press of a button or if selected / set to archived.

Expectation | Result
Detection of existing subtitles | Workable system for not native English speakers!
Detection of manual added subtitles |

Thanks in advance.

Ps. Did I say please? I really enjoyed the work so far, but the subtitles really matter a lot.

Subliminal problem

Branch: master

Branch version commit hash: c69affb

Expectation Result
Select different subtitle languages to download Downloads only english subtitles even if the subtitles exist in other languages in opensubtitle.org

Steps to reproduce:
1) Open subtitle config
2) Select more than one language
3) Click to download all subtitles

I've checked the subtitles in that language exists but subliminal only downloads english subtitles. I could try to solve this issue myself but I don't know how to redirect subliminal log message to the [edit: removed typo] log file. Any help would be appreciated.

Regards

Feature Request: SD WEB-DL classification

Currently the WEB classification tiers are limit to:

  • 720p WEB-DL
  • 1080p WEB-DL
  • 2160p UHD 4K WEB

A commonly available video type is SD WEB-DL typically used for back catalogue pre-internet shows.

Request a new tier be added to cater for this quality.

About SG issues and feature request flows.

SickGear
Hello,

We aim to close issues as soon as possible. However, feature requests (not issues) were lingering for no good reason. So.. to keep things tidy, these thread types are labelled "enhancement" as usual, but also labelled "incubate" then closed.

This thread links those closed threads, you can still add comment, they are not dead.

Feature Requests : Incubated Enhancement Requests

Before posting an issue, please check the FAQ as it is often updated... an example

Also, your issue might have already been asked, see closed issues

Essential help on [How-to] Report Issues

Finally, smash that star button - it's free just like the support on this open source project.

Thanks

p.s. Consider this before asking for help; you support Liverpool FC and I come into your club house wearing a Chelsea FC shirt - do you feel to give me a beer? Spam accounts are blocked.

Norwegian metadata from TheTVDb not getting fetched.

BRANCH: develop @ py3.8.5 / COMMIT: b1274b8 @ 0.22.0

Expectation Result
Norwegian metadata to be fetched and used when selected in SG and available on thetvdb English metadata is fetched regardless. so it often returns emtpy info and episode titles for Norwegian shows with no English info..

Steps to reproduce:
1) Add a tv show that is known to have Norwegian metadata to SG. For Example https://thetvdb.com/series/beforeigners aka fremvandrerne.
2) Observe that English info/titles are fetched.
...

Additional notes:
It seems that TheTVDb API v3 is confused. Because I edited SG code to hard code use language tag 'nb' on API requests, and it fetched the info correctly. I suspect that when migrating to v3 API they somehow merged the Norwegian (no) and Norwegian Bokmål (nb/nob) language codes. I tried reporting the "bug" on their forums, and it supposedly got ticketed, but nothing has happened. Hopefully it will be fixed for v4, but as a reminder this issue is created for whenever v4 gets released, and SG gets migrated to it. So that you can take a look at it then.

Feature Request: Preferred words list for searches

Hi,

I'm just throwing this out these as a possible area for improvement somewhere down the line.

Currently Ignored Words and Required Words are configurable, but I was wondering if it would be possible to implement a Preferred Words system too?

That way, I could set a preferred words of DDP5.1 and/or DTS and it would select those rather than releases with AC3 or AAC in the name. If no DDP5.1 or DTS releases existed, it would still download the AC3/AAC releases.

I'd also like to prefer x265 over x264 so it would be handy for this scenario too.

This is probably going to be a bit more complex than the current system, which simply eliminates potential downloads on an inclusive or exclusive basis. A Preferred Words system would probably need to rank the releases so the one with the most preferred words would be selected.

I'm not sure how easy it would be to include this, but presumably there must be some sort of selection criteria in the background which chooses the most appropriate release when multiple exact matches are found (based on name, quality, etc.)?

Thanks.

QNAP 3.0.2 installer not working with QNAP update 5.0.1.2425

@clinton-hall
Unfortunately, I cannot get the new installer to work on my QNAP TS-253D.

What I did at first:

  • By accident updated my firmware too far (5.0.1.2425) for old sickgear to stop working.
  • Uninstalled old version
  • Installed new version (entware etc all still installed)
  • Opened sickgear and got "This site can’t be reached / refused to connect" on http://192.168.1.96:15625/

So what I tried then:

  • Initialized my NAS after data backup so its 100% fresh with my old firmware: 5.0.0.2131
  • installed Entware
  • installed Sickgear through the new install file
  • I opened sickgear and still got "This site can’t be reached / refused to connect" on http://192.168.1.96:15625/

Am I missing something?

Request: Upgrade "quality" settings for 720p/1080p x265

I realize HEVC/x265 is not a "quality." However, it would be nice to be able to tell SickGear to "upgrade" shows to 1080p/720p x265 after already downloading a x264 (or whatever) SD/HD version of the show.

More and more release groups are starting to use x265, albeit usually delayed days after new episodes release. Those of us who collect shows for long-term storage would benefit from the smaller file sizes, even if the release becomes available days or even weeks after.

Today, we can add "x265" and/or "hevc" to the list of required words, but it would be preferred to not limit the search results that way to prevent completely missing out on an episode because an x265 version was never found.

Startup issue on Linux after lxml 5.2.0 package update

version was latest version
branch was latest branch

Expectation Result
I attempted to update python in the gui. restart never completed.

Steps to reproduce:
1) clicked on link to update python in the gui
2) restart never completed
3) attempted windows chrome page refresh
4) could not connect
5) went to synolgy vs.7.2.1 update 4 package center and attempted to run.
6) received error message "Failed to run the package service. Package would not start! See: /var/log/packages/sickgear.log"
7) attempted to repair package
8) same error message
9) uninstalled package
10) restarted synology nas
11) installed spk from SickGear wiki installation page for Synology 7
12) same as above
13) uninstalled sickgear package
14) deleted sickgear folder from @appstore
15) rebooted synology nas
16) reinstalled spk from wiki
17) same as above

... etc.

 2024/04/01 16:59:38	uninstall sickgear 1.08 Begin /bin/rm -rf /volume1/@appstore/sickgear
2024/04/01 16:59:39	uninstall sickgear 1.08 End /bin/rm -rf /volume1/@appstore/sickgear ret=[0]
2024/04/01 16:59:39	uninstall sickgear 1.08 Begin /bin/rm -rf /volume1/@apptemp/sickgear
2024/04/01 16:59:39	uninstall sickgear 1.08 End /bin/rm -rf /volume1/@apptemp/sickgear ret=[0]
2024/04/01 16:59:40	uninstall sickgear 1.08 Begin postuninst
2024/04/01 16:59:40	uninstall sickgear 1.08 End postuninst ret=[1]
2024/04/01 17:00:14	install sickgear 1.08 Begin /bin/mkdir -p /volume1/@appstore/sickgear -m 755
2024/04/01 17:00:14	install sickgear 1.08 End /bin/mkdir -p /volume1/@appstore/sickgear -m 755 ret=[0]
2024/04/01 17:00:14	install sickgear 1.08 Begin /bin/rm -rf /volume1/@appstore/sickgear
2024/04/01 17:00:14	install sickgear 1.08 End /bin/rm -rf /volume1/@appstore/sickgear ret=[0]
2024/04/01 17:00:14	install sickgear 1.08 Begin /bin/mv -f /volume1/@tmp/synopkg/install.cMLpCe/package /volume1/@appstore/sickgear
2024/04/01 17:00:14	install sickgear 1.08 End /bin/mv -f /volume1/@tmp/synopkg/install.cMLpCe/package /volume1/@appstore/sickgear ret=[0]
2024/04/01 17:00:14	install sickgear 1.08 Begin /bin/rm -rf /var/packages/sickgear
2024/04/01 17:00:14	install sickgear 1.08 End /bin/rm -rf /var/packages/sickgear ret=[0]
2024/04/01 17:00:14	install sickgear 1.08 Begin /bin/mkdir -p /var/packages/sickgear -m 755
2024/04/01 17:00:14	install sickgear 1.08 End /bin/mkdir -p /var/packages/sickgear -m 755 ret=[0]
2024/04/01 17:00:14	install sickgear 1.08 Begin /bin/touch /var/packages/sickgear/installing
2024/04/01 17:00:14	install sickgear 1.08 End /bin/touch /var/packages/sickgear/installing ret=[0]
2024/04/01 17:00:14	install sickgear 1.08 Begin /bin/mv -f /volume1/@tmp/synopkg/install.cMLpCe/INFO /var/packages/sickgear/INFO
2024/04/01 17:00:14	install sickgear 1.08 End /bin/mv -f /volume1/@tmp/synopkg/install.cMLpCe/INFO /var/packages/sickgear/INFO ret=[0]
2024/04/01 17:00:14	install sickgear 1.08 Begin /bin/rm -rf /var/packages/sickgear/scripts
2024/04/01 17:00:14	install sickgear 1.08 End /bin/rm -rf /var/packages/sickgear/scripts ret=[0]
2024/04/01 17:00:14	install sickgear 1.08 Begin /bin/mv -f /volume1/@tmp/synopkg/install.cMLpCe/scripts /var/packages/sickgear/scripts
2024/04/01 17:00:14	install sickgear 1.08 End /bin/mv -f /volume1/@tmp/synopkg/install.cMLpCe/scripts /var/packages/sickgear/scripts ret=[0]
2024/04/01 17:00:14	install sickgear 1.08 Begin /bin/rm -rf /var/packages/sickgear/conf
2024/04/01 17:00:14	install sickgear 1.08 End /bin/rm -rf /var/packages/sickgear/conf ret=[0]
2024/04/01 17:00:14	install sickgear 1.08 Begin /bin/mv -f /volume1/@tmp/synopkg/install.cMLpCe/conf /var/packages/sickgear/conf
2024/04/01 17:00:14	install sickgear 1.08 End /bin/mv -f /volume1/@tmp/synopkg/install.cMLpCe/conf /var/packages/sickgear/conf ret=[0]
2024/04/01 17:00:17	install sickgear 1.08 Begin postinst
2024/04/01 17:00:17	install sickgear 1.08 Clone main repository from: https://github.com/SickGear/SickGear.git to /volume1/@appstore/sickgear/app
2024/04/01 17:00:28	install sickgear 1.08 Application version:  3.30.16 (2024-03-24 20:30:00 UTC)
Defaulting to user installation because normal site-packages is not writeable
Collecting CT3 (from -r /volume1/@appstore/sickgear/app/requirements.txt (line 1))
  Using cached CT3-3.3.3.post1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata (3.4 kB)
Using cached CT3-3.3.3.post1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (667 kB)
Installing collected packages: CT3
  Attempting uninstall: CT3
    Found existing installation: CT3 3.3.3.post1
    Uninstalling CT3-3.3.3.post1:
      Successfully uninstalled CT3-3.3.3.post1
Successfully installed CT3-3.3.3.post1
2024/04/01 17:00:35	install sickgear 1.08 End postinst ret=[0]
2024/04/01 17:00:35	install sickgear 1.08 Begin start-stop-status start
/var/packages/sickgear/scripts/start-stop-status: line 5: 14152 Illegal instruction     (core dumped) env LANG=en_US.UTF-8 "${PYTHON}" "${STARTMODULE}" -q --daemon --pidfile="${PIDFILE}" --datadir="${SYNOPKG_PKGVAR}" --port=${SYNOPKG_PKGPORT}
2024/04/01 17:00:40	install sickgear 1.08 End start-stop-status start ret=[3]
2024/04/01 17:00:40	(system) trigger sickgear 1.08 Begin start-stop-status stop
2024/04/01 17:00:40	(system) trigger sickgear 1.08 End start-stop-status stop ret=[0]
2024/04/01 17:14:27	start sickgear 1.08 Begin start-stop-status start
/var/packages/sickgear/scripts/start-stop-status: line 5: 18130 Illegal instruction     (core dumped) env LANG=en_US.UTF-8 "${PYTHON}" "${STARTMODULE}" -q --daemon --pidfile="${PIDFILE}" --datadir="${SYNOPKG_PKGVAR}" --port=${SYNOPKG_PKGPORT}
2024/04/01 17:14:29	start sickgear 1.08 End start-stop-status start ret=[3]
2024/04/01 17:14:29	(system) trigger sickgear 1.08 Begin start-stop-status stop
2024/04/01 17:14:29	(system) trigger sickgear 1.08 End start-stop-status stop ret=[0] 

Additional notes:

sickgear was working fine until i tried to update the python on March 31st

Good info helps replicate the issue and is the fastest way to get it resolved

Feature Request: Add media file validation to sabToSickGear

Background: The result of a completed SABnzbd task is passed to the /autoProcessTV/sabToSickGear script which notifies SickGear to perform a media process.

The request is to add a new placeholder folder /autoProcessTV/mediacheck/ that will contain a system dependent binary that validates the integrity of a media file.

sabToSickGear will recursively scan parameter 1 from SAB, that is; The final directory of the job (full path) and for each filename with a valid media file extension, call the binary validator with the filename. Delete the file if the validator reports invalid media.

This means that any file that is;

  • a valid media filename but has corrupt data will be deleted
  • a valid media filename with 100% data integrity be left untouched for SG to process
  • not a valid media filename ext, e.g. subtitles, nfo, will be left untouched for SG to process

Feature Request: Add options to ignore socks proxy for local addresses

Apologies if this is more of a bug, but I am not sure how to categorise it. It's possible it's a 2-in-1.

Branch: develop

Branch version commit hash: 2ea74f3 @ 3.30.0

Expectation Result
When using Docker and SOCKS is enabled, for the proxy to be bypassed when communicating with downloaders locally For NZBget, this seems to be the case, but not for Sabnzbd

I have been limping along with NZBget since I opened #1240 way back when, but I really do prefer Sabnzbd, and I've finally had time to look into this. I run all apps in Docker, sickgear:develop, linuxserver/nzbget and linuxserver/sabnzbd.

Steps to reproduce:
1) With SOCKS disabled, add Sabnzbd and test - notice connection success
2) Enable SOCKS and test - notice failure and error in logs
3) Repeat the above 2 steps with NZBget and notice success for either

This seems to point to an issue with Sabnzbd, but I have no issues with any other containers and as far as I can tell the containers are setup correctly. Both NZB containers have the same settings and relevant ports are open.

With SOCKS on:

Sabnzbd: Unable to connect to host

2023-09-07 12:27:37 ERROR HOME^WEB_0 :: Error, no response from SABnzbd 2023-09-07 12:27:37 WARNING SG.HELPER :: Failed 6 times, skipping domain 192.168.1.10 for 0:50:43, last failure at 2023-09-07 11:18:21 with fail type: connection

NZBget: Success. Connected

2023-09-07 12:28:26 DEBUG HOME^WEB_1 :: NZBGet URL: http://nzbget:**************@192.168.1.10:6789/xmlrpc 2023-09-07 12:28:26 DEBUG HOME^WEB_1 :: Success. Connected

Additional notes:

Just for the sake of testing, I fired up Sonarr, and added the SOCKS and Sabnzbd configs. This experiences the same behavior which again points to Sabnzbd, but then Sonarr specifically has the option to bypass local addresses and specified addresses: https://wiki.servarr.com/sonarr/settings#proxy

I found the "Bypass Proxy for Local Addresses" checkbox didn't help, but adding the Sabnzbd host to "Ignored Addresses" did the trick:

Screenshot 2023-09-07 133747

Is there a possibility that SickGear could have these options to mitigate such issues? Thanks :)

sqlite3-3.45.1,1 on FreeBSD

Branch: main

Commit tag: 2c2e6bb

Expectation Result
to have sickgear start on FreeBSD with "service sickgear start" Not Running

Steps to reproduce:
1) Upgrade sqlite3 to 3.45.1,1
2) try to start sickgear

Downgrading to sqlite3-3.45.0_1,1 'solves' the issue

2024-03-23 09:44:23 INFO     TORNADO :: Starting SickGear on https://0.0.0.0:8081/
2024-03-23 09:44:23 DEBUG    MAIN :: config_version -> 23
2024-03-23 09:44:23 DEBUG    MAIN :: Detected database version: v20016
2024-03-23 09:44:23 INFO     MAIN :: Database schema is up-to-date, no upgrade required
2024-03-23 09:44:23 INFO     MAIN :: Checking database structure...
2024-03-23 09:44:23 DEBUG    MAIN :: Checking Initial Schema database upgrade
2024-03-23 09:44:23 DEBUG    MAIN :: InitialSchema upgrade not required
2024-03-23 09:44:23 DEBUG    MAIN :: Checking Consolidate Providers database upgrade
2024-03-23 09:44:23 DEBUG    MAIN :: ConsolidateProviders upgrade not required
2024-03-23 09:44:23 DEBUG    MAIN :: Checking Add Backlog Parts database upgrade
2024-03-23 09:44:23 DEBUG    MAIN :: AddBacklogParts upgrade not required
2024-03-23 09:44:23 DEBUG    MAIN :: Checking Add Provider Failure Handling database upgrade
2024-03-23 09:44:23 DEBUG    MAIN :: AddProviderFailureHandling upgrade not required
2024-03-23 09:44:23 DEBUG    MAIN :: Checking Add Indexer To Tables database upgrade
2024-03-23 09:44:23 DEBUG    MAIN :: AddIndexerToTables upgrade not required
2024-03-23 09:44:23 DEBUG    MAIN :: Checking Add Generic Failure Handling database upgrade
2024-03-23 09:44:23 DEBUG    MAIN :: AddGenericFailureHandling upgrade not required
2024-03-23 09:44:23 DEBUG    MAIN :: Checking Add Save Queues database upgrade
2024-03-23 09:44:23 DEBUG    MAIN :: AddSaveQueues upgrade not required
2024-03-23 09:44:23 INFO     MAIN :: Checking database structure...
2024-03-23 09:44:23 DEBUG    MAIN :: Checking Initial Schema database upgrade
2024-03-23 09:44:23 DEBUG    MAIN :: InitialSchema upgrade not required
2024-03-23 09:44:23 DEBUG    MAIN :: Checking Size And Provider database upgrade
2024-03-23 09:44:23 DEBUG    MAIN :: SizeAndProvider upgrade not required
2024-03-23 09:44:23 DEBUG    MAIN :: Checking History database upgrade
2024-03-23 09:44:23 DEBUG    MAIN :: History upgrade not required
2024-03-23 09:44:23 DEBUG    MAIN :: Checking History Status database upgrade
2024-03-23 09:44:23 DEBUG    MAIN :: HistoryStatus upgrade not required
2024-03-23 09:44:23 DEBUG    MAIN :: Checking Add Indexer To Tables database upgrade
2024-03-23 09:44:23 DEBUG    MAIN :: AddIndexerToTables upgrade not required
2024-03-23 09:44:23 INFO     MAIN :: No orphan episodes, check passed
2024-03-23 09:44:23 INFO     MAIN :: No UNAIRED episodes, check passed
2024-03-23 09:44:23 ERROR    MAIN :: DB error: no such column: null
2024-03-23 09:44:23 INFO     MAIN :: SickGear.Start() exception caught no such column: null: Traceback (most recent call last):
  File "/usr/local/sickgear/sickgear.py", line 824, in <module>
    SickGear().start()
  File "/usr/local/sickgear/sickgear.py", line 492, in start
    sickgear.initialize(console_logging=self.console_logging)
  File "/usr/local/sickgear/sickgear/__init__.py", line 660, in initialize
    return init_stage_2()
  File "/usr/local/sickgear/sickgear/__init__.py", line 1570, in init_stage_2
    db.sanity_check_db(my_db, mainDB.MainSanityCheck)
  File "/usr/local/sickgear/sickgear/db.py", line 413, in sanity_check_db
    sanity_check(connection).check()
  File "/usr/local/sickgear/sickgear/databases/mainDB.py", line 43, in check
    self.fix_scene_exceptions()
  File "/usr/local/sickgear/sickgear/databases/mainDB.py", line 257, in fix_scene_exceptions
    sql_result = self.connection.select(
  File "/usr/local/sickgear/sickgear/db.py", line 289, in select
    sql_results = self.action(query, args).fetchall()
  File "/usr/local/sickgear/sickgear/db.py", line 269, in action
    sql_result = self.connection.execute(query)
sqlite3.OperationalError: no such column: null

OS: FreeBSD 14.0-RELEASE-p5

Automatic handling for failed downloads

Branch: master @ py3.9.5

Branch version commit hash: COMMIT: 5a1a122 @ 0.25.0

Expectation Result
When a download in SABnzbd fails, SickGear recognises this and then tries another release This does not happen. I have to manually change selected episodes to failed.

Steps to reproduce:
1) Enable failed download handling in SickGear
2) Disable Abort jobs that cannot be completed and Post-Process Only Verified Jobs in SABnzbd
3) Enable empty_postproc in SABnzbd
4) Wait for a download to fail
...

A sanitised version of the relevant logs can be found HERE.

According to the logs, multiple download locations on the initial search, but then after the download fails, these are not attempted.

P.S. Thanks for all the great work you put into this project. Really enjoying the new version. The actor thumbnails are great.

Provider Wait Times and Priority

https://github.com/Flexget/Flexget/blob/develop/flexget/plugins/filter/series.py
is the file that flexget uses for its wait
http://flexget.com/wiki/Plugins/series/timeframe

midgetspy/Sick-Beard#466

seems to be sorta what was being asked but in a diffrent aspect and the same

Clarity: Id always prefer HDTV > SDTV if a HDTV is released on BTN id be willing to wait 1 hr if SD is up there to see if HDTV is released if after say 1 HR (user defined) it does not have HDTV download the SDTV.

Also: I would always prefer BTN > Torrentshack (rss feed) > Freshontv > Kat.ph.sh.whateverthe hell the extension is now

Lets say kat has the show doctor who (2005) s09e01 it was released at 12:00 i would be willing to wait 8 hrs for it to be on btn or torrentshack at the very least. If torrent shack has it i would be willing to wait 1hr for btn to have it. This is hard to explain but the above links have managed to do it in a way that works for what is being requested and both are python so it is possible. basically I never want to use freshon.tv or kat.ph unless i absolutely have to.

Using socks proxy

Branch: master

Branch version commit hash: docker @ 0.21.5

Expectation Result
To be able to enter socks5://someip:someport or socks://someip:someport and (ideally) a username and password Testing with socks authentication disabled as there is nowhere to input credentials, but an error occurs.

I have tried prefixing with socks and socks5, no improvement.

Steps to reproduce:
1) Enter a socks address in the proxy field
2) Save

1) Detail... Unable to determine SOCKS version from socks://192.168.0.200:9118
 2) Traceback (most recent call last):
 3)   File "/opt/SickGear/lib/sg_helpers.py", line 299, in get_url
 4)     response = session.get(url, timeout=timeout, **kwargs)
 5)   File "/opt/SickGear/lib/requests/sessions.py", line 550, in get
 6)     return self.request('GET', url, **kwargs)
 7)   File "/opt/SickGear/lib/cfscrape/__init__.py", line 54, in request
 8)     resp = super(CloudflareScraper, self).request(method, url, *args, **kwargs)
 9)   File "/opt/SickGear/lib/requests/sessions.py", line 537, in request
10)     resp = self.send(prep, **send_kwargs)
11)   File "/opt/SickGear/lib/requests/sessions.py", line 650, in send
12)     r = adapter.send(request, **kwargs)
13)   File "/opt/SickGear/lib/cachecontrol/adapter.py", line 53, in send
14)     resp = super(CacheControlAdapter, self).send(request, **kw)
15)   File "/opt/SickGear/lib/requests/adapters.py", line 412, in send
16)     conn = self.get_connection(request.url, proxies)
17)   File "/opt/SickGear/lib/requests/adapters.py", line 309, in get_connection
18)     proxy_manager = self.proxy_manager_for(proxy)
19)   File "/opt/SickGear/lib/requests/adapters.py", line 182, in proxy_manager_for
20)     manager = self.proxy_manager[proxy] = SOCKSProxyManager(
21)   File "/opt/SickGear/lib/urllib3/contrib/socks.py", line 192, in __init__
22)     raise ValueError("Unable to determine SOCKS version from %s" % proxy_url)
23) ValueError: Unable to determine SOCKS version from socks://192.168.0.200:9118

Additional notes:
There are no specific config settings, start with a blank config and just enter a socks proxy.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.