Coder Social home page Coder Social logo

azurairc's People

Contributors

br0kenlink avatar

Stargazers

 avatar

Watchers

 avatar

azurairc's Issues

Error when executing both listeners and nowplaying commands

I've added the API and public page url in config but get an error when executing both commands.

Logs

ERROR 2020-06-06T03:46:24 Uncaught exception in ['listeners'].
Traceback (most recent call last):
  File "/home/pi/.local/lib/python3.7/site-packages/supybot/callbacks.py", line 1341, in _callCommand
    self.callCommand(command, irc, msg, *args, **kwargs)
  File "/home/pi/.local/lib/python3.7/site-packages/supybot/utils/python.py", line 90, in g
    f(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.7/site-packages/supybot/callbacks.py", line 1307, in callCommand
    method(irc, msg, *args, **kwargs)
  File "/home/pi/.local/lib/python3.7/site-packages/supybot/commands.py", line 1106, in newf
    f(self, irc, msg, args, *state.args, **state.kwargs)
  File "/home/pi/arpanet/plugins/AzuraCast/plugin.py", line 107, in listeners
    data = self._fetchURL(url)
  File "/home/pi/arpanet/plugins/AzuraCast/plugin.py", line 33, in _fetchURL
    return requests.get(url, headers=headers).json()
  File "/usr/lib/python3/dist-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 519, in request
    prep = self.prepare_request(req)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 462, in prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "/usr/lib/python3/dist-packages/requests/models.py", line 313, in prepare
    self.prepare_url(url, params)
  File "/usr/lib/python3/dist-packages/requests/models.py", line 387, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'nowplaying': No schema supplied. Perhaps you meant http://nowplaying?
ERROR 2020-06-06T03:46:24 Exception id: 0x69b0c

I'm not sure if this is a port issue as I have my azuracast on non standard ports as it was the only workaround I could find to also host a website on the same VPS.

This post will explain my setup. AzuraCast/AzuraCast#2920

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.