Code Monkey home page Code Monkey logo

audioaddict.bundle's Introduction

Bonjour ๐Ÿ‘‹

Hi there! I'm Dan (phrawzty on all the things). I have previously done computer stuff at Scaleway, Datadog, Mozilla, and Ubisoft. I'm also a Global Core member of the devopsdays conference series. My pronouns are he / him. Ask me about time zones or French wine! ๐Ÿ˜€

audioaddict.bundle's People

Contributors

danfocus avatar devgrok avatar phrawzty avatar sander1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

audioaddict.bundle's Issues

AAC stream support

I haven't been able to get the AAC streams to play, which is irritating; it'd be nice to have support for those streams. I've got a branch going with the rudiments for AAC - the streams won't play, though. ๐Ÿ˜ฆ

Would love any help on this one, heh.

Viewing xml of channel gives

As per this post by another user:

2015-01-10 13:33:22,159 (-4e8d0490) :  DEBUG (runtime:717) - Handling request GET /music/audioaddict/channel?title=Mozart&url=http%3A%2F%2Fprem2.radiotunes.com%3A80%2Fmozart_hi%***snipp***&fmt=mp3&include_container=True&summary=Relax+to+the+wonderful+works+of+classical+composer+Wolfgang+Amadeus+Mozart+%281756-1791%29.&bitrate=320
2015-01-10 13:33:22,161 (-4e8d0490) :  DEBUG (runtime:814) - Found route matching /music/audioaddict/channel
2015-01-10 13:33:22,161 (-4e8d0490) :  CRITICAL (runtime:883) - Exception (most recent call last):
  File "/mnt/storage1/Plex/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request
    result = f(**d)
TypeError: CreateChannelObject() takes at least 6 arguments (6 given)

Title and Artist info gets lost

Hi,
thank you very much for this plugin. I'm using this to access di.fm on my BOSE SoundTouch (which has no official support for di.fm see https://www.soundtouch.com/CommunityDetail?_escaped_fragment_/feedtype=SINGLE_QUESTION_DETAIL&dc=SoundTouch&criteria=ALLQUESTIONS&id=90633000000GtfdAAC).
When I listen directly on the browser at di.fm then there is the title and the artist information available. Somehow this gets lost, when I'm using the plugin. Is there any way to fix this?

Regards,
Guido

RadioTunes not working

Put my listen key in from radiotunes.com/settings -> Hardware -> Listen Key

Every channel I've tried times out and errors out to a "network error".

Need to figure out where the logs are (I enabeld debug logs in the plugin) but not sure where they get stored.

stop maintaining two stream info lists

Currently a relatively complete list of streams and meta-data is maintained in audioaddict.py, and a subset of this data is maintained in DefaultPrefs.json. It would be nice if these could be merged somehow - perhaps the library could read it from the preferences, for example.

Streams can't be mounted

It appears that right now, when setting up the channel for premium, PHT and the web app will report that they could not find the codec for the stream. In PHT, it is reported as "unable to find/can't be mounted". In the web app, the stream will play as far as the player is concerned, but nothing happens.

Public streams (the ones that loop that it shouldn't work any more without official apps) run fine so this is not a codec issue it seems.

Oddly enough, premium works when I load the channel from an iOS device (setup on the same PMS).

Am I missing something?

channel info no longer contains description field

It would appear that AudioAddict has decided to remove the description field from the channel info returned by their API (irritating). This causes a critical error when attempting to display the channel list.

The quick solution is simply to replace this field with dummy text. A better solution would be to add error handling that determines whether a given desired field has been returned or not.

channel art not displaying

Channel art for Sky.fm (at least) is no longer visible. Given that these images are obtained by scraping the website, it is likely that the website has been altered and that the data is no longer available in the expected format.

There are two possibilities for a fix:

  1. Examine the page and update the janky scraper.
  2. Use the bulk API as it apparently contains channel art info (see @tmaher's fork for this and other potential improvements).

add channel art for jazz and rock

The channel art image scraper (currently in branch devel) only operates against Sky and DI since both of the services embed a JSON blob with the channel info (including the channel art) in their home pages. Neither of the Jazz or Rock services do this - they just format it all as HTML. The JSON blob is easy enough to scrape but the HTML will require actual parsing.

fails loading channel list on Samsung TV

The plugin loads as expected, but it errors out while building the channel list for a given service - it looks like it might be timing out or something.

This appears to only affect the TV client, which is to say that the Web interface and the Android client load the channel list as expected.

HTTP 500 response from GET http://127.0.0.1:44585/music/audioaddict/service?serv=di

DI.fm stopped working today ("This channel is not responding.").
When requesting /music/audioaddict/service?serv=di this is the response:

<Response code="2000" status="ValueError: No JSON object could be decoded">
<Traceback>
Traceback (most recent call last): File "/usr/lib/plexmediaserver/Resources/Plug-ins-25d94bad9/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request result = f(**d) File "/config/Library/Application Support/Plex Media Server/Plug-ins/AudioAddict.bundle/Contents/Code/__init__.py", line 72, in GetChannels for channel in AA.get_batchinfo(refresh=True): File "/config/Library/Application Support/Plex Media Server/Plug-ins/AudioAddict.bundle/Contents/Code/audioaddict.py", line 300, in get_batchinfo batch = json.loads(data) File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/json/__init__.py", line 339, in loads return _default_decoder.decode(s) File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/json/decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/json/decoder.py", line 382, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded
</Traceback>
</Response>

Not working on 1.8.2.1192-89432618

I can install plugin manually, set preferences, but it isn't showing anywhere at all. I've set up DI.FM listen key in settings.

Anything I can do for getting this plugin working or I should just forget about it (taking in account Channels and other things deprecation in last year)?

Not Working

the extension isn't working at all.
i tried with a free and a premium account.
the di.fm site states that you need a working premium account to stream with external players, and i do have one.

add bookmarks (aka "favourites")

It would be nice to be able to use the bookmark (aka "favourites") feature. For now, they should be accessible from the service menu as a read-only list (like the other services); adding and removing them may come later.

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.