Skip to content

Commit

Permalink
nightly-202406111519
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Jun 11, 2024
1 parent d35245a commit 3bf1436
Show file tree
Hide file tree
Showing 10 changed files with 72 additions and 23 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Screenshots:

Changelog:
==========
* Nightly : ◆ **AutoDownload**: *(new)* Now able to use series custom Seeders, custom Includes and custom Excludes. ◆ **DataBase**: *(fix)* Make TRAKT_ID unique to prevent duplicate records. ◆ **TMDBfanArt**: *(new)* Refactor image loading to use TMDB. This complements and progressively takes over from FanArt. ◆ **Languages**: *(new)* Greek, Turkish, Slovak, South African English. ◆ **Languages**: *(fix)* Chinese, Dutch. ◆ **Log_GR**: *(del)* Drop Error-Tracking-Loggr, the service is no longer available. ◆ **sceneNameResolver**: *(new)* add custom support to subtract/add days from date formated serie names eg YYYY MM DD[-1]. ◆ **SearchEngines**: *(new)* Add ETag (extratorrent.st), IsoHunt2 (isohunt.tv), TGx (torrentgalaxy.to), EXT (ext.to), KATws (kickass.ws), Knaben (knaben.eu), TheRARBG (t-rb.org). ◆ **SearchEngines**: *(del)* KATcr is broken, TorrentZ2 is gone, ETTV is gone, Zooqle is gone, RarBG is gone, EzTV no results without cookie. ◆ **SearchEngines**: *(fix)* Limetorrrents DL links and new domain, 1337x DL links, TPB (*0.org) + fix details link, TPB mirror resolver proxybay.unblockit.sbs, torrentdownloads new domain, fix details link for Jackett indexers. ◆ **Standalone**: *(new)* Mac OSX ARM64 package now available. ◆ **Standalone**: *(upgrade)* NWJS 0.86.0 with Chromium 123. ◆ **Standalone**: *(fix)* Prevent Chromium 112+ freezing tabs if idle. Switch chromium-args: --flag-switches-begin --disable-features=HighEfficiencyModeAvailable --flag-switches-end. ◆ **TorrentClient**: *(new)* Introducing tTorrent client. ◆ **TorrentClient**: *(fix)* replace deprecated rTorrent calls, add support for qBitTorrent 4.2+, ignore aria2 metadata file reports. ◆ **TorrentClient**: *(fix)* qBitTorrent 4.5+ fix API call to remove torrent ◆ **TorrentClient**: *(fix)* Upgrade Tixati API for 2.86+. Note that older versions are no longer supported. ◆ **TorrentDialogs**: *(fix)* magnetLinks were being submitted twice due to NWJS bug. ◆ **TorrentDialogs**: *(add)* Add WEB to the quality list of the torrent search dialogues. ◆ **TorrentDialogs**: *(fix)* Trap SE errors so dialogues can report. ◆ **TorrentDialog2**: *(add)* individual SE spinners during searching. ◆ **TorrentMonitor**: *(fix)* Auto-Stop-All now works as intended. ◆ **Trakt**: *(new)* Preserve watched timestamp from Trakt.TV during import. ◆ **TraktTrending**: *(new)* Add option to view by Ended, Returning or Cancelled. ◆ **TraktTrending**: *(new)* Now updated Daily instead of Weekly. ◆ **TraktUpdateServices**: *(fix)* Support added for new API restrictions. ◆ **Misc**: *Bug fixes*.
* Nightly : ◆ **AutoDownload**: *(new)* Now able to use series custom Seeders, custom Includes and custom Excludes. ◆ **DataBase**: *(fix)* Make TRAKT_ID unique to prevent duplicate records. ◆ **TMDBfanArt**: *(new)* Refactor image loading to use TMDB. This complements and progressively takes over from FanArt. ◆ **Languages**: *(new)* Greek, Turkish, Slovak, South African English. ◆ **Languages**: *(fix)* Chinese, Dutch. ◆ **Log_GR**: *(del)* Drop Error-Tracking-Loggr, the service is no longer available. ◆ **sceneNameResolver**: *(new)* add custom support to subtract/add days from date formated serie names eg YYYY MM DD[-1]. ◆ **SearchEngines**: *(new)* Add ETag (extratorrent.st), IsoHunt2 (isohunt.tv), TGx (torrentgalaxy.to), EXT (ext.to), KATws (kickass.ws), Knaben (knaben.eu), TheRARBG (t-rb.org). ◆ **SearchEngines**: *(del)* KATcr is broken, TorrentZ2 is gone, ETTV is gone, Zooqle is gone, RarBG is gone, EzTV no results without cookie. ◆ **SearchEngines**: *(fix)* Limetorrrents DL links and new domain, 1337x DL links, TPB (*0.org) + fix details link, TPB mirror resolver (proxybay.pages.dev), torrentdownloads new domain, fix details link for Jackett indexers. ◆ **Standalone**: *(new)* Mac OSX ARM64 package now available. ◆ **Standalone**: *(upgrade)* NWJS 0.86.0 with Chromium 123. ◆ **Standalone**: *(fix)* Prevent Chromium 112+ freezing tabs if idle. Switch chromium-args: --flag-switches-begin --disable-features=HighEfficiencyModeAvailable --flag-switches-end. ◆ **TorrentClient**: *(new)* Introducing tTorrent client. ◆ **TorrentClient**: *(fix)* replace deprecated rTorrent calls, add support for qBitTorrent 4.2+, ignore aria2 metadata file reports. ◆ **TorrentClient**: *(fix)* qBitTorrent 4.5+ fix API call to remove torrent ◆ **TorrentClient**: *(fix)* Upgrade Tixati API for 2.86+. Note that older versions are no longer supported. ◆ **TorrentDialogs**: *(fix)* magnetLinks were being submitted twice due to NWJS bug. ◆ **TorrentDialogs**: *(add)* Add WEB to the quality list of the torrent search dialogues. ◆ **TorrentDialogs**: *(fix)* Trap SE errors so dialogues can report. ◆ **TorrentDialog2**: *(add)* individual SE spinners during searching. ◆ **TorrentMonitor**: *(fix)* Auto-Stop-All now works as intended. ◆ **Trakt**: *(new)* Preserve watched timestamp from Trakt.TV during import. ◆ **TraktTrending**: *(new)* Add option to view by Ended, Returning or Cancelled. ◆ **TraktTrending**: *(new)* Now updated Daily instead of Weekly. ◆ **TraktUpdateServices**: *(fix)* Support added for new API restrictions. ◆ **Misc**: *Bug fixes*.
* v1.1.5 : ◆ **AutoDownload**: *(new)* Now able to download .torrent files \o/. ◆ **Database**: *(fix)* Moved the database management services to the *Background* task, to minimise interruptions to DB updates and maintain integrity. ◆ **Favourites**: *(new)* Remembers last used sort selection. ◆ **Favourites**: *(new)* Introducing Anime support. Now a search can use the absolute episode number when available. • Series Settings allows the user to select any available Alias to replace the default Title in searches. ◆ **SearchEngines**: *(new)* Introducing Jackett! You can use the Jackett proxy to access your favourite open/semi-private/private trackers as DuckieTV Search Engines. ◆ **SearchEngines**: *(removed)* IsoHunt.to is gone. ◆ **Standalone**: *(upgrade)* NWJS 25.0 with Chromium 61 and Node 8.4.0 ◆ **TorrentClient**: *(new)* Introducing Aria2 client. ◆ **TorrentClient**: *(new)* Introducing BiglyBT client. ◆ **TorrentClient**: *(fix)* Can now connect with qBitTorrent 3.3.14 (and newer) with CSRF protection. ◆ **TorrentClient**: *(fix)* Can now connect with Deluge 1.3.14 (and newer) with CSRF protection. ◆ **Torrent Dialog [multi-SE]**: *(new)* Remembers last used sort selection. ◆ **Trakt-Sync**: *(upgrade)* When an episode is marked as downloaded it is added to the collected list of a user's Trakt account. ◆ **Trakt-Trending sidepanel**: *(upgrade)* Now using buttons instead of mouse-hover to improve browsing experience. ◆ **Misc**: *Bug fixes*.
* v1.1.4 : ◆ Performance: Massive database write performance improvement. ◆ User Interface: Split up favorites and adding mode, introduced 'todo' mode. You can now add multiple shows at once. • (new) Yellow stars now indicate show or season premieres ◆ Images: (fix) switched to Fanart.tv for all images after Trakt.tv ended support ◆ AutoDownload: (new) using global Require/Ignore Keywords • (new) series custom-search-provider option • (new) option to ignore global Quality, Require and Ignore keywords via series custom settings • (new) use series custom search string • (new) use global/custom size min/max • (fix) episodes with date scene names bug • (new) monitor autoDownload activity via status sidepanel • (new) make AD wait until episode has aired before searching • (new) series custom AD additional delay before searching ◆ FastSearch: (new) introducing the fast-search feature. Just start typing and a dialog pops up with the first six matches of your series from favourites, series from Trakt.TV, and the first 9 matches of episodes from favourites and torrent search. ◆ Standalone: (upgrade) nwjs 20.x chromium 56.x Node 7.5.x (fix) linux minimize bug • (new) option to open add-new-torrent panel on torrentHost • (fix) linux and mac multi-systray bug • (fix) defaults for first-time users bug • (new) option to set the color of the system tray icon ◆ TorrentClients: (new) rTorrent and Ktorrent clients • (new) add remove-torrent functionality to all client Interfaces • (fix) Deluge auto-stop and downloaded bugs • (fix) qBittorrent auto-stop bug • (fix) renamed qBittorrent client to qBittorrent (pre 3.2) for clarity • (new) add series custom download path option for torrentClients that support it ◆ SearchEngines: (fix) remove Strike, KAT and Torrentz as they are gone • (new) add 1337x, Idope, IsoHunt, KATcr, LimeTorrents, SkyTorrents, TorrentDownloads, TorrentZ2 and Zooqle • (fix) drop find-random-KAT-mirror feature as rockaproxy is gone • (fix) bug in RarBG causing non-found results after 15 minutes • (new) add 2160p search quality ◆ Favorites: (new) sort menu for name, added, first-aired and not-watched-count • (new) series poster context-menu for mark-all-watched, show/hide from calendar, and remove-series ◆ Series Sidepanel: (new) option to make the episodes-button jump to the first not-watched season • (fix) mark-all-watched did not sync to Trakt.TV • (new) confirm mark-all-watched dialog ◆ Season Sidepanel: (fix) jump to active season ignores specials unless there is no other seasons • (fix) mark-all-watched did not sync to Trakt.TV • (new) confirm mark-all-watched dialog ◆ Episode Sidepanel: (fix) overview text not height limited bug ◆ Calendar: (fix) events multi-episodes badge incorrectly counted hidden specials bug • (new) Series option to ignore global Hide Specials from calendar • (new) events single click to mark episode as watched • (new) Highlight season premiers with gold star ◆ Top10: (fix) invalid-data handling bug ◆ Subtitles: (fix) net::err_empty_response handling bug ◆ Translations: Russian by galeksandrp, updated italian translations by lamaresh, updated Dutch translations ◆ TraktTV: (new) Option to change the frequency of the Episode updates. ◆ TorrentDialog: (new) Option to sort the Seeders, Leechers and Size column • (new) Option to search using all the Search Engines at once • (add) Option to enable Sort menu to sort by Age. ◆ Backup: (new) A Backup can now be automatically scheduled. Choose between Never,Daily,Weekly or the default Monthly. ◆ Misc bug fixes.
* v1.1.3 : • Translations: Romanian by honeybunny from Addic7ed, French by Tra-Vis, Norwegian by hexjelly, Spanish by iachopolo • Bug fixes for Torrent Client Integrations • Improve Autodownload torrent search matching • Fixed adding shows with numeric titles • optionally display season and episode on calendar • integrated XEM • added marking all of a days shows as downloaded • Season navigation • settings/display options for standalone minimize to Taskbar or Systray • misc bug fixes.
Expand Down
29 changes: 23 additions & 6 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,15 @@ a:hover .glyphicon {
display: block;
}

background-rotator {
background-rotator .background-image-container {
opacity: 0.4;
z-index: -2;
top: 0;
left: 0;
position: fixed;
}

background-rotator>div {
background-rotator .background-image-container > div {
width: 100%;
height: 100%;
position: fixed;
Expand All @@ -256,17 +260,30 @@ background-rotator>div {
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
z-index: -1;
z-index: -2;
opacity: 0;
transition: opacity 1s ease-in-out;
}

background-rotator>div.active {
background-rotator .background-image-container > div.active {
opacity: 1;
}

background-rotator .placeholder {
z-index: -2;
background-rotator .background-details {
position: fixed;
bottom: 0;
right: 80%;
padding: 2px 6px;
font-size: 10px;
color: rgb(230, 230, 230);
background: rgba(60, 60, 60, 0.4);
border-top-left-radius: 6px;
opacity: 0.9;
z-index: -1;
}

background-rotator .background-image-container .placeholder {
z-index: -3;
background-image: url(../img/logo/duckietv.png);
background-color: #A9A9A9;
background-size: initial;
Expand Down
33 changes: 31 additions & 2 deletions js/directives/backgroundRotator.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ DuckieTV.directive('backgroundRotator', ['$rootScope',
$scope.bg2 = false
$scope.bg1on = false
$scope.bg2on = false

$scope.bgItem = null
$scope.bgUrl = null
var cooldown = false
$scope.getSetting = $rootScope.getSetting

load = function(url) {
var img = document.createElement('img')
Expand All @@ -30,17 +34,42 @@ DuckieTV.directive('backgroundRotator', ['$rootScope',
$scope[target + 'on'] = true
$scope[(target == 'bg1' ? 'bg2on' : 'bg1on')] = false
$scope.$applyAsync()

updateItemDetails()
}

img.src = url
}

$rootScope.$on($scope.channel, function(event, url) {
$rootScope.$on($scope.channel, function(event, item) {
if (!cooldown) {
if (url) load(url)
const url = item?.fanart

if (url && $scope.bgUrl != url) {
$scope.bgItem = item
$scope.bgUrl = url
load(url)
}

cooldown = true
setTimeout(function() { cooldown = false }, 1300)
}
})

function updateItemDetails() {
if (!$scope.bgItem) {
return
}

const name = $scope.bgItem.name?.slice(0, 30)
const year = new Date($scope.bgItem.firstaired)?.getFullYear()

if (name && year) {
$scope.itemDetails = `${name} (${year})`
} else if (name) {
$scope.itemDetails = name
}
}
}
}
}
Expand Down
3 changes: 1 addition & 2 deletions js/directives/calendarEvent.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ DuckieTV.directive('calendarEvent', ['SettingsService',
$scope.clearHoverTimer()
// Make sure serie has fanart defined
if ($scope.serie.fanart) {
var background = $scope.serie.fanart
$scope.hoverTimer = setTimeout(function() {
$scope.$root.$broadcast('background:load', background)
$scope.$root.$broadcast('background:load', $scope.serie)
}, 1500)
}
}
Expand Down
7 changes: 4 additions & 3 deletions js/services/FavoritesService.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ DuckieTV.factory('FavoritesService', ['$q', '$rootScope', 'FanartService', 'Scen
$injector.get('CalendarEvents').processEpisodes(serie, episodeCache)
// console.debug("FavoritesService.Favorites", service.favorites)
$rootScope.$applyAsync()
$rootScope.$broadcast('background:load', serie.fanart)
$rootScope.$broadcast('background:load', serie)
$rootScope.$broadcast('storage:update')
$rootScope.$broadcast('serie:recount:watched', serie.ID_Serie)

Expand Down Expand Up @@ -362,9 +362,10 @@ DuckieTV.factory('FavoritesService', ['$q', '$rootScope', 'FanartService', 'Scen
loadRandomBackground: function() {
// dafuq. no RANDOM() in sqlite in chrome...
// then we pick a random array item from the resultset based on the amount.
CRUD.executeQuery("select fanart from Series where fanart != ''").then(function(result) {
CRUD.executeQuery("select name, firstaired, fanart from Series where fanart != ''").then(function(result) {
var item = result.rows[Math.floor(Math.random() * (result.rows.length - 1))]
if (result.rows.length > 0) {
$rootScope.$broadcast('background:load', result.rows[Math.floor(Math.random() * (result.rows.length - 1))].fanart)
$rootScope.$broadcast('background:load', item)
}
})
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ DuckieTV.factory('ThePirateBayMirrorResolver', ['$q', '$http', '$injector',
var maxAttempts = 3

var endpoints = {
thepiratebay: 'https://proxybay.unblockit.ong/'
thepiratebay: 'https://proxybay.pages.dev/'
}

/**
Expand Down
2 changes: 1 addition & 1 deletion js/services/UpgradeNotificationService.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ DuckieTV.run(['dialogs', '$http',
'<li>SceneNameResolver: (new) add custom support to subtract/add days from date formated serie names eg YYYY MM DD[-1].',
'<li>SearchEngines: (new) Add ETag (extratorrent.st), IsoHunt2 (isohunt.tv), TGx (torrentgalaxy.to), EXT (ext.to), KATws (kickass.ws), Knaben (knaben.eu), TheRARBG (t-rb.org).',
'<li>SearchEngines: (del) Katcr is broken, TorrentZ2 is gone, ETTV is gone, Zooqle is gone, RarBG is gone, EzTV no results without cookie.',
'<li>SearchEngines: (fix) limetorrrents DL links and new domain, 1337x DL links, TPB (*0.org), TPB mirror resolver proxybay.unblockit.sbs, torrentdownloads new domain, fix details link for Jackett indexers.',
'<li>SearchEngines: (fix) limetorrrents DL links and new domain, 1337x DL links, TPB (*0.org), TPB mirror resolver (proxybay.pages.dev), torrentdownloads new domain, fix details link for Jackett indexers.',
'<li>Standalone: NWJS 0.86.0 with Chromium 123.',
'<li>Standalone: Mac OSX ARM64 package now available.',
'<li>Standalone: (fix) Prevent Chromium 112+ freezing tabs if idle. Switch chromium-args: --flag-switches-begin --disable-features=HighEfficiencyModeAvailable --flag-switches-end.',
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
"show": false,
"always_on_top": false,
"as_desktop": true,
"exe_icon": "C:/xampp/htdocs/deploy/newtab/img/logo/icon128.png",
"exe_icon": "./img/logo/icon128.png",
"frame": false,
"fullscreen": false,
"height": 750,
"icon": "C:/xampp/htdocs/deploy/newtab/img/logo/icon128.png",
"icon": "./img/logo/icon128.png",
"mac_app_icon": "",
"mac_icon": "C:/xampp/htdocs/deploy/newtab/img/logo/icon128.png",
"mac_icon": "./img/logo/icon128.png",
"min_height": 572,
"min_width": 840,
"position": "center",
Expand Down
2 changes: 1 addition & 1 deletion tab.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<button class="glyphicon glyphicon-win-close" id='close' uib-tooltip="{{ 'COMMON/close/btn'|translate }}" tooltip-placement="bottom"></button>
</div>

<background-rotator channel="'background:load'" style="opacity:{{getSetting('background-rotator.opacity')}}"></background-rotator>
<background-rotator channel="'background:load'"></background-rotator>
<chrome-top-sites ng-if="getSetting('topSites.enabled')" class="{{getSetting('topSites.mode')}}"></chrome-top-sites>

<div class="container" ng-class="{'topsites': getSetting('topSites.enabled')}">
Expand Down
9 changes: 6 additions & 3 deletions templates/backgroundRotator.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<div class="placeholder" ng-class="{active: bg1 == false}"></div>
<div ng-style="{backgroundImage: bg1 ? 'url('+bg1+')': ''}" ng-class="{active: bg1on}"></div>
<div ng-style="{backgroundImage: bg2 ? 'url('+bg2+')': ''}" ng-class="{active: bg2on}"></div>
<div class="background-image-container" style="opacity:{{getSetting('background-rotator.opacity')}}">
<div class="placeholder" ng-class="{active: bg1 == false}"></div>
<div ng-style="{backgroundImage: bg1 ? 'url('+bg1+')': ''}" ng-class="{active: bg1on}"></div>
<div ng-style="{backgroundImage: bg2 ? 'url('+bg2+')': ''}" ng-class="{active: bg2on}"></div>
</div>
<span class="background-details" ng-show="itemDetails">{{itemDetails}}</span>

0 comments on commit 3bf1436

Please sign in to comment.