Skip to content

Commit

Permalink
update radiorecord
Browse files Browse the repository at this point in the history
  • Loading branch information
ProjectSoft-STUDIONIONS committed Aug 27, 2024
1 parent 106dd3d commit 365db5c
Show file tree
Hide file tree
Showing 7 changed files with 281 additions and 248 deletions.
34 changes: 32 additions & 2 deletions .cache/manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,38 @@
{
"latest": "v0.88.0",
"stable": "v0.88.0",
"latest": "v0.91.0",
"stable": "v0.91.0",
"lts": "v0.14.7",
"versions": [
{
"version": "v0.91.0",
"date": "2024/08/21",
"files": ["win-x64", "win-ia32", "linux-x64", "linux-ia32", "osx-x64", "osx-arm64"],
"flavors": ["normal", "sdk"],
"components": {
"node": "22.2.0",
"chromium": "128.0.6613.36"
}
},
{
"version": "v0.90.0",
"date": "2024/07/30",
"files": ["win-x64", "win-ia32", "linux-x64", "linux-ia32", "osx-x64", "osx-arm64"],
"flavors": ["normal", "sdk"],
"components": {
"node": "22.2.0",
"chromium": "127.0.6533.73"
}
},
{
"version": "v0.89.0",
"date": "2024/06/25",
"files": ["win-x64", "win-ia32", "linux-x64", "linux-ia32", "osx-x64", "osx-arm64"],
"flavors": ["normal", "sdk"],
"components": {
"node": "22.2.0",
"chromium": "126.0.6478.57"
}
},
{
"version": "v0.88.0",
"date": "2024/05/21",
Expand Down
4 changes: 2 additions & 2 deletions application/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "YourRadio",
"version": "3.0.6",
"version": "3.0.7",
"comments": "Ваше Радио. Облегчённая версия.",
"description": "Ваше Радио. Облегчённая версия. Самостоятельное добавление радио потока. Импорт/Экспорт плейлиста радиостанций.",
"buildDate": "19 June 2024 13:02:05",
"buildDate": "27 August 2024 12:44:46",
"author": "ProjectSoft",
"homepage": "https://projectsoft.ru/",
"license": "MIT",
Expand Down
473 changes: 240 additions & 233 deletions application/radio/data.json

Large diffs are not rendered by default.

10 changes: 4 additions & 6 deletions modules/Downloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@ module.exports = function(grunt) {
},
versions = '0.86.0';
const formatTime = function(value){

// leading zero padding
function autopadding(v){
return ("0" + v).slice(-2);
}
var s = autopadding(Math.round(value % 60));
var m = autopadding(Math.round((value / 60) % 60));
var h = autopadding(Math.round((value / 360) % 24));
let s = autopadding(Math.floor((value / 1000) % 60));
let m = autopadding(Math.floor((value / 1000 / 60) % 60));
let h = autopadding(Math.floor((value / (1000 * 60 * 60)) % 24));
return h + ":" + m + ":" + s
},
autopaddingVal = function (value, length, opt){
Expand Down Expand Up @@ -43,7 +41,7 @@ module.exports = function(grunt) {
const formatTotal = formatBytes(paramsBar.total);
const total = formatTotal.length;// params
const stopTime = paramsBar.stopTime || Date.now();
const elapsedTime = formatTime(Math.round((stopTime - paramsBar.startTime)/1000));
const elapsedTime = formatTime(Math.round((stopTime - paramsBar.startTime)));

var barStr = _colors.white('|') + _colors.cyan(bar + ' ' + autopadding(percentage, 3) + '%') + " " + _colors.white('|') + " " + elapsedTime;
return barStr;
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "webkit-app-radio",
"appName": "YourRadio",
"version": "3.0.6",
"version": "3.0.7",
"description": "Ваше Радио. Облегчённая версия. Самостоятельное добавление радио потока. Импорт/Экспорт плейлиста радиостанций.",
"comments": "Ваше Радио. Облегчённая версия.",
"main": "Gruntfile.js",
Expand Down Expand Up @@ -45,8 +45,6 @@
"node-fetch": "1.6.3",
"rcedit": "latest",
"time-grunt": "github:ProjectSoft-STUDIONIONS/time-grunt",
"ttf2woff2": "latest"
},
"devDependencies": {
"ttf2woff2": "^5.0.0"
}
}
Binary file modified src/font/radioapp.ttf
Binary file not shown.
2 changes: 1 addition & 1 deletion version.iss
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define RadioAppVersion "3.0.6"
#define RadioAppVersion "3.0.7"

0 comments on commit 365db5c

Please sign in to comment.