Git Product home page Git Product logo

seekerr's People

Contributors

dependabot[bot] avatar lightglitch 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

Watchers

 avatar  avatar

seekerr's Issues

Roadmap, sonarr?

Is this still being developed? Particularly interested in sonarr integration.

Feat Req: ARMV7 (32bit) docker support

Tried pulling Docker image and received error since only ARM64/AMD64 is included. This omits compatibility for Rasp Pi 3B, ODROIDs, and many countless other SBCs. Unless it’s newest and greatest chances are it requires ARMV7L support.

Please consider adding it, it’ll be greatly appreciated. Thank you!

panic: runtime error: invalid memory address or nil pointer dereference

Hi. I am new to seekerr (seekerr v1.0.4 linux/amd64) and docker (running on Windows 11 64 bit). I am aware this error has been reported before. As the thread is closed, I am opening up a new one.

I am getting this error

seekerr import
Using config file: /config/seekerr.yaml
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x81bf1a]

goroutine 1 [running]:
github.com/spf13/viper.(*Viper).find(0x0, 0xac8239, 0x5, 0x1, 0x8c3ae5, 0xa068e0)
        /go/pkg/mod/github.com/spf13/[email protected]/viper.go:1165 +0x3a
github.com/spf13/viper.(*Viper).Get(0x0, 0xac8239, 0x5, 0xbab038, 0x1141f00)
        /go/pkg/mod/github.com/spf13/[email protected]/viper.go:838 +0x85
github.com/spf13/viper.(*Viper).GetBool(0x0, 0xac8239, 0x5, 0xc000001b00)
        /go/pkg/mod/github.com/spf13/[email protected]/viper.go:912 +0x3f
github.com/lightglitch/seekerr/utils/http.GetRestyClient(0x0, 0xad023e)
        /go/src/github.com/lightglitch/seekerr/utils/http/resty.go:52 +0x52
github.com/lightglitch/seekerr/cmd.glob..func4(0xf722e0, 0x1142178, 0x0, 0x0)
        /go/src/github.com/lightglitch/seekerr/cmd/import.go:59 +0x79
github.com/spf13/cobra.(*Command).execute(0xf722e0, 0x1142178, 0x0, 0x0, 0xf722e0, 0x1142178)
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:860 +0x2c2
github.com/spf13/cobra.(*Command).ExecuteC(0xf727e0, 0xc000000180, 0x200000003, 0xc000000180)
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:974 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:902
github.com/lightglitch/seekerr/cmd.Execute()
        /go/src/github.com/lightglitch/seekerr/cmd/root.go:50 +0x31
main.main()
        /go/src/github.com/lightglitch/seekerr/main.go:27 +0x25

My config file:

logger:
  level: debug  # panic,fatal,error,warn,info,debug,trace
  timeFormat: "" # golang time format
  color: true # active color on console
  human: true # store file log as human readable
  file: "var/log/seekerr.%Y%m%d.log" # %Y%m%d is used for rotation. leave empty to disable file log

cron: "0 */2 * * *"

services:

  trakt:
    apiKey: "xyz"

  omdb:
    apiKey: "xyz"

  radarr:
    url: "http://127.0.0.1:7878/"
    apiKey: "xyz"
    rootFolder: "/movies/"
    quality: "Bluray"
    minimumAvailability: "released"
    monitored: true
    searchForMovie: false

importer:
  revision: false
  filter:
    limit: 100 # limit the movies to process on each list
    exclude:
      - 'CountRatings < 2 || Runtime < 20 || ImdbVotes < 1000 || Year > Now().Year()'
      - 'Ratings.Imdb != 0 && Ratings.Imdb < 7'
    revision:
      - 'CountRatings < 2 || Runtime < 20 || ImdbVotes < 1000 || Year > Now().Year()'
      - 'Ratings.Imdb != 0 && Ratings.Imdb < 6.5'
      - 'Ratings.Metacritic != 0 && Ratings.Metacritic < 60'
      - 'Ratings.RottenTomatoes != 0 && Ratings.RottenTomatoes < 65'

  lists:
    
    traktPublic:
      type: "trakt" # rss | trakt | imdb
      url: "https://trakt.tv/users/fresnobiker/lists/new-hd-releases?sort=added,asc"
      
    traktPublic:
      type: "trakt" # rss | trakt | imdb
      url: "https://trakt.tv/users/giladg/lists/latest-releases?sort=added,asc"

Please help me with the issue.

slack notification ERROR.

notifications:
  # gotify:
  #   webhook: "http://192.168.1.100:8070/message?token=XXXX"
  #   events: ["ADDED_MOVIE","REVISION_MOVIE","FINISH_ALL_FEEDS"] # START_FEED, FINISH_FEED, FINISH_ALL_FEEDS, ADDED_MOVIE, leave empty for all

  slack:
    webhook: "https://hooks.slack.com/services/T053F7S0000/B06A5HE0000/ZWhOdelYpXKhnGqe00000000"
    events: ["ADDED_MOVIE","REVISION_MOVIE","FINISH_ALL_FEEDS"] # START_FEED, FINISH_FEED, FINISH_ALL_FEEDS, ADDED_MOVIE, leave empty for all

I did get notifications. But not completed.

incoming-webhook
Finish processing all feeds, added 1 movies

3:22AM INF [ADDED] Movie 'Les rendez-vous de Paris (1995)' added to radarr. Component=Importer
3:22AM INF Broadcast event Component="Notification Dispatcher" agents=1 event={"Data":{"item":{"CountRatings":2,"Genre":["Comedy","Romance"],"Imdb":"tt0114266","ImdbVotes":2427,"Language":["French"],"Ratings":{"Imdb":7.2,"Metacritic":0,"RottenTomatoes":78},"Runtime":98,"Title":"Les rendez-vous de Paris","Tmdb":0,"Year":1995},"movie":{"addOptions":{"searchForMovie":true},"images":[{"coverType":"poster","url":""},{"coverType":"fanart","url":""}],"imdbId":"tt0114266","isAvailable":true,"minimumAvailability":"Announced","monitored":true,"overview":"Three stories of love and coincidence around the theme of dates in Paris.","qualityProfileId":7,"rootFolderPath":"/movies/","title":"Rendezvous in Paris","titleSlug":"77056","tmdbId":77056,"year":1995},"name":"imdb"},"Type":"ADDED_MOVIE"}
3:22AM ERR Error sending event Component=SlackAgent response=invalid_blocks

docker?

hello,

is there any plans to support for docker container?

thanks

Wrong Docker Timezone?

Looking at Seekerr container logs the time is 6 hours ahead. Is there a hard coded timezone into the logging system?

Using command date within container shows proper time.

Below are lines from logs. 3:16AM is the wrong time 6 hours ahead for me. Yet 0=now 1=2022-02-12T22:16 is the correct time.

Using config file: /config/seekerr.yaml
3:16AM INF start
3:16AM INF schedule 0=now 1=2022-02-12T22:16:47.477158216-05:00 2=entry 3=1 4=next 5=2022-02-13T00:00:00-05:00

In docker-compise I tried both:
- TZ=America/New_York
and
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"

No time issues with other containers on same host.

panic: runtime error: invalid memory address or nil pointer dereference

Hi,

I use your Docker:

docker run -d \
--name=seekerr \
--restart always \
-v /home/aerya/docker/seekerr:/config \
--label=com.centurylinklabs.watchtower.enable=true \
lightglitch/seekerr:latest

I set it up on yesterday, it never ran.

12:00AM INF start
12:00AM INF schedule 0=now 1=2021-08-18T00:00:03.529017168Z 2=entry 3=1 4=next 5=2021-08-18T02:00:00Z
2:00AM INF wake 0=now 1=2021-08-18T02:00:00.089352495Z
2:00AM INF run 0=now 1=2021-08-18T02:00:00.089352495Z 2=entry 3=1 4=next 5=2021-08-18T04:00:00Z
2:00AM INF Accessing radarr with version 4.0.0.5219. Component=Radarr
2:00AM DBG Found Quality Profile ID for 'HD': 4 Component=Radarr
2:00AM INF Init radarr cache Component=Importer Count=149
2:00AM INF Excluded movies in radarr Component=Importer Count=533

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x7fd11a]

goroutine 18 [running]:
github.com/spf13/viper.(*Viper).find(0x0, 0xa9e1be, 0x6, 0x1, 0x1f4, 0x7f265df3ef70)
	/go/pkg/mod/github.com/spf13/[email protected]/viper.go:1125 +0x3a
github.com/spf13/viper.(*Viper).Get(0x0, 0xa9e1be, 0x6, 0xc000078f60, 0xc0001c4800)
	/go/pkg/mod/github.com/spf13/[email protected]/viper.go:798 +0x85
github.com/spf13/viper.(*Viper).GetStringMap(0x0, 0xa9e1be, 0x6, 0xc000078f60)
	/go/pkg/mod/github.com/spf13/[email protected]/viper.go:956 +0x3f
github.com/lightglitch/seekerr/importer.(*Importer).getListsConfigurations(0xc0002340b0, 0xc00000e768)
	/go/src/github.com/lightglitch/seekerr/importer/importer.go:93 +0x99
github.com/lightglitch/seekerr/importer.(*Importer).ProcessLists(0xc0002340b0)
	/go/src/github.com/lightglitch/seekerr/importer/importer.go:258 +0x45
github.com/lightglitch/seekerr/cmd.glob..func4(0xf41120, 0x1110c78, 0x0, 0x0)
	/go/src/github.com/lightglitch/seekerr/cmd/import.go:90 +0x505
github.com/lightglitch/seekerr/cmd.glob..func2.1()
	/go/src/github.com/lightglitch/seekerr/cmd/cron.go:55 +0x56
github.com/robfig/cron/v3.FuncJob.Run(0xc0001d64b0)
	/go/pkg/mod/github.com/robfig/cron/[email protected]/cron.go:136 +0x25
github.com/robfig/cron/v3.(*Cron).startJob.func1(0xc0001b2dc0, 0xb87cc0, 0xc0001d64b0)
	/go/pkg/mod/github.com/robfig/cron/[email protected]/cron.go:312 +0x65
created by github.com/robfig/cron/v3.(*Cron).startJob
	/go/pkg/mod/github.com/robfig/cron/[email protected]/cron.go:310 +0x73
2:00AM INF start
2:00AM INF schedule 0=now 1=2021-08-18T02:00:03.563925517Z 2=entry 3=1 4=next 5=2021-08-18T04:00:00Z

Error when running container

I just pulled the image with portainer and when trying to run the container I get the following error
standard_init_linux.go:207: exec user process caused "exec format error"
I have just connected an empty volume, and provided PGID, PUID and TZ as env variables.
Any idea?

Help understanding filters

Hi
I have been trying to play around with Seekerr settings.

  1. If I remove - 'CountRatings < 2 || Runtime < 20 || ImdbVotes < 1000 || Year > Now().Year()', I get many more movie matches for radarr. However this error ERR Adding movie to radarr error="'Quality Profile Id' must be greater than '0'. QualityProfile does not exist " Component=Importer shows up in the log. Is that filter a must?

  2. What all parameters does quality under radarr accept? Can I use 1080p?
    Thank you

Tag Support

I use tags a lot so really hope you would support tags in case sonarr support is added. rn I use mediarr for sonarr but it does not support tags so really hope you support it.

Also is this supported in exclude?

'"animation" in Genres || "anime" in Genres'

Sample Config File is Not Created

Problem: Pulled Docker ARMv7 image and during initial container first boot the sample config file is not copied over to the respective location. Verified there is no file in /config

panic: Config File "seekerr" Not Found in "[/config]"

goroutine 1 [running]:

github.com/lightglitch/seekerr/cmd.initConfig()

	/go/src/github.com/lightglitch/seekerr/cmd/root.go:92 +0x350

github.com/lightglitch/seekerr/cmd.glob..func1(0x9cbd40, 0xab763c, 0x0, 0x0)

	/go/src/github.com/lightglitch/seekerr/cmd/cron.go:40 +0x14

github.com/spf13/cobra.(*Command).execute(0x9cbd40, 0xab763c, 0x0, 0x0, 0x9cbd40, 0xab763c)

	/go/pkg/mod/github.com/spf13/[email protected]/command.go:849 +0x3a4

github.com/spf13/cobra.(*Command).ExecuteC(0x9cbe88, 0x0, 0x1, 0x1)

	/go/pkg/mod/github.com/spf13/[email protected]/command.go:974 +0x280

github.com/spf13/cobra.(*Command).Execute(...)

	/go/pkg/mod/github.com/spf13/[email protected]/command.go:902

github.com/lightglitch/seekerr/cmd.Execute()

	/go/src/github.com/lightglitch/seekerr/cmd/root.go:50 +0x20

main.main()

	/go/src/github.com/lightglitch/seekerr/main.go:27 +0x14

Testing and Troubleshooting: I manually created seeker.yaml file and copied contents of seekerr.sample.yaml into it and it started successfully.

2:37AM INF start
2:37AM INF schedule 0=now 1=2022-02-12T21:37:21.680945865-05:00 2=entry 3=1 4=next 5=2022-02-12T22:00:00-05:00

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.