inrego / addic2subs Goto Github PK
View Code? Open in Web Editor NEWAutomatic download of subtitles from addic7ed.com as well as a script for Sonarr
Automatic download of subtitles from addic7ed.com as well as a script for Sonarr
Hi Man,
its been a long while that I've been using the addic2subs, and hoping you're still around for a discussion. I have a couple of issued with shows not being downloaded:
[10:14:46]: An error occurred: System.Exception: Error (see inner exception) caused by file: E:\Tv Shows\BH90210\Season 01\BH90210 - S01E03 - The Photo Shoot.mp4 ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'E:\Tv Shows\BH90210\Season 01'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileSystemEnumerableIterator'1.CommonInit() at System.IO.FileSystemEnumerableIterator'1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler'1 resultHandler, Boolean checkHost) at System.IO.Directory.GetFiles(String path) at SubsDownloader.MediaFile.get_ExternalSubtitleLanguages() at SubsDownloader.MediaFile.get_GetAllSubtitleLanguages() at SubsDownloader.Processing.FileProcessor.get_MissingSubtitleLanguages() at SubsDownloader.Processing.FileProcessor..ctor(String filePath, String originalFilename) at SubsDownloader.Processing.QueueProcessor.HandleQueue() --- End of inner exception stack trace --- at SubsDownloader.Processing.QueueProcessor.HandleQueue() at SonarrScript.Program.Main(String[] args)
shows that are SDTV or Webrip are never found. Can this be added somehow, or allow the HDTV title to be downloaded for SDTV?
I have a show "It's Always Sunny in Philadelphia" thats sitting in my backlog, I can see on Addic7ed that its there, but its not downloading the sub:
<QueuedEpisode> <OriginalFilename>Its.Always.Sunny.in.Philadelphia.S01E05.DVDRip.XviD-NODLABS.avi</OriginalFilename> <FilePath>D:\TV Shows\It's Always Sunny in Philadelphia\Season 01\It's Always Sunny in Philadelphia - S01E05 - Gun Fever.avi</FilePath> <AddedAt>2019-09-20T18:19:22.725583+02:00</AddedAt> <NumberOfTries>4</NumberOfTries> </QueuedEpisode>
any tips for me? Let me know if you want a further discussion.
thanks!
Hi.
I'm trying out your program after you recommended it on the Sonarr git. Thanks, so far it seems like what I would need. However I occasionally get this error below:
[11:04:33]: An error occurred: System.NullReferenceException: Object reference not set to an instance of an object.
at SubsDownloader.Websites.Addic7ed.Plugin..ctor(IEnumerable`1 episodes)
at SubsDownloader.Processing.FileProcessor.DownloadSubtitles(Boolean addToQueue)
at SonarrScript.Program.Main(String[] args)
It would be great to have this script running on Linux based NAS, like QNAP NAS.
Is it possible to rewrite this script, or adjust it to work under linux?
Great job by the way and thank you! :)
So SonarrScript.exe is run every x hours and that's fine. How does SonarrScript know where the media files are?
This project looks great! However, when I run the script from Sonarr I receive the following error in the log:
[1:29:43 PM]: FilePath: D:\Video\Television\Sherlock\Specials\Sherlock - S00E09 - The Abominable Bride WEBDL-1080p.mkv
[1:29:43 PM]: OriginalName: .mkv
[1:29:43 PM]: An error occurred: System.NullReferenceException: Object reference not set to an instance of an object.
at SubsDownloader.Websites.Addic7ed.Episode..ctor(MediaFile file, Language[] languages, String originalFilename)
at SubsDownloader.Processing.FileProcessor..ctor(String filePath, String originalFilename)
at SonarrScript.Program.Main(String[] args)
Running it manually on the file once it's been renamed I get this:
[1:30:49 PM]: FilePath: D:\Video\Television\Sherlock\Specials\Sherlock - S00E09 - The Abominable Bride WEBDL-1080p.mkv
[1:30:49 PM]: OriginalName:
[1:30:49 PM]: An error occurred: System.NullReferenceException: Object reference not set to an instance of an object.
at SubsDownloader.Websites.Addic7ed.Episode..ctor(MediaFile file, Language[] languages, String originalFilename)
at SubsDownloader.Processing.FileProcessor..ctor(String filePath, String originalFilename)
at SonarrScript.Program.Main(String[] args)
Not an issue, more of a question. Not sure where to ask it so sorry if this is the wrong spot. Is the FoldersToScan portion of the .xml file being used? If so, what's the proper syntax? Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.