Giter VIP home page Giter VIP logo

sonarrautoimport's People

Contributors

dbiesecke avatar thespad avatar webreaper 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

Watchers

 avatar  avatar  avatar  avatar  avatar

sonarrautoimport's Issues

Lidarr

Is there a possibility you could add support for auto importing music to Lidarr. The reason I ask is because I am using Automatic Ripping Machine to rip movies, tv and music. So it would be nice to use this script to import everything ripped in to Sonarr, Radarr and Lidarr.

Params -dry-run | -v | \ in path doesn't work on Windows

It seems the windows binary v1.5 doesn't accept -dry-run or -v as params, as per readme file excerpt below:

There are also some optional params:
-v Enables verbose logging
-dry-run will scan the folder for video files, but not call the Sonarr API

The command I am using is below with the error output:

SonarrAutoImport -dry-run
[11:21:52.373--INF] === Sonarr Auto Import Log Started ===
[11:21:52.430--INF] LogLevel: Information
[11:21:52.517--ERR] Settings not found: ry-run

I have found that the readme needs updating to reflect 3 things if using windows:

  1. use --dry-run instead of -dry-run
  2. use --v instead of -v
  3. use double backslashes in paths

Also, the readme could do with a good description as to the difference between "mappingPath" and "downloadsFolder". This has been provided in a separate issue by @ jortan with thanks.

Originally posted by @jortan in #10 (comment)

downloadsFolder is the path to media files to be processed from the perspective of SonarrAutoImport script
mappingPath is the path to media files to be processed from the perspective of Sonarr

These should point to the same destination. In some scenarios (docker) the same destination might require a different path.

Radarr import not working?

This seems to have been broken (at least for me) for some time - radarr debug log records this when SonarrAutoImport attempts to import a file in to Radarr:

/api/command: 405.MethodNotAllowed (0 ms)

SonarrAutoImport 1.5
Radarr 4.7.5.7809

Needs to be updated to use "/api/v3/command" instead?

Upgrade to Sonarr v4

I think this is just what I might need for a recently upgraded Sonarr v4 installation.

Edit. Disregard. I didn't notice this was for a Windows installation, My installation runs on Ubuntu. I would need something like a python script.

Add delayed processing

Thanks for this project, it certainly fills a gap after "drone factory" functionality was deprecated.

Can I suggest a feature to allow delayed processing of files. SonarrAutoImport would enumerate files and then delay processing for the nominated time. This would prevent issues where a file is still being created in the location where it is to be moved from. (I suspect this is one of the reasons why the drone factory was removed in the first place)

Mac/Docker?

Hopefully a quick question โ€” what are the steps to run this on either Mac or Docker?

help with transform name

hi
"There is an optional 4th parameter, which is the path to a 'transforms' file. This is a text file whose contents will be of the form"
where create this file.txt ?
example?
SonarrAutoImport "/volume1/video/Downloads" 12345678901234567890123456 http://192.168.1.30:8989 file.txt???
thanks

Idiot Guide to Install....

This looks like a super handy script but I can t figure out how to install it...

Any chance of a quick install guide?

Looking forward to testing this.

Just a quick question????

Setting up the setting.json and I just wanted to know what is the difference between the mappingPath and downloadsFolder. Sorry kinda new to Sonarr. Thanks

System.Globalization.Invariant

Output from docker container "mdhiggins/sonarr-sma:preview"

root@a68cec12aa1a:/config/.import# ./SonarrAutoImport -v
Process terminated. Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.
at System.Environment.FailFast(System.String)
at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
at System.Globalization.GlobalizationMode..cctor()
at System.Globalization.CultureData.CreateCultureWithInvariantData()
at System.Globalization.CultureData.get_Invariant()
at System.Globalization.CultureInfo..cctor()
at System.Globalization.CultureInfo.get_InvariantCulture()
at Serilog.Parsing.PropertyToken..ctor(System.String, System.String, System.String, System.Nullable1<Serilog.Parsing.Alignment>, Serilog.Parsing.Destructuring, Int32) at Serilog.Parsing.MessageTemplateParser.ParsePropertyToken(Int32, System.String, Int32 ByRef) at Serilog.Parsing.MessageTemplateParser+<Tokenize>d__1.MoveNext() at System.Collections.Generic.LargeArrayBuilder1[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].AddRange(System.Collections.Generic.IEnumerable1<System.__Canon>) at System.Collections.Generic.EnumerableHelpers.ToArray[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Collections.Generic.IEnumerable1<System.__Canon>)
at System.Linq.Enumerable.ToArray[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]
at Serilog.Events.MessageTemplate..ctor(System.String, System.Collections.Generic.IEnumerable1<Serilog.Parsing.MessageTemplateToken>) at Serilog.Parsing.MessageTemplateParser.Parse(System.String) at Serilog.Sinks.SystemConsole.Output.OutputTemplateRenderer..ctor(Serilog.Sinks.SystemConsole.Themes.ConsoleTheme, System.String, System.IFormatProvider) at Serilog.ConsoleLoggerConfigurationExtensions.Console(Serilog.Configuration.LoggerSinkConfiguration, Serilog.Events.LogEventLevel, System.String, System.IFormatProvider, Serilog.Core.LoggingLevelSwitch, System.Nullable1<Serilog.Events.LogEventLevel>, Serilog.Sinks.SystemConsole.Themes.ConsoleTheme)
at SonarrAuto.Logging.LogHandler.InitLogs()
at SonarrAuto.Program.Main(System.String[])
Aborted (core dumped)

[Feature Request] Auto Check At Specified Interval For Files

First off thanks for this fantastic tool its literally the only thing that I have found that actually replaces drone factory properly. Would you consider implementing the scan specified directory every X minutes and import feature that drone factory had? I always found it easier to use that feature instead of setting up a cronjob and it would be great you are able to.

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.