Giter Club home page Giter Club logo

Comments (14)

Hellowlol avatar Hellowlol commented on May 5, 2024

I cant recreate your issue. Was this only with almost human or with other shows as well?

from python-plexapi.

amazingr4b avatar amazingr4b commented on May 5, 2024

I get it for every show. For comparison, here's an example using a title that is in both the movies and shows libraries:

tshow = "The X-Files"

The Code:

for video in plex.search(tshow):
print (video.type)
print (video.title)
print (video.summary)
print (video.roles)
print (video.genres)
print ("\n--------------------\n")

Output:

movie
The X-Files I Want to Believe
Six years after the events of The X-Files series finale, former FBI agent Doctor Dana Scully is now a staff physician at Our Lady of Sorrows, a Catholic hospital, and treating a boy named Christian who has Sandhoff disease, a terminal brain condition. FBI agent Drummy arrives to ask Scullyâs help in locating Fox Mulder, the fugitive former head of the X-Files division, and says they will call off its manhunt for him if he will help investigate the disappearances of several women, including young FBI agent Monica Banan. Mulder and Scully are called back to duty by the FBI when a former priest claims to be receiving psychic visions pertaining to a kidnapped agent.
[Role:12856:David.Duchovny, Role:12857:Gillian.Anderson, Role:6535:Amanda.Peet, Role:1260:Billy.Connolly, Role:6426:Xzibit, Role:12858:Mitch.Pileggi, Role:3226:Callum.Keith.Rennie, Role:2634:Adam.Godley, Role:12859:Alex.Diakun, Role:9899:Nicki.Aycox, Role:12860:Fagin.Woodcock, Role:12861:Marco.Niccoli, Role:12862:Carrie.Ruscheinsky, Role:12863:Spencer.Maybee, Role:12864:Veronika.Hadrava, Role:12865:Denis.Krasnogolov, Role:12866:Patrick.Keating, Role:12867:Roger.Horchow, Role:12868:Stephen.E..Miller, Role:12869:Xantha.Radley, Role:12870:Lorena.Gale, Role:12871:Donavon.Stinson, Role:12872:Dion.Johnstone, Role:12873:Sarah-Jane.Redmond, Role:12874:Christina.D'Alimonte, Role:12875:Vanesa.Tomasino, Role:12876:Luvia.Petersen, Role:12877:Babs.Chula, Role:12878:Marci.T..House, Role:12879:Joseph.Patrick.Finn, Role:12880:Beth.Siegler, Role:12881:Stacee.Copeland, Role:12882:Tom.Charron, Role:12883:Brent.O'Connor, Role:12884:Dave.Cote, Role:12885:Chris.Carter, Role:12886:Paul.Mitton, Role:12887:Vanessa.Morley, Role:12888:Michael.Stevens]
[Genre:9:Drama, Genre:30:Mystery, Genre:202:Science.Fiction, Genre:10:Thriller]


show
The X-Files
The X-Files focused on the exploits of FBI Agents Fox Mulder, Dana Scully, John Doggett and Monica Reyes and their investigations into the paranormal. From genetic mutants and killer insects to a global conspiracy concerning the colonization of Earth by an alien species, this mind-boggling, humorous and occasionally frightening series created by Chris Carter has been one of the world's most popular sci-fi/drama shows since its humble beginnings in 1993.
NA
NA


episode
The X-Files Pilot
Special Agent Dana Scully is partnered with Special Agent Fox Mulder to validate his work on a special project called the X-Files. While he is a believer in the paranormal fueled by a lost memory of his sister's abduction, she is a scientist and prefers to look for rational, logical explanations. Their first case takes them to Oregon to investigate the unsolved murders of several High School classmates who "Spooky" Mulder believes have been experimented on by aliens.
NA
NA


from python-plexapi.

Hellowlol avatar Hellowlol commented on May 5, 2024

I just tried the master branch and it works there. Can you try master?

from python-plexapi.

amazingr4b avatar amazingr4b commented on May 5, 2024

I'm using plexapi-2.0.2 from pip. Is that not the same version?

from python-plexapi.

pkkid avatar pkkid commented on May 5, 2024

It's not. You'll want to download and try the version directly from github if you're up for the task.

from python-plexapi.

amazingr4b avatar amazingr4b commented on May 5, 2024

I changed to that version and the output is the same. What code are you using that is giving you the results? I've tried both searching using plex.search(show) and getting the show with shows.get(show), and they both give me the same NA results I previously posted above.

from python-plexapi.

Hellowlol avatar Hellowlol commented on May 5, 2024

I used the same code as you did. I just used the master branch. Thats all.

from python-plexapi.

Hadjimina avatar Hadjimina commented on May 5, 2024

Got the same problem. Tried installing it with pip install git+https://github.com/mjs7231/python-plexapi.git and get the NA object is not callable error when trying to get the stream url. (That should have installed the master branch, right ?)
Any ideas ?

Edit: Just saw that I'm not running the newest version of plex on my server. Can't update it currently but that could be the problem.

Edit : Tried it with a completely new install of plex (newest version). Still no luck

from python-plexapi.

Hellowlol avatar Hellowlol commented on May 5, 2024

@Hadjimina can you post the code you try to execute?

from python-plexapi.

Hadjimina avatar Hadjimina commented on May 5, 2024

Its simply example 8 with a different movie :
star_wars = plex.library.section('Movies').get('Star Wars: The Force Awakens') print 'Run running the following command to play in VLC:' print 'vlc "%s"' % star_wars.getStreamUrl(videoResolution='800x600')

The problem occurs with .getStreamUrl

from python-plexapi.

Hellowlol avatar Hellowlol commented on May 5, 2024

Can you post the log, it shouldnt pass na at all. na is used for missing attributes. Is na part of the URL or is it just na it returns?

from python-plexapi.

Hadjimina avatar Hadjimina commented on May 5, 2024

Where exactly would I find that log ?

from python-plexapi.

Hellowlol avatar Hellowlol commented on May 5, 2024

You need to set a logging path inside the config file. It should be in a .config folder in your home folder.

from python-plexapi.

pkkid avatar pkkid commented on May 5, 2024

Im going to close this one as we can't reproduce it, the whole NA thing is gone on 3.0.0 so the bug will be out of date, and there is not much we can do without the logging. Please reopen if you feel this issue still exists in some form on 3.0.0.

from python-plexapi.

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.