Skip to content

Commit

Permalink
Merge branch 'main' into feature/dial-cast-poc
Browse files Browse the repository at this point in the history
  • Loading branch information
iBicha authored Feb 16, 2024
2 parents 4450f4b + 84c6d82 commit c723ca2
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 37 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- Removed `fields` from Invidious requests, as per [https://github.com/iv-org/invidious/pull/4276](https://github.com/iv-org/invidious/pull/4276)

## [0.19.2] - 2024-02-11

### Fixed
Expand Down
7 changes: 6 additions & 1 deletion playlet-app/src/components/BootstrapScene/BootstrapScene.bs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ end function
function GetPlayletLibUrls() as object
#if DEBUG
debug = { type: "debug", link: Manifest.ReadValue("playlet_lib_debug_url") }
return [debug]
embedded = { type: "embedded", link: Manifest.ReadValue("playlet_lib_embedded_url") }
#if DEBUG_FALLBACK_TO_EMBEDDED
return [debug, embedded]
#else
return [debug]
#end if
#else
savedUrls = Registry.GetPlayletLibUrlsFromRegistry()
if savedUrls <> invalid
Expand Down
2 changes: 1 addition & 1 deletion playlet-app/src/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ playlet_lib_debug_url=http://DEBUG_HOST_IP_ADDRESS:8086/playlet-lib.zip

git_commit_sha=unknown

bs_const=DEBUG=false
bs_const=DEBUG=false;DEBUG_FALLBACK_TO_EMBEDDED=true
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<Group id="container">
<Button
id="filtersButton"
translation="[160,40]"
minWidth="240"
height="48"
translation="[160,35]"
minWidth="0"
height="58"
showFocusFootprint="true"
iconUri="pkg:/images/icons/filters-white.png"
focusedIconUri="pkg:/images/icons/filters-black.png"
Expand Down
31 changes: 0 additions & 31 deletions playlet-lib/src/config/invidious_video_api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,41 +11,10 @@ trending:
region:
type: "#ISO3166"
default: GetUserCountryCode
fields:
type: []
arrayType: "CommaSeparated"
default:
- title
- videoId
- videoThumbnails
- lengthSeconds
- viewCount
- author
- authorId
- publishedText
- liveNow
- isUpcoming
- premiereTimestamp

popular:
title: Popular
url: /api/v1/popular
queryParams:
fields:
type: []
arrayType: "CommaSeparated"
default:
- title
- videoId
- videoThumbnails
- lengthSeconds
- viewCount
- author
- authorId
- publishedText
- liveNow
- isUpcoming
- premiereTimestamp

search:
title: Search
Expand Down
4 changes: 4 additions & 0 deletions playlet-web/src/lib/LinkDragDrop.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@
"http://youtube.com/shorts/",
"https://www.youtube.com/shorts/",
"http://www.youtube.com/shorts/",
"https://youtube.com/live/",
"http://youtube.com/live/",
"https://www.youtube.com/live/",
"http://www.youtube.com/live/",
];
for (var i in YoutubeUrls) {
let youtubeUrl = YoutubeUrls[i];
Expand Down
2 changes: 1 addition & 1 deletion tools/bs-plugins/logger-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ function ${newFunctionName}(${args.join(', ')}) as void
if logger.logLevel < ${func.level}
return
end if
m.global.logger.logLine = "[${func.stringLevel}]" + ${msg}
logger.logLine = "[${func.stringLevel}]" + ${msg}
end function
`;
}
Expand Down

0 comments on commit c723ca2

Please sign in to comment.