Git Product home page Git Product logo

rtp-plex-plugin's Introduction

A simple plugin for Plex Media Center to allow access to the videos available at the RTP website

rtp-plex-plugin's People

Contributors

lamelas avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

pmrosado

rtp-plex-plugin's Issues

Error opening stream

Thanks for the plugin! I'm trying to get it running.

First I had to install python yaml in the plex bundle and after that I could see the plugin being loaded.
Now I'm facing another issue with playing a stream.

This is the log output:

11:35:49.232517: com.plexapp.plugins.rtp                 :   (Framework) Handling request :  /video/rtp/:/function/ListEpisodes
11:35:49.232794: com.plexapp.plugins.rtp                 :   ListEpisodes
11:35:49.232888: com.plexapp.plugins.rtp                 :   (Framework) Calling named function 'ListEpisodes'
11:35:49.232941: com.plexapp.plugins.rtp                 :   (RTP) Getting episodes for show (tvprog = 23768)
11:35:50.926419: com.plexapp.plugins.rtp                 :   (Framework) HTTPError when requesting 'http://ww1.rtp.pt/multimedia/progVideo.php?tvprog=23768'
11:35:50.929512: com.plexapp.plugins.rtp                 :   (Framework) An exception happened:
Traceback (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-24ffd60/Framework.bundle/Contents/Resources/Versions/1/Python/PMS/Plugin.py", line 712, in __call
    return function(*args, **kwargs)
  File "/config/Library/Application Support/Plex Media Server/Plug-ins/RTP.bundle/Contents/Code/__init__.py", line 231, in ListEpisodes
    sopa = BeautifulSoup(data)
  File "/config/Library/Application Support/Plex Media Server/Plug-ins/RTP.bundle/Contents/Code/BeautifulSoup.py", line 1517, in __init__
    BeautifulStoneSoup.__init__(self, *args, **kwargs)
  File "/config/Library/Application Support/Plex Media Server/Plug-ins/RTP.bundle/Contents/Code/BeautifulSoup.py", line 1142, in __init__
    self._feed(isHTML=isHTML)
  File "/config/Library/Application Support/Plex Media Server/Plug-ins/RTP.bundle/Contents/Code/BeautifulSoup.py", line 1166, in _feed
    smartQuotesTo=self.smartQuotesTo, isHTML=isHTML)
  File "/config/Library/Application Support/Plex Media Server/Plug-ins/RTP.bundle/Contents/Code/BeautifulSoup.py", line 1768, in __init__
    self._detectEncoding(markup, isHTML)
  File "/config/Library/Application Support/Plex Media Server/Plug-ins/RTP.bundle/Contents/Code/BeautifulSoup.py", line 1913, in _detectEncoding
    '^<\?.*encoding=[\'"](.*?)[\'"].*\?>').match(xml_data)
TypeError: expected string or buffer

Any clue what it might be?

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.