Skip to content

Commit

Permalink
Merge pull request #9 from adlawson/web-extensions
Browse files Browse the repository at this point in the history
WebExtensions
  • Loading branch information
adlawson committed Dec 14, 2015
2 parents 70846e9 + 027012b commit 9776d49
Show file tree
Hide file tree
Showing 23 changed files with 591 additions and 406 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
.DS_STORE
*.crx
*.xpi
ext-mixcloud.*
dist/
node_modules/
*.zip
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FILES:=images/* templates/* playerbar.js tracklist.js manifest.json

.PHONY: xpi
xpi: mixcloud-tracklist.xpi

.PHONY: zip
zip: mixcloud-tracklist.zip

mixcloud-tracklist.xpi:
zip mixcloud-tracklist.xpi $(FILES)

mixcloud-tracklist.zip:
zip mixcloud-tracklist.zip $(FILES)
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
# Mixcloud Tracklist browser extension

This is an *unofficial* Chrome and Firefox extension for Mixcloud. It displays
the tracklist the same way it did before they changed their licensing. For many
of us, the tracklist was one of the best features of Mixcloud, and I feel lost
without it.
This is an *unofficial* Mixcloud browser extension. It displays the tracklist
the same way it did before they changed their [licensing][mc-support].

## Install
- [Chrome extensions web store](https://chrome.google.com/webstore/detail/mixcloud-tracklist/lkoingeajallinlnijfpmmddoeoficef)
- [Firefox Add-ons](https://addons.mozilla.org/en-US/firefox/addon/mixcloud-tracklist/)

![Screenshot](screenshot.png)

See http://support.mixcloud.com/customer/portal/articles/1595557 for the
official reason behind the recent change.
> As a non-interactive streaming service, our licenses don't allow for
> tracklists to be made visible in advance. However as you listen through a
> show or DJ mix set, the track names will be revealed.
>
> Last Updated: Jul 28, 2015 05:20PM IST
Thanks to [Perry Harlock](https://github.com/perryharlock) for helping me figure
out the HTML template structure.
The extension has been built with [Mozilla's WebExtensions API][moz-webext] so
it should be compatible with Mozilla Firefox, Google Chrome, and any other
browser that supports the WebExtension APIs.

## Help Wanted!
This extension currently supports Google Chrome (tested on 44.0.2403.125
(64-bit)) and Firefox (tested on 39.0 (64-bit)) but should be able to support
other browsers with a bit of work.
## Install
- [Chrome Web Store][chrome-install]
- [Firefox Add-ons][firefox-install]

![Screenshot](screenshot.png)

## Thanks
- [Perry Harlock](https://github.com/perryharlock) for helping me with the the HTML template.

## License
The content of this library is released under the **MIT License** by
**Andrew Lawson**.<br/> You can find a copy of this license in
[`LICENSE`](LICENSE) or at http://opensource.org/licenses/mit.

[chrome-install]: https://chrome.google.com/webstore/detail/mixcloud-tracklist/lkoingeajallinlnijfpmmddoeoficef
[firefox-install]: https://addons.mozilla.org/en-US/firefox/addon/mixcloud-tracklist
[mc-support]: http://support.mixcloud.com/customer/portal/articles/1595557
[moz-webext]: https://wiki.mozilla.org/WebExtensions
Binary file removed chrome/img/icon-128.png
Binary file not shown.
Binary file removed chrome/img/icon-16.png
Binary file not shown.
Binary file removed chrome/img/icon-48.png
Binary file not shown.
86 changes: 0 additions & 86 deletions chrome/index.js

This file was deleted.

22 changes: 0 additions & 22 deletions chrome/manifest.json

This file was deleted.

87 changes: 0 additions & 87 deletions firefox/content.js

This file was deleted.

6 changes: 0 additions & 6 deletions firefox/index.js

This file was deleted.

12 changes: 0 additions & 12 deletions firefox/package.json

This file was deleted.

Binary file added images/mixcloud-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/mixcloud-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/mixcloud-48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "Mixcloud Tracklist",
"version": "2.0.0",
"manifest_version": 2,
"description": "Display the tracklist on Mixcloud Cloudcasts",
"homepage_url": "https://github.com/adlawson/mixcloud-tracklist",
"icons": {
"16": "images/mixcloud-16.png",
"48": "images/mixcloud-48.png",
"128": "images/mixcloud-128.png"
},
"applications": {
"gecko": {
"id": "com.adlawson.mixcloud-tracklist",
"strict_min_version": "45.0.0"
}
},
"content_scripts": [
{
"matches": ["*://*.mixcloud.com/*"],
"run_at": "document_start",
"js": ["playerbar.js"]
},
{
"matches": ["*://*.mixcloud.com/*"],
"run_at": "document_idle",
"js": ["tracklist.js"]
}
],
"web_accessible_resources": [
"templates/tracklist.html"
]
}
29 changes: 0 additions & 29 deletions package.json

This file was deleted.

Loading

0 comments on commit 9776d49

Please sign in to comment.