Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
v1.1.0.5 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
Wassup789 committed Feb 3, 2016
1 parent 50f01e4 commit 2a23551
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Changelog
=====
## v1.1.0.5 (XX-XX-2015)
## v1.1.0.5 (02-02-2015)
* Changed channel updater to use the search API instead of the channel's playlist API (This allows more up-to-date updating)
* Fixed bug where channels would stop updating
* Added locales/languages
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This code is licensed under the MIT License.

[![ChromeWebStore](https://raw.githubusercontent.com/Wassup789/Youtube-Notifications/master/img/chromewebstore.png)](https://chrome.google.com/webstore/detail/youtube-notifications/cilgbgkmanbbecbjihnbpeaoodmgchom)

**Latest Version:** ***v1.1.0.4***
**Latest Version:** ***v1.1.0.5***

**Release Archive:**

Expand Down
2 changes: 1 addition & 1 deletion css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ main {
#add_channels-dialog > .mdl-card__title, #changelog-dialog > .mdl-card__title {
color: #fff;
height: 176px;
background: url('http://www.getmdl.io/assets/demos/welcome_card.jpg') center / cover;
background: url("../img/welcome_card.jpg") center / cover;
}
#add_channels-dialog > .mdl-card__menu, #changelog-dialog > .mdl-card__menu {color: #fff;}
#add_channels-more-button, #changelog-close-button {
Expand Down
Binary file added img/welcome_card.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions js/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ function removeYoutube(type, name, refresh, fromContentScript){
function checkYoutube(num, refresh, batch) {
refresh = refresh || false;
batch = batch || false;
//wyn.activeCheckings[num] = true;
wyn.activeCheckings[num] = true;

var channels = JSON.parse(localStorage.getItem("channels"));
//var url = "https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&maxResults=5&playlistId=" + channels[num].playlistId + "&key=" + wyn.apiKey;
Expand All @@ -413,8 +413,8 @@ function checkYoutube(num, refresh, batch) {
$.ajax({
url: url,
error: function(data) {
/*wyn.activeCheckings[num] = false;
wyn.activeBatchCheckings[num] = false;
wyn.activeCheckings[num] = false;
/*wyn.activeBatchCheckings[num] = false;
for(var i = 0; i < wyn.activeBatchCheckings.length; i++)
if(wyn.activeBatchCheckings[i])
return;
Expand Down Expand Up @@ -450,7 +450,7 @@ function checkYoutube(num, refresh, batch) {
console.log("=====END OF " + channels[num].name + "=====");*/

if(prevTimestamp >= channels[num].latestVideo.timestamp){
/*wyn.activeCheckings[num] = false;
wyn.activeCheckings[num] = false;
if(!batch){
for(var i = 0; i < wyn.activeCheckings.length; i++)
if(wyn.activeCheckings[i])
Expand All @@ -459,7 +459,7 @@ function checkYoutube(num, refresh, batch) {
chrome.extension.sendMessage({type: "refreshPage"});
else
chrome.extension.sendMessage({type: "createSnackbar", message: wyn.strings.snackbar_nonewvideos});
}else{
}/*else{
wyn.activeBatchCheckings[num] = false;
for(var i = 0; i < wyn.activeBatchCheckings.length; i++)
if(wyn.activeBatchCheckings[i])
Expand All @@ -476,8 +476,8 @@ function checkYoutube(num, refresh, batch) {
$.ajax({
url: url,
error: function(data) {
/*wyn.activeCheckings[num] = false;
wyn.activeBatchCheckings[num] = false;
wyn.activeCheckings[num] = false;
/*wyn.activeBatchCheckings[num] = false;
for(var i = 0; i < wyn.activeBatchCheckings.length; i++)
if(wyn.activeBatchCheckings[i])
return;
Expand Down Expand Up @@ -526,14 +526,14 @@ function checkYoutube(num, refresh, batch) {
console.log(wyn.strings.log_color_prefix + wyn.strings.notification_log_new + info.name, wyn.strings.log_color_green);
notify(ntID, options);

/*wyn.activeCheckings[num] = false;
wyn.activeCheckings[num] = false;
if(!batch){
for(var i = 0; i < wyn.activeCheckings.length; i++)
if(wyn.activeCheckings[i])
return;
if(refresh)
chrome.extension.sendMessage({type: "refreshPage"});
}else{
}/*else{
wyn.activeBatchCheckings[num] = false;
for(var i = 0; i < wyn.activeBatchCheckings.length; i++)
if(wyn.activeBatchCheckings[i])
Expand Down

0 comments on commit 2a23551

Please sign in to comment.