Giter VIP home page Giter VIP logo

Comments (5)

mtimkovich avatar mtimkovich commented on July 25, 2024

Thanks for the stack trace, I'll look into it.

from plex2letterboxd.

mtimkovich avatar mtimkovich commented on July 25, 2024

I'm going to update this to work with the latest API, but as a temporary workaround, you can change:

install_requires=['plexapi'],

to:

install_requires=['plexapi==4.2.0']

to use the compatible API version. I haven't tested this, though, so I'm working under the assumption nothing's changed on Plex's end.

from plex2letterboxd.

josephmoyer avatar josephmoyer commented on July 25, 2024

Still bad. I already had plexapi at 4.2.0.

Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/joe/plex2letterboxd/plex2letterboxd/__main__.py", line 4, in <module>
    plex2letterboxd.main()
  File "/home/joe/plex2letterboxd/plex2letterboxd/plex2letterboxd.py", line 61, in main
    write_csv(sections, args.output)
  File "/home/joe/plex2letterboxd/plex2letterboxd/plex2letterboxd.py", line 44, in write_csv
    for movie in section.search(sort='lastViewedAt', unwatched=False):
  File "/home/joe/.local/lib/python3.8/site-packages/plexapi/library.py", line 669, in search
    args[category] = self._cleanSearchFilter(category, value, libtype)
  File "/home/joe/.local/lib/python3.8/site-packages/plexapi/library.py", line 717, in _cleanSearchFilter
    raise BadRequest('Unknown filter category: %s' % category)
plexapi.exceptions.BadRequest: Unknown filter category: unwatched

from plex2letterboxd.

josephmoyer avatar josephmoyer commented on July 25, 2024

I think I got it to work.

Found this issue over in the plexapi repo, apparently, new server changes broke a lot of stuff. Upgraded my plexapi install to 5.2.0, and plex2letterboxd worked.

from plex2letterboxd.

mtimkovich avatar mtimkovich commented on July 25, 2024

thanks for fixing the problem for me! ❤️

from plex2letterboxd.

Related Issues (11)

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.