Code Monkey home page Code Monkey logo

freaktechnik / justintv-stream-notifications Goto Github PK

View Code? Open in Web Editor NEW
38.0 8.0 10.0 10.18 MB

This Firefox add-on displays a notification when a channel on Twitch, Youtube, Mixer or many more services goes live. Which channels are checked for being live is fully customizable.

Home Page: https://freaktechnik.github.io/justintv-stream-notifications

License: Other

JavaScript 96.32% CSS 2.12% HTML 1.56%
twitch livestream notifications javascript firefox panel youtube webextension webpack ava

justintv-stream-notifications's People

Contributors

freaktechnik avatar greenkeeper[bot] avatar greenkeeperio-bot avatar maekclena avatar semantic-release-bot 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

justintv-stream-notifications's Issues

Catch empty responses

Currently the justin.tv api sometimes responds with "null". the request should be repeated after a certain amount of time in some cases (favorite fetching).

"No Channel Is Live At The Moment"

Hello, for the past week or two I've been experiencing a weird issue with the plugin. When I first installed and configured the plugin, it worked as expected.

However, now when I click the icon, all it shows is "No Channel is Live at the Moment", regardless if whether anybody is live or not (however the icon itself will change to reflect that).

Using default FF theme and have it set up to check users my username follows.

nochannelislive

Detect embedded streams

Mute the notifications even if the user is watching a stream on a page, which is not necessarily the channel page.

Fix URL detection

URL detection is currently pretty borken. It only works if the users uses the english version of justin.tv/twitch and the API gives back the correct url (twitch and not justin etc.).

The latter might be fixed with a new channel managment UI.

Add real toolbar button

Add a toolbarbutton and add a setting letting the user choose between the two. Default to toolbarbutton.

Fix strange syntay error

since around commit cf340c5 the extension is broken with the following syntax error. Strangely enought nothing has been changed in the code mentioned in the trace.

Timestamp: 02.06.2013 01:26:15
Error: justintv-stream-notifications: An exception occurred.
SyntaxError: missing ; before statement
resource://jid0-z2wajbefd5dtcgsj70eq6uaqql4-at-jetpack/justintv-stream-notifications/lib/justintv.js 27
Traceback (most recent call last):
  File "resource://gre/modules/commonjs/sdk/timers.js", line 31, in notify
    callback.apply(null, args);
  File "resource://gre/modules/commonjs/sdk/lang/functional.js", line 147, in 
    setTimeout(function(context) { return f.apply(context, args); }, ms, this);
  File "resource://gre/modules/commonjs/sdk/passwords.js", line 48, in 
    onComplete(value);
  File "resource://jid0-z2wajbefd5dtcgsj70eq6uaqql4-at-jetpack/justintv-stream-notifications/lib/main.js", line 407, in 
    credentials.forEach(function(credential) {
  File "resource://jid0-z2wajbefd5dtcgsj70eq6uaqql4-at-jetpack/justintv-stream-notifications/lib/main.js", line 409, in 
    data.users[credential.username].requestID = exports.queue("justintv",new Source(Source.TYPE_CREDENTIALS,credential.username,"justintv",{'page':0}),false,require("./justintv").getUserFavorites,processUserFavorties,false,true);
  File "resource://gre/modules/commonjs/sdk/loader/cuddlefish.js", line 133, in 
    result = load(loader, module);

are favorites in the queue?

In the console I can only see normal status requests and no favorites requests, check if they are still there, and if not, why they get lost.

Not showing all followed channels

I believe I've properly followed the instructions for the application by going to the about:addon section and adding my Twitch username to the Users section, however, when the list of channels the application uses doesn't seem to be complete.

On my following list (http://www.twitch.tv/zeekdageek/videos) I have 40 casters followed. When I count the list this addon provides I only see 20 casters. I also notice that when I view the list of people I follow that are streaming there are people casting while the addon doesn't show any. It seems like this Addon can't read the full list.

High CPU Usage

Addon spikes Firefox CPU useage from 1-2% at idle to over 60% and maxes total CPU usage between 95-100%. This can be repeated regularly and consistently by enabling/disabling the addon in Firefox.

Firefox 19.0.2
The machine in use is Windows XP SP3.
Intel Core 2 Duo P8600 @ 2.4GHz.

Allow different channel types

Allow the usage of different services by using a channel type.
the channel type identifies the livestream service, for which a module provides an object to make all the needed stuff. (parsing etc.)

No Updates

Similar to some of the comments recently I no longer get any updates since the last couple days.

Update interval set 30.
No channel manually entered.
My user name entered.
Auto detect username checked.
Notify online.
Notify change title.

Update favorites of users in runtime

Currently the favorites are only fetched on browser start. It would be nice to fetch them every now and then (to be defined...), in case the user started following a channel.

Panel styling is broken

Text after a break doesn't get correct margin and stuff at the bottom is cut off.

Works perfect with german translation & current ff 21.

First run/Updated page

Show a page with helping instructions on firstrun and a page with the changes on update.

Better contacts info

Currently only the FAQ page gives space to contact me. I also want to encourage contacting me for freature suggestions and general feedback.

Support /new on twitches

Currently twitch has two possible channel-page-urls.
To check:

  • do twitchchannels respond with an option/ second url?
  • use sdk url library?

Sort channels in panel

The channels in the panel should have a consistent position. Optimally it would be sorted from A-Z. Also probably subsections for different providers?

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.