Giter VIP home page Giter VIP logo

mixcloud-tracklist's People

Contributors

adlawson avatar anewuser avatar mactkg avatar piroxym 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mixcloud-tracklist's Issues

Reduce filesize

The Tampermonkey userscript is ~1.9MB of javascript. That is mental. Most of it is Dust and its dependencies, so maybe research other more lightweight templating libraries or figure out a way to include only the rendering portion of Dust.

Code cleanup/refactor

This code is awful. It's a big old mish mash of callbacks and promises, latest and old syntax.

Drop support for the old website (legacy)

The old website has now been dropped by Mixcloud and the Beta is now final. Shortly after the change it seems they may have been cleaning some old things away and the tracklist being displayed is the legacy one.

image

Rather than fix the legacy/new predicate it might be worth just dropping legacy support altogether.

Tracklist not shown in Chrome

I used this mix: https://www.mixcloud.com/Todomundo/working-women-present-crown-shyness/

In Firefox 54.0.1 with mixcloud-tracklist 4.2.0 the tracklist is shown.

In Chrome 60.0.3112.90 with mixcloud-tracklist 4.2.0 the tracklist is not shown. I went to Developer Tools, and the data.cloudcast.sections variable on line 63821 of mixcloud-tracklist.js is an empty array. I attached a copy of the response and data variables to this issue.

Do you have an idea on how to fix this? Thanks a lot, I really enjoy using your extension.

variables.zip

Firefox plugin

Should be easy enough to make a Firefox plugin from the core.

Resubmit Firefox extension

The very helpful </sarcasm> team at MDN have removed the extension from their addons library after review.

Your add-on, Mixcloud Tracklist 1.1.0, has been reviewed by an editor and did not meet the criteria for being hosted in our gallery.

Reviewer:
erosman

Comments:
Your version was rejected because of the following problems:

  1. Where are these files?
    var constants = require('../src/constants');
    var fetch = require('../src/fetch');
    var render = require('../src/template');
    var decorator = require('../src/decorator');
    {"../src/constants":3,"../src/decorator":4,"../src/fetch":5,"../src/template":6}]
    var mustache = require('mustache');

... etc

  1. Is content.js used?

  2. If addon includes minified code, we also need access to clear text sources. You can include the official source links for the minified libraries for each new version, in 'Notes for Reviewers'. Please note that third party CDNs are not considered official sources for this purpose. Established libraries do not require inclusion of their sources.

data/ext-mixcloud.js

Please fix them and submit again. Thank you.

API changes break tracklist functionality

Calls to player/details?key=blah are now responding with a 301 redirect to player/details/?key=blah (with trailing slash after details) and the extension is not following it.

This was spotted while debugging #31.

Extension appears to be corrupted on Firefox

The add-on downloaded from this site could not be installed because it appears to be corrupted.

screenshot_20160701-1

Trying to install it from Github gives the same error.

Firefox 47.0
Ubuntu 16.04

I get this issue when trying to load the tracklist...

Hi Guys,

I stumbled across your code and thought "Amazing", just what I needed to be a true trainspotter!

I'm no coder, but an IT Director. When I install the extension, nothing happens. When I click on the extension icon it takes me to GitHub.

When I look at Chrome code I spot the following...

Uncaught TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node'.
at Object.onChange (chrome-extension://lkoingeajallinlnijfpmmddoeoficef/build/mixcloud-tracklist.js:39)
at Object.9../browser (chrome-extension://lkoingeajallinlnijfpmmddoeoficef/build/mixcloud-tracklist.js:2462)
at s (chrome-extension://lkoingeajallinlnijfpmmddoeoficef/build/mixcloud-tracklist.js:1)
at e (chrome-extension://lkoingeajallinlnijfpmmddoeoficef/build/mixcloud-tracklist.js:1)
at chrome-extension://lkoingeajallinlnijfpmmddoeoficef/build/mixcloud-tracklist.js:1
VM37:1 The SSL certificate used to load resources from https://bam.nr-data.net will be distrusted in M70. Once distrusted, users will be prevented from loading these resources. See https://g.co/chrome/symantecpkicerts for more information.

Is it me, Chrome or MixCloud???

Track start times

Thanks for the great extension!
Can you also add track start times to the playlist generated by the extension?

Support the new site (currently in Beta)

Mixcloud have redesigned their site, and with it has come a whole new DOM.
This extension needs to support the new site with potential BC for the current/old site.

Broken tracklist on the new website

Without pressing the "Show Tracklist" button the tracklist now always appears unformatted. Seems Mixcloud removed their old styles this extension relied on. Bummer.

image

Thanks to @perryharlock for reporting.

Large margin above tracklist

The tracklist on Mixcloud's new (Beta) website is displayed with a large margin above it (see white space in the first image below). This seems to be due to the clear:both I've applied to it.

image 1

The problem is that without the clear:both the tracklist is restricted to the main content side of the page which looks even worse.

image 2

Applying rubbish workarounds like margin-top:-20px etc doesn't seem to help.

Tracklist always shown

The .hidden class has been removed from Mixcloud Beta. This class was used to hide the tracklist so now it always appears. We need a new way to do this.

Retrieve the data

First of all thanks for that useful plugin!

I am wondering if it is possible to retrieve the data for example as a json file?

Thanks for your help.

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.