Giter VIP home page Giter VIP logo

Comments (17)

causefx avatar causefx commented on June 23, 2024

can you try going to these 2 URLs in your browser:

api/v2/homepage/sonarr/calendar
api/v2/homepage/radarr/calendar

from organizr.

Bencici avatar Bencici commented on June 23, 2024

can you try going to these 2 URLs in your browser:

api/v2/homepage/sonarr/calendar api/v2/homepage/radarr/calendar

Radarr show a JSON output, so it looks like it works. For Sonarr I have the same error :

Type: ValueError
Code: 0
Message: Path cannot be empty
File: C:\nginx\www\organizr\html\api\functions\organizr-functions.php
Line: 568
Trace

#0 C:\nginx\www\organizr\html\api\functions\organizr-functions.php(568): copy('', 'C:\\nginx\\www\\or...', Resource id #476)
#1 C:\nginx\www\organizr\html\api\homepage\sonarr.php(293): Organizr->cacheImage(NULL, 391020)
#2 C:\nginx\www\organizr\html\api\homepage\sonarr.php(224): Organizr->formatSonarrCalendar(Array, 0)
#3 C:\nginx\www\organizr\html\api\v2\routes\homepage.php(141): Organizr->getSonarrCalendar()
#4 C:\nginx\www\organizr\html\api\vendor\slim\slim\Slim\Handlers\Strategies\RequestResponse.php(43): {closure}(Object(Slim\Psr7\Request), Object(Slim\Psr7\Response), Array)
#5 C:\nginx\www\organizr\html\api\vendor\slim\slim\Slim\Routing\Route.php(384): Slim\Handlers\Strategies\RequestResponse->__invoke(Object(Closure), Object(Slim\Psr7\Request), Object(Slim\Psr7\Response), Array)
#6 C:\nginx\www\organizr\html\api\vendor\slim\slim\Slim\MiddlewareDispatcher.php(81): Slim\Routing\Route->handle(Object(Slim\Psr7\Request))
#7 C:\nginx\www\organizr\html\api\vendor\slim\slim\Slim\MiddlewareDispatcher.php(81): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request))
#8 C:\nginx\www\organizr\html\api\vendor\slim\slim\Slim\Routing\Route.php(341): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request))
#9 C:\nginx\www\organizr\html\api\vendor\slim\slim\Slim\Routing\RouteRunner.php(84): Slim\Routing\Route->run(Object(Slim\Psr7\Request))
#10 C:\nginx\www\organizr\html\api\vendor\slim\slim\Slim\Middleware\RoutingMiddleware.php(59): Slim\Routing\RouteRunner->handle(Object(Slim\Psr7\Request))
#11 C:\nginx\www\organizr\html\api\vendor\slim\slim\Slim\MiddlewareDispatcher.php(147): Slim\Middleware\RoutingMiddleware->process(Object(Slim\Psr7\Request), Object(Slim\Routing\RouteRunner))
#12 C:\nginx\www\organizr\html\api\vendor\slim\slim\Slim\Middleware\ErrorMiddleware.php(107): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request))
#13 C:\nginx\www\organizr\html\api\vendor\slim\slim\Slim\MiddlewareDispatcher.php(147): Slim\Middleware\ErrorMiddleware->process(Object(Slim\Psr7\Request), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#14 C:\nginx\www\organizr\html\api\v2\index.php(92): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request))
#15 C:\nginx\www\organizr\html\api\vendor\slim\slim\Slim\MiddlewareDispatcher.php(313): {closure}(Object(Slim\Psr7\Request), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#16 C:\nginx\www\organizr\html\api\vendor\slim\slim\Slim\MiddlewareDispatcher.php(81): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request))
#17 C:\nginx\www\organizr\html\api\vendor\slim\slim\Slim\App.php(215): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request))
#18 C:\nginx\www\organizr\html\api\vendor\slim\slim\Slim\App.php(199): Slim\App->handle(Object(Slim\Psr7\Request))
#19 C:\nginx\www\organizr\html\api\v2\index.php(151): Slim\App->run()
#20 {main}

from organizr.

causefx avatar causefx commented on June 23, 2024

It seems Sonarr doesn't have or has a wrong url for an image...

What version of Sonarr?

			foreach ($child['series']['images'] as $image) {
				if ($image['coverType'] == "fanart") {
					$fanart = $image['url'];
				}
			}

Can you get me the output from your sonarr calendar url?
http://localhost:8989/api/v3/calendar

from organizr.

Bencici avatar Bencici commented on June 23, 2024

It seems Sonarr doesn't have or has a wrong url for an image...

What version of Sonarr?

Sonarr v4.0.0.552

Can you get me the output from your sonarr calendar url? http://localhost:8989/api/v3/calendar

[
  {
    "seriesId": 57,
    "tvdbId": 9686416,
    "episodeFileId": 0,
    "seasonNumber": 1,
    "episodeNumber": 10,
    "title": "When Will Met Sylvia",
    "airDate": "2023-07-12",
    "airDateUtc": "2023-07-12T04:00:00Z",
    "runtime": 30,
    "overview": "Tensions flare between Sylvia and Will at a housewarming party.",
    "hasFile": false,
    "monitored": true,
    "unverifiedSceneNumbering": false,
    "grabbed": false,
    "id": 3984
  }

from organizr.

causefx avatar causefx commented on June 23, 2024

are you on orgainzr dev or master?

from organizr.

causefx avatar causefx commented on June 23, 2024

http://localhost:8989/api/v3/calendar

can you add &includeSeries=true to the end of the url?

from organizr.

Bencici avatar Bencici commented on June 23, 2024

are you on orgainzr dev or master?

I was on master and I switched to dev, same issue.

can you add &includeSeries=true to the end of the url?

[
  {
    "seriesId": 57,
    "tvdbId": 9686416,
    "episodeFileId": 0,
    "seasonNumber": 1,
    "episodeNumber": 10,
    "title": "When Will Met Sylvia",
    "airDate": "2023-07-12",
    "airDateUtc": "2023-07-12T04:00:00Z",
    "runtime": 30,
    "overview": "Tensions flare between Sylvia and Will at a housewarming party.",
    "hasFile": false,
    "monitored": true,
    "unverifiedSceneNumbering": false,
    "series": {
      "title": "Platonic (2023)",
      "sortTitle": "platonic 2023",
      "status": "continuing",
      "ended": false,
      "overview": "A platonic pair of former best friends approaching midlife reconnect after a long rift. The duo’s friendship becomes more consuming—and destabilizes their lives in a hilarious way.",
      "network": "Apple TV+",
      "airTime": "00:00",
      "images": [
        {
          "coverType": "banner",
          "remoteUrl": "https://artworks.thetvdb.com/banners/v4/series/391020/banners/641e387680f1f.jpg"
        },
        {
          "coverType": "poster",
          "remoteUrl": "https://artworks.thetvdb.com/banners/v4/series/391020/posters/644a5ab2f1e46.jpg"
        },
        {
          "coverType": "fanart",
          "remoteUrl": "https://artworks.thetvdb.com/banners/v4/series/391020/backgrounds/642dbb7ebedf0.jpg"
        }
      ],
      "originalLanguage": {
        "id": 1,
        "name": "English"
      },
      "seasons": [
        {
          "seasonNumber": 1,
          "monitored": true
        }
      ],
      "year": 2023,
      "path": "D:\\Vidéos\\SERIES\\Platonic",
      "qualityProfileId": 8,
      "seasonFolder": true,
      "monitored": true,
      "useSceneNumbering": false,
      "runtime": 30,
      "tvdbId": 391020,
      "tvRageId": 0,
      "tvMazeId": 51550,
      "firstAired": "2023-05-24T00:00:00Z",
      "seriesType": "standard",
      "cleanTitle": "platonic2023",
      "imdbId": "tt13366604",
      "titleSlug": "platonic-2023",
      "certification": "TV-MA",
      "genres": [
        "Comedy"
      ],
      "tags": [],
      "added": "2023-05-23T20:12:47Z",
      "ratings": {
        "votes": 0,
        "value": 0
      },
      "languageProfileId": 1,
      "id": 57
    },
    "grabbed": false,
    "id": 3984
  }
]

from organizr.

causefx avatar causefx commented on June 23, 2024

installed via docker? if so - i can add a quick check for you to test - if not i can have you edit a file to test

from organizr.

Bencici avatar Bencici commented on June 23, 2024

installed via docker? if so - i can add a quick check for you to test - if not i can have you edit a file to test

Nope, native install.

from organizr.

github-actions avatar github-actions commented on June 23, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

from organizr.

Healzangels avatar Healzangels commented on June 23, 2024

Greetings!
I believe I am seeing the same thing on my setup.
Calendar elements for Radarr load fine but Sonarr no images.
I'm running Sonarr within Docker v4 4.0.0.645
Organizr within Docker 2.1.2430

from organizr.

github-actions avatar github-actions commented on June 23, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

from organizr.

petercockroach avatar petercockroach commented on June 23, 2024

Confirmed that adding &includeSeries=true worked for Sonarr for me. Do I need a different key for Radarr? I'm using Docker FWIW.

Edit: Actually that same key works for Radarr too.

from organizr.

github-actions avatar github-actions commented on June 23, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

from organizr.

keliansb avatar keliansb commented on June 23, 2024

Just hitting the same issue for a few days now
I updated both Organizr (latest on v2-master) and Sonarr (develop) Docker images so I don't know which update is causing this

from organizr.

keliansb avatar keliansb commented on June 23, 2024

Update : this issue has been fixed for me after upgrading Organizr to version 2.1.2460

from organizr.

Bencici avatar Bencici commented on June 23, 2024

Resolved by 2.1.2460, thanks @causefx !

from organizr.

Related Issues (20)

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.