Compare commits

...

35 Commits

Author SHA1 Message Date
github-actions[bot]
d76c82eb65 Bump build number to 202 2025-09-09 07:37:06 +00:00
Arkadiusz Fal
6935866183 Bump tvOS version 2025-06-17 16:37:53 +02:00
Arkadiusz Fal
0b253a1c5c Revert "Update dependencies"
Fix build issue with new signet version

This reverts commit 04377cbc1a.
2025-06-17 16:27:39 +02:00
Arkadiusz Fal
8e4b9ea440 Fix bundler cache version 2025-06-17 16:26:24 +02:00
Arkadiusz Fal
b2593c02b9 Bump build number to 201 2025-06-17 16:12:21 +02:00
Arkadiusz Fal
d209602f0e Update CHANGELOG 2025-06-17 16:12:13 +02:00
Arkadiusz Fal
04377cbc1a Update dependencies 2025-06-17 16:09:52 +02:00
Arkadiusz Fal
d4ebee2b44 Merge pull request #877 from weblate/weblate-yattee-localizable-strings
Translations update from Hosted Weblate
2025-06-17 16:04:16 +02:00
Ivan0xFF
8609ef7709 Added caption support for Piped backend (#867)
Co-authored-by: Ivan <ivanferrari@porch.com>
2025-06-17 16:03:18 +02:00
joaooliva
5b291e6e5a Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (562 of 562 strings)

Translation: Yattee/Localizable.strings
Translate-URL: https://hosted.weblate.org/projects/yattee/localizable-strings/pt_BR/
2025-06-17 16:02:59 +02:00
Adolfo Jayme Barrientos
3d4b5fc42b Translated using Weblate (Spanish)
Currently translated at 100.0% (562 of 562 strings)

Translation: Yattee/Localizable.strings
Translate-URL: https://hosted.weblate.org/projects/yattee/localizable-strings/es/
2025-06-17 16:02:58 +02:00
Weblate (bot)
06c0eaa920 Translations update from Hosted Weblate (#873)
* Translated using Weblate (Spanish)

Currently translated at 100.0% (562 of 562 strings)

Translation: Yattee/Localizable.strings
Translate-URL: https://hosted.weblate.org/projects/yattee/localizable-strings/es/

* Translated using Weblate (Catalan)

Currently translated at 79.8% (449 of 562 strings)

Translation: Yattee/Localizable.strings
Translate-URL: https://hosted.weblate.org/projects/yattee/localizable-strings/ca/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (562 of 562 strings)

Translation: Yattee/Localizable.strings
Translate-URL: https://hosted.weblate.org/projects/yattee/localizable-strings/es/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (562 of 562 strings)

Translation: Yattee/Localizable.strings
Translate-URL: https://hosted.weblate.org/projects/yattee/localizable-strings/es/

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (562 of 562 strings)

Translation: Yattee/Localizable.strings
Translate-URL: https://hosted.weblate.org/projects/yattee/localizable-strings/pt_BR/

---------

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Co-authored-by: joaooliva <joaooliva@protonmail.com>
2025-06-17 16:02:56 +02:00
Adolfo Jayme Barrientos
06d315a1e8 Translated using Weblate (Spanish)
Currently translated at 100.0% (562 of 562 strings)

Translation: Yattee/Localizable.strings
Translate-URL: https://hosted.weblate.org/projects/yattee/localizable-strings/es/
2025-06-17 16:02:56 +02:00
Adolfo Jayme Barrientos
cedeb29c44 Translated using Weblate (Catalan)
Currently translated at 79.8% (449 of 562 strings)

Translation: Yattee/Localizable.strings
Translate-URL: https://hosted.weblate.org/projects/yattee/localizable-strings/ca/
2025-06-17 16:02:55 +02:00
Adolfo Jayme Barrientos
150562830f Translated using Weblate (Spanish)
Currently translated at 100.0% (562 of 562 strings)

Translation: Yattee/Localizable.strings
Translate-URL: https://hosted.weblate.org/projects/yattee/localizable-strings/es/
2025-06-17 16:02:54 +02:00
Arkadiusz Fal
e41527775a Merge pull request #874 from n3d1117/feat/mpv-audio-track-switching
feat: MPV audio track switching and fix default audio language
2025-06-17 16:02:09 +02:00
ned
2461a33feb feat: default lang and mpv audio track switching 2025-06-01 22:19:03 +02:00
Arkadiusz Fal
2a597ab3cb Add missing bundle platform 2025-03-23 15:08:04 +01:00
Arkadiusz Fal
4d662115e4 Update GitHub release workflow 2025-03-23 15:07:15 +01:00
Arkadiusz Fal
e068257f14 Bump build number to 200 2025-03-23 15:04:56 +01:00
Arkadiusz Fal
8b809fb0f1 Update GitHub release workflow 2025-03-23 15:04:16 +01:00
Arkadiusz Fal
d3e80f500e Update GitHub release workflow 2025-03-23 13:38:51 +01:00
Arkadiusz Fal
9343e9d023 Bump build number to 199 2025-03-23 13:35:52 +01:00
Arkadiusz Fal
e4b25b0f80 Update CHANGELOG 2025-03-23 13:35:52 +01:00
Arkadiusz Fal
09c2fb19a9 Fix swiftformat offenses 2025-03-23 13:32:46 +01:00
Arkadiusz Fal
043b07274e Update packages 2025-03-23 13:32:19 +01:00
Arkadiusz Fal
7f7e12d719 Merge pull request #851 from weblate/weblate-yattee-localizable-strings
Translations update from Hosted Weblate
2025-03-23 13:27:47 +01:00
Arkadiusz Fal
d990c6630e Merge pull request #863 from lifo9/add-support-for-invidious-companion
Add support for invidious companion
2025-03-23 13:27:33 +01:00
Jakub Filo
5239b36cfe Add support for invidious companion 2025-03-18 22:56:45 +01:00
Ghost of Sparta
addc13ebfb Translated using Weblate (Hungarian)
Currently translated at 100.0% (562 of 562 strings)

Translation: Yattee/Localizable.strings
Translate-URL: https://hosted.weblate.org/projects/yattee/localizable-strings/hu/
2025-03-01 17:01:56 +00:00
azazaazur
2a6f26ec68 Translated using Weblate (Turkish)
Currently translated at 97.3% (547 of 562 strings)

Translation: Yattee/Localizable.strings
Translate-URL: https://hosted.weblate.org/projects/yattee/localizable-strings/tr/
2025-02-15 17:01:58 +01:00
Mohammed Al Otaibi
2e2f502d97 Translated using Weblate (Arabic)
Currently translated at 100.0% (562 of 562 strings)

Translation: Yattee/Localizable.strings
Translate-URL: https://hosted.weblate.org/projects/yattee/localizable-strings/ar/
2025-01-30 15:02:02 +01:00
Sophia Park
59afc2f4c7 Translated using Weblate (Korean)
Currently translated at 14.2% (80 of 562 strings)

Translation: Yattee/Localizable.strings
Translate-URL: https://hosted.weblate.org/projects/yattee/localizable-strings/ko/
2025-01-06 08:07:37 +01:00
Finn
2f902e74bb Translated using Weblate (German)
Currently translated at 94.8% (533 of 562 strings)

Translation: Yattee/Localizable.strings
Translate-URL: https://hosted.weblate.org/projects/yattee/localizable-strings/de/
2025-01-03 12:01:20 +00:00
Ghost of Sparta
500b75da4f Translated using Weblate (Hungarian)
Currently translated at 100.0% (562 of 562 strings)

Translation: Yattee/Localizable.strings
Translate-URL: https://hosted.weblate.org/projects/yattee/localizable-strings/hu/
2024-12-28 13:00:32 +01:00
26 changed files with 465 additions and 135 deletions

View File

@@ -27,13 +27,14 @@ jobs:
# lane: ['mac beta', 'ios beta', 'tvos beta']
lane: ['ios beta', 'tvos beta']
name: Releasing ${{ matrix.lane }} version to TestFlight
runs-on: macos-13
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
bundler-cache: true
cache-version: 1
- name: Replace signing certificate to AppStore
run: |
sed -i '' 's/match Development/match AppStore/' Yattee.xcodeproj/project.pbxproj
@@ -44,20 +45,21 @@ jobs:
- uses: maierj/fastlane-action@v3.0.0
with:
lane: ${{ matrix.lane }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.lane }} build
path: fastlane/builds/**/*.ipa
if-no-files-found: ignore
mac_notarized:
name: Build and notarize macOS app
runs-on: macos-13
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
bundler-cache: true
cache-version: 1
- name: Replace signing certificate to Direct with Developer ID
run: |
sed -i '' 's/match AppStore/match Direct/' Yattee.xcodeproj/project.pbxproj
@@ -76,7 +78,7 @@ jobs:
echo "ZIP_PATH=fastlane/builds/${{ env.VERSION_NUMBER }}-${{ env.BUILD_NUMBER }}/macOS/Yattee-${{ env.VERSION_NUMBER }}-macOS.zip" >> $GITHUB_ENV
- name: ZIP build
run: /usr/bin/ditto -c -k --keepParent ${{ env.APP_PATH }} ${{ env.ZIP_PATH }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: mac notarized build
path: ${{ env.ZIP_PATH }}
@@ -89,7 +91,7 @@ jobs:
- uses: actions/checkout@v4
- run: echo "BUILD_NUMBER=$(cat Yattee.xcodeproj/project.pbxproj | grep -m 1 CURRENT_PROJECT_VERSION | cut -d' ' -f3 | sed 's/;//g')" >> $GITHUB_ENV
- run: echo "VERSION_NUMBER=$(cat Yattee.xcodeproj/project.pbxproj | grep -m 1 MARKETING_VERSION | cut -d' ' -f3 | sed 's/;//g')" >> $GITHUB_ENV
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: artifacts
- uses: ncipollo/release-action@v1

View File

@@ -1,12 +1,12 @@
## Build 198
## Build 201
## What's Changed
* Stop making videos with unknown length shorts. by @derspyy in https://github.com/yattee/yattee/pull/849
* Translations update from Hosted Weblate by @weblate in https://github.com/yattee/yattee/pull/845
* Add Hungarian to locales list
* Update dependencies
* MPV audio track switching and fix default audio language by @n3d1117 in https://github.com/yattee/yattee/pull/874
* Feat: Added caption support for Piped backend by @craftycorvid in https://github.com/yattee/yattee/pull/867
* Translations update from Hosted Weblate by @weblate in https://github.com/yattee/yattee/pull/877
## Previous builds
* Add support for invidious companion by @lifo9 in https://github.com/yattee/yattee/pull/863
* Add skip, play/pause, and fullscreen shortcuts to macOS player (by @rickykresslein)
* Added Settings Import/Export
* Export all settings, instances and accounts
@@ -58,6 +58,8 @@
* Changes to defaults by @stonerl in https://github.com/yattee/yattee/pull/767
* Fixed fullscreen handling for backgrounding by @stonerl in https://github.com/yattee/yattee/pull/772
* Update now playing info when using system controls Partial fix for 503 by @stonerl in https://github.com/yattee/yattee/pull/765
* Stop making videos with unknown length shorts. by @derspyy in https://github.com/yattee/yattee/pull/849
* Add Hungarian to locales list
* Fix crash on HLS live playback by @stonerl in https://github.com/yattee/yattee/pull/775
* Fix mpv crashing on macOS by @stonerl in https://github.com/yattee/yattee/pull/754
* Refreshed icons for iOS and macOS by @stonerl in https://github.com/yattee/yattee/pull/752

View File

@@ -9,21 +9,22 @@ GEM
public_suffix (>= 2.0.2, < 7.0)
artifactory (3.0.17)
atomos (0.1.3)
aws-eventstream (1.3.0)
aws-partitions (1.1028.0)
aws-sdk-core (3.214.0)
aws-eventstream (1.3.2)
aws-partitions (1.1072.0)
aws-sdk-core (3.220.2)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.992.0)
aws-sigv4 (~> 1.9)
base64
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.96.0)
aws-sdk-core (~> 3, >= 3.210.0)
aws-sdk-kms (1.99.0)
aws-sdk-core (~> 3, >= 3.216.0)
aws-sigv4 (~> 1.5)
aws-sdk-s3 (1.176.1)
aws-sdk-core (~> 3, >= 3.210.0)
aws-sdk-s3 (1.182.0)
aws-sdk-core (~> 3, >= 3.216.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.5)
aws-sigv4 (1.10.1)
aws-sigv4 (1.11.0)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.4)
base64 (0.2.0)
@@ -33,7 +34,7 @@ GEM
commander (4.6.0)
highline (~> 2.0.0)
declarative (0.0.20)
digest-crc (0.6.5)
digest-crc (0.7.0)
rake (>= 12.0.0, < 14.0.0)
domain_name (0.6.20240107)
dotenv (2.8.1)
@@ -67,8 +68,8 @@ GEM
faraday-retry (1.0.3)
faraday_middleware (1.2.1)
faraday (~> 1.0)
fastimage (2.3.1)
fastlane (2.226.0)
fastimage (2.4.0)
fastlane (2.227.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.8, < 3.0.0)
artifactory (~> 3.0)
@@ -129,12 +130,12 @@ GEM
google-apis-core (>= 0.11.0, < 2.a)
google-apis-storage_v1 (0.31.0)
google-apis-core (>= 0.11.0, < 2.a)
google-cloud-core (1.7.1)
google-cloud-core (1.8.0)
google-cloud-env (>= 1.0, < 3.a)
google-cloud-errors (~> 1.0)
google-cloud-env (1.6.0)
faraday (>= 0.17.3, < 3.0)
google-cloud-errors (1.4.0)
google-cloud-errors (1.5.0)
google-cloud-storage (1.47.0)
addressable (~> 2.8)
digest-crc (~> 0.4)
@@ -152,15 +153,17 @@ GEM
highline (2.0.3)
http-cookie (1.0.8)
domain_name (~> 0.5)
httpclient (2.8.3)
httpclient (2.9.0)
mutex_m
jmespath (1.6.2)
json (2.9.1)
jwt (2.10.0)
json (2.10.2)
jwt (2.10.1)
base64
mini_magick (4.13.2)
mini_mime (1.1.5)
multi_json (1.15.0)
multipart-post (2.4.1)
mutex_m (0.3.0)
nanaimo (0.4.0)
naturally (2.2.1)
nkf (0.2.0)
@@ -174,10 +177,10 @@ GEM
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
retriable (3.1.2)
rexml (3.4.0)
rexml (3.4.1)
rouge (3.28.0)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
rubyzip (2.4.1)
security (0.1.5)
signet (0.19.0)
addressable (~> 2.8)
@@ -213,6 +216,7 @@ GEM
PLATFORMS
arm64-darwin-21
arm64-darwin-23
arm64-darwin-24
x86_64-darwin-19
x86_64-darwin-20

View File

@@ -10,14 +10,16 @@ struct Instance: Defaults.Serializable, Hashable, Identifiable {
let apiURLString: String
var frontendURL: String?
var proxiesVideos: Bool
var invidiousCompanion: Bool
init(app: VideosApp, id: String? = nil, name: String? = nil, apiURLString: String, frontendURL: String? = nil, proxiesVideos: Bool = false) {
init(app: VideosApp, id: String? = nil, name: String? = nil, apiURLString: String, frontendURL: String? = nil, proxiesVideos: Bool = false, invidiousCompanion: Bool = false) {
self.app = app
self.id = id ?? UUID().uuidString
self.name = name ?? app.rawValue
self.apiURLString = apiURLString
self.frontendURL = frontendURL
self.proxiesVideos = proxiesVideos
self.invidiousCompanion = invidiousCompanion
}
var apiURL: URL! {

View File

@@ -16,7 +16,8 @@ struct InstancesBridge: Defaults.Bridge {
"name": value.name,
"apiURL": value.apiURLString,
"frontendURL": value.frontendURL ?? "",
"proxiesVideos": value.proxiesVideos ? "true" : "false"
"proxiesVideos": value.proxiesVideos ? "true" : "false",
"invidiousCompanion": value.invidiousCompanion ? "true" : "false"
]
}
@@ -33,7 +34,8 @@ struct InstancesBridge: Defaults.Bridge {
let name = object["name"] ?? ""
let frontendURL: String? = object["frontendURL"]!.isEmpty ? nil : object["frontendURL"]
let proxiesVideos = object["proxiesVideos"] == "true"
let invidiousCompanion = object["invidiousCompanion"] == "true"
return Instance(app: app, id: id, name: name, apiURLString: apiURL, frontendURL: frontendURL, proxiesVideos: proxiesVideos)
return Instance(app: app, id: id, name: name, apiURLString: apiURL, frontendURL: frontendURL, proxiesVideos: proxiesVideos, invidiousCompanion: invidiousCompanion)
}
}

View File

@@ -79,6 +79,17 @@ final class InstancesModel: ObservableObject {
Defaults[.instances][index] = instance
}
func setInvidiousCompanion(_ instance: Instance, _ invidiousCompanion: Bool) {
guard let index = Defaults[.instances].firstIndex(where: { $0.id == instance.id }) else {
return
}
var instance = Defaults[.instances][index]
instance.invidiousCompanion = invidiousCompanion
Defaults[.instances][index] = instance
}
func remove(_ instance: Instance) {
let accounts = accounts(instance.id)
if let index = Defaults[.instances].firstIndex(where: { $0.id == instance.id }) {

View File

@@ -655,21 +655,29 @@ final class InvidiousAPI: Service, ObservableObject, VideosAPI {
if json["liveNow"].boolValue {
return hls
}
let videoId = json["videoId"].stringValue
return extractFormatStreams(from: json["formatStreams"].arrayValue) +
extractAdaptiveFormats(from: json["adaptiveFormats"].arrayValue) +
return extractFormatStreams(from: json["formatStreams"].arrayValue, videoId: videoId) +
extractAdaptiveFormats(from: json["adaptiveFormats"].arrayValue, videoId: videoId) +
hls
}
private func extractFormatStreams(from streams: [JSON]) -> [Stream] {
private func extractFormatStreams(from streams: [JSON], videoId: String?) -> [Stream] {
streams.compactMap { stream in
guard let streamURL = stream["url"].url else {
return nil
}
let finalURL: URL
if let videoId, let itag = stream["itag"].string, account.instance.invidiousCompanion {
let companionURLString = "\(account.instance.apiURLString)/latest_version?id=\(videoId)&itag=\(itag)"
finalURL = URL(string: companionURLString) ?? streamURL
} else {
finalURL = streamURL
}
return SingleAssetStream(
instance: account.instance,
avAsset: AVURLAsset(url: streamURL),
avAsset: AVURLAsset(url: finalURL),
resolution: Stream.Resolution.from(resolution: stream["resolution"].string ?? ""),
kind: .stream,
encoding: stream["encoding"].string ?? ""
@@ -677,36 +685,93 @@ final class InvidiousAPI: Service, ObservableObject, VideosAPI {
}
}
private func extractAdaptiveFormats(from streams: [JSON]) -> [Stream] {
let audioStreams = streams
func extractXTags(from urlString: String) -> [String: String] {
guard let urlComponents = URLComponents(string: urlString),
let queryItems = urlComponents.queryItems,
let xtagsValue = queryItems.first(where: { $0.name == "xtags" })?.value else {
return [:]
}
guard let decoded = xtagsValue.removingPercentEncoding else { return [:] }
// Parse key-value pairs (format: key1=value1:key2=value2)
// Example: "acont=dubbed-auto:lang=en-US"
let pairs = decoded.split(separator: ":")
var result: [String: String] = [:]
for pair in pairs {
let parts = pair.split(separator: "=", maxSplits: 1)
if parts.count == 2 {
result[String(parts[0])] = String(parts[1])
}
}
return result
}
private func extractAdaptiveFormats(from streams: [JSON], videoId: String?) -> [Stream] {
let audioTracks = streams
.filter { $0["type"].stringValue.starts(with: "audio/mp4") }
.sorted {
$0.dictionaryValue["bitrate"]?.int ?? 0 >
$1.dictionaryValue["bitrate"]?.int ?? 0
}
guard let audioStream = audioStreams.first else {
.compactMap { audioStream -> Stream.AudioTrack? in
guard let url = audioStream["url"].url,
let audioItag = audioStream["itag"].string
else { return nil }
let finalURL: URL
if let videoId, account.instance.invidiousCompanion {
let audioCompanionURLString = "\(account.instance.apiURLString)/latest_version?id=\(videoId)&itag=\(audioItag)"
finalURL = URL(string: audioCompanionURLString) ?? url
} else {
finalURL = url
}
let xTags = extractXTags(from: url.absoluteString)
return Stream.AudioTrack(
url: finalURL,
content: xTags["acont"],
language: xTags["lang"]
)
}
.sorted {
/// Always prefer original audio streams over dubbed ones
!$0.isDubbed && $1.isDubbed
}
guard !audioTracks.isEmpty else {
return .init()
}
let videoStreams = streams.filter { $0["type"].stringValue.starts(with: "video/") }
return videoStreams.compactMap { videoStream in
guard let audioAssetURL = audioStream["url"].url,
let videoAssetURL = videoStream["url"].url
guard let videoAssetURL = videoStream["url"].url,
let videoItag = videoStream["itag"].string
else {
return nil
}
let finalVideoURL: URL
if let videoId, account.instance.invidiousCompanion {
let videoCompanionURLString = "\(account.instance.apiURLString)/latest_version?id=\(videoId)&itag=\(videoItag)"
finalVideoURL = URL(string: videoCompanionURLString) ?? videoAssetURL
} else {
finalVideoURL = videoAssetURL
}
return Stream(
instance: account.instance,
audioAsset: AVURLAsset(url: audioAssetURL),
videoAsset: AVURLAsset(url: videoAssetURL),
audioAsset: AVURLAsset(url: audioTracks[0].url),
videoAsset: AVURLAsset(url: finalVideoURL),
resolution: Stream.Resolution.from(resolution: videoStream["resolution"].stringValue),
kind: .adaptive,
encoding: videoStream["encoding"].string,
videoFormat: videoStream["type"].string,
bitrate: videoStream["bitrate"].int,
requestRange: videoStream["init"].string ?? videoStream["index"].string
requestRange: videoStream["init"].string ?? videoStream["index"].string,
audioTracks: audioTracks
)
}
}

View File

@@ -591,7 +591,8 @@ final class PipedAPI: Service, ObservableObject, VideosAPI {
dislikes: details["dislikes"]?.int,
streams: extractStreams(from: content),
related: extractRelated(from: content),
chapters: extractChapters(from: content)
chapters: extractChapters(from: content),
captions: extractCaptions(from: content)
)
}
@@ -818,6 +819,24 @@ final class PipedAPI: Service, ObservableObject, VideosAPI {
return Chapter(title: title, image: image, start: start)
}
}
private func extractCaptions(from content: JSON) -> [Captions] {
content["subtitles"].arrayValue.compactMap { details in
guard let url = details["url"].url,
let code = details["code"].string,
let label = details["name"].string,
var components = URLComponents(url: url, resolvingAgainstBaseURL: false)
else { return nil }
components.queryItems = components.queryItems?.map { item in
item.name == "fmt" ? URLQueryItem(name: "fmt", value: "srt") : item
}
guard let newUrl = components.url else { return nil }
return Captions(label: label, code: code, url: newUrl)
}
}
private func contentItemsDictionary(from content: JSON) -> JSON {
if let key = Self.contentItemsKeys.first(where: { content.dictionaryValue.keys.contains($0) }),

View File

@@ -185,6 +185,10 @@ final class MPVBackend: PlayerBackend {
var audioSampleRate: String {
client?.audioSampleRate ?? "unknown"
}
var availableAudioTracks: [Stream.AudioTrack] {
stream?.audioTracks ?? []
}
init() {
clientTimer = .init(interval: .seconds(Self.timeUpdateInterval), mode: .infinite) { [weak self] _ in
@@ -243,6 +247,9 @@ final class MPVBackend: PlayerBackend {
let updateCurrentStream = {
DispatchQueue.main.async { [weak self] in
if self?.video?.id != video.id {
self?.model.selectedAudioTrackIndex = 0
}
self?.stream = stream
self?.video = video
self?.model.stream = stream
@@ -319,6 +326,7 @@ final class MPVBackend: PlayerBackend {
startPlaying()
}
stream.audioAsset = AVURLAsset(url: stream.audioTracks[stream.selectedAudioTrackIndex].url)
let fileToLoad = self.model.musicMode ? stream.audioAsset.url : stream.videoAsset.url
let audioTrack = self.model.musicMode ? nil : stream.audioAsset.url
@@ -728,4 +736,13 @@ final class MPVBackend: PlayerBackend {
logger.info("MPV backend received unhandled property: \(name)")
}
}
func switchAudioTrack(to index: Int) {
guard let stream, let video else { return }
stream.selectedAudioTrackIndex = index
model.saveTime { [weak self] in
self?.playStream(stream, of: video, preservingTime: true, upgrading: false)
}
}
}

View File

@@ -210,6 +210,14 @@ final class PlayerModel: ObservableObject {
var keyPressMonitor: Any?
#endif
@Published var selectedAudioTrackIndex = 0 {
didSet {
if oldValue != selectedAudioTrackIndex {
handleAudioTrackChange()
}
}
}
init() {
#if os(iOS)
isOrientationLocked = Defaults[.isOrientationLocked]
@@ -1467,4 +1475,12 @@ final class PlayerModel: ObservableObject {
}
}
#endif
private func handleAudioTrackChange() {
(backend as? MPVBackend)?.switchAudioTrack(to: selectedAudioTrackIndex)
}
var availableAudioTracks: [Stream.AudioTrack] {
(backend as? MPVBackend)?.availableAudioTracks ?? []
}
}

View File

@@ -191,6 +191,25 @@ class Stream: Equatable, Hashable, Identifiable {
return .unknown
}
}
struct AudioTrack: Hashable, Identifiable {
let id = UUID().uuidString
let url: URL
let content: String?
let language: String?
var displayLanguage: String {
LanguageCodes(rawValue: language ?? "")?.description.capitalized ?? language ?? "Unknown"
}
var description: String {
"\(displayLanguage) (\(content ?? "Unknown"))"
}
var isDubbed: Bool {
content?.lowercased().starts(with: "dubbed") ?? false
}
}
let id = UUID()
@@ -208,6 +227,8 @@ class Stream: Equatable, Hashable, Identifiable {
var videoFormat: String?
var bitrate: Int?
var requestRange: String?
var audioTracks: [AudioTrack] = []
var selectedAudioTrackIndex = 0
init(
instance: Instance? = nil,
@@ -220,7 +241,8 @@ class Stream: Equatable, Hashable, Identifiable {
encoding: String? = nil,
videoFormat: String? = nil,
bitrate: Int? = nil,
requestRange: String? = nil
requestRange: String? = nil,
audioTracks: [AudioTrack] = []
) {
self.instance = instance
self.audioAsset = audioAsset
@@ -233,6 +255,7 @@ class Stream: Equatable, Hashable, Identifiable {
format = .from(videoFormat ?? "")
self.bitrate = bitrate
self.requestRange = requestRange
self.audioTracks = audioTracks
}
var isLocal: Bool {

View File

@@ -11,6 +11,7 @@ enum LanguageCodes: String, CaseIterable {
case Greek = "el"
case English = "en"
case English_GB = "en-GB"
case English_US = "en-US"
case Spanish = "es"
case Persian = "fa"
case Finnish = "fi"
@@ -76,6 +77,8 @@ enum LanguageCodes: String, CaseIterable {
return "English"
case .English_GB:
return "English (United Kingdom)"
case .English_US:
return "English (United States)"
case .Spanish:
return "Spanish"
case .Persian:

View File

@@ -19,6 +19,7 @@ struct ControlsOverlay: View {
case increaseRate
case decreaseRate
case captions
case audioTrack
}
@FocusState private var focusedField: Field?
@@ -60,6 +61,15 @@ struct ControlsOverlay: View {
#endif
}
if !player.availableAudioTracks.isEmpty {
Section(header: controlsHeader("Audio Track".localized())) {
audioTrackButton
#if os(tvOS)
.focused($focusedField, equals: .audioTrack)
#endif
}
}
Section(header: controlsHeader("Stream & Player".localized())) {
qualityButton
#if os(tvOS)
@@ -438,6 +448,46 @@ struct ControlsOverlay: View {
}
)
}
@ViewBuilder private var audioTrackButton: some View {
#if os(macOS)
audioTrackPicker
.labelsHidden()
.frame(maxWidth: 300)
#elseif os(iOS)
Menu {
audioTrackPicker
} label: {
Text(player.availableAudioTracks[player.selectedAudioTrackIndex].displayLanguage)
.frame(maxWidth: 240, alignment: .trailing)
}
.transaction { t in t.animation = .none }
.buttonStyle(.plain)
.foregroundColor(.accentColor)
.frame(maxWidth: 240, alignment: .trailing)
.frame(height: 40)
#else
ControlsOverlayButton(focusedField: $focusedField, field: .audioTrack) {
Text(player.availableAudioTracks[player.selectedAudioTrackIndex].displayLanguage)
.frame(maxWidth: 320)
}
.contextMenu {
ForEach(Array(player.availableAudioTracks.enumerated()), id: \.offset) { index, track in
Button(track.description) { player.selectedAudioTrackIndex = index }
}
Button("Cancel", role: .cancel) {}
}
#endif
}
private var audioTrackPicker: some View {
Picker("", selection: $player.selectedAudioTrackIndex) {
ForEach(Array(player.availableAudioTracks.enumerated()), id: \.offset) { index, track in
Text(track.description).tag(index)
}
}
.transaction { t in t.animation = .none }
}
}
struct ControlsOverlay_Previews: PreviewProvider {

View File

@@ -22,6 +22,7 @@ struct PlaybackSettings: View {
case increaseRate
case decreaseRate
case captions
case audioTrack
}
@FocusState private var focusedField: Field?
@@ -112,6 +113,17 @@ struct PlaybackSettings: View {
#endif
}
if !player.availableAudioTracks.isEmpty {
HStack {
controlsHeader("Audio Track".localized())
Spacer()
audioTrackButton
#if os(tvOS)
.focused($focusedField, equals: .audioTrack)
#endif
}
}
HStack(spacing: 8) {
controlsHeader("Backend".localized())
Spacer()
@@ -453,6 +465,46 @@ struct PlaybackSettings: View {
}
.disabled(captions.isEmpty)
}
@ViewBuilder private var audioTrackButton: some View {
#if os(macOS)
audioTrackPicker
.labelsHidden()
.frame(maxWidth: 300)
#elseif os(iOS)
Menu {
audioTrackPicker
} label: {
Text(player.availableAudioTracks[player.selectedAudioTrackIndex].displayLanguage)
.frame(maxWidth: 240, alignment: .trailing)
}
.transaction { t in t.animation = .none }
.buttonStyle(.plain)
.foregroundColor(.accentColor)
.frame(maxWidth: 240, alignment: .trailing)
.frame(height: 40)
#else
ControlsOverlayButton(focusedField: $focusedField, field: .audioTrack) {
Text(player.availableAudioTracks[player.selectedAudioTrackIndex].displayLanguage)
.frame(maxWidth: 320)
}
.contextMenu {
ForEach(Array(player.availableAudioTracks.enumerated()), id: \.offset) { index, track in
Button(track.description) { player.selectedAudioTrackIndex = index }
}
Button("Cancel", role: .cancel) {}
}
#endif
}
private var audioTrackPicker: some View {
Picker("", selection: $player.selectedAudioTrackIndex) {
ForEach(Array(player.availableAudioTracks.enumerated()), id: \.offset) { index, track in
Text(track.description).tag(index)
}
}
.transaction { t in t.animation = .none }
}
}
struct PlaybackSettings_Previews: PreviewProvider {

View File

@@ -8,6 +8,7 @@ struct InstanceSettings: View {
@State private var frontendURL = ""
@State private var proxiesVideos = false
@State private var invidiousCompanion = false
var body: some View {
List {
@@ -87,6 +88,16 @@ struct InstanceSettings: View {
InstancesModel.shared.setProxiesVideos(instance, newValue)
}
}
if instance.app == .invidious {
invidiousCompanionToggle
.onAppear {
invidiousCompanion = instance.invidiousCompanion
}
.onChange(of: invidiousCompanion) { newValue in
InstancesModel.shared.setInvidiousCompanion(instance, newValue)
}
}
}
#if os(tvOS)
.frame(maxWidth: 1000)
@@ -101,6 +112,10 @@ struct InstanceSettings: View {
Toggle("Proxy videos", isOn: $proxiesVideos)
}
private var invidiousCompanionToggle: some View {
Toggle("Invidious companion", isOn: $invidiousCompanion)
}
private func removeAccount(_ account: Account) {
AccountsModel.remove(account)
accountsChanged.toggle()

View File

@@ -54,7 +54,7 @@
"Connected successfully (%@)" = "تم الاتصال بنجاح (%@)";
"Country" = "البلد";
"Country Name or Code" = "اسم الدولة أو الرمز";
"Copy %@ link" = "نسخ رابط %@";
"Copy %@ link" = "نسخ رابط%@";
"Contributing" = "المساهمة";
"Contact" = "التواصل";
"Continue from %@" = "الإستمرار من %@";

View File

@@ -502,3 +502,18 @@
"Playlist is empty\n\nTap and hold on a video and then \n\"Add to Playlist\"" = "La llista de reproducció està buida\n\nMantén premut un vídeo i després\n\"Afegir a la llista de reproducció\"";
"Open logs in Finder" = "Obriu els registres al Finder";
"No locations available at the moment" = "No hi ha ubicacions disponibles en aquest moment";
"File information" = "Informació del fitxer";
"Account already exists" = "El compte ja existeix";
"Your Accounts" = "Els vostres comptes";
"Cells" = "Cel·les";
"Lock" = "Bloca";
"Description" = "Descripció";
"Hide player" = "Amaga el reproductor";
"Disable filters" = "Desactiva els filtres";
"Show cache status" = "Mostra l'estat de la memòria cau";
"Cache" = "Memòria cau";
"List" = "Llista";
"Platform" = "Plataforma";
"Total size: %@" = "Mida total: %@";
"Close video" = "Tanca el vídeo";
"Podcasts" = "Pòdcasts";

View File

@@ -4,7 +4,7 @@
"Accounts" = "Konten";
"Add Account" = "Konto hinzufügen";
"Add Location" = "Ort hinzufügen";
"Add Location..." = "Ort hinzufügen …";
"Add Location..." = "Standort hinzufügen …";
"Add to Playlist" = "Zu Wiedergabeliste hinzufügen";
"Backend" = "Backend";
"Badge color" = "Markierungsfarbe";

View File

@@ -14,10 +14,10 @@
Video duration filter in search */
"Any" = "Cualquiera";
"Apply to all" = "Aplicar a todo";
"Are you sure you want to clear history of watched videos?" = "¿Estás seguro de que quieres borrar el historial de vídeos vistos?";
"Bugs and great feature ideas can be sent to the GitHub issues tracker. " = "Si descubres un error o tienes ideas, puedes enviarlas a través de los issues de GitHub. ";
"Are you sure you want to clear history of watched videos?" = "¿Confirma que quiere eliminar el historial de vídeos vistos?";
"Bugs and great feature ideas can be sent to the GitHub issues tracker. " = "Si descubre un error o tiene ideas, puede enviarlas a través de los informes de GitHub. ";
"Captions" = "Subtítulos";
"Categories to Skip" = "Categorías a omitir";
"Categories to Skip" = "Categorías para omitir";
"Chapters" = "Capítulos";
"Charging" = "Cargando";
"Clear" = "Limpiar";
@@ -37,23 +37,23 @@
"Country Name or Code" = "Nombre o código del país";
"Create Playlist" = "Crear lista de reproducción";
"10 seconds forwards/backwards" = "10 segundos hacia detrás/hacia delante";
"Add to Playlist" = "Añadir a playlist";
"Add to Playlist..." = "Añadir a playlist...";
"Add to Playlist" = "Añadir a lista";
"Add to Playlist..." = "Añadir a lista...";
"Advanced" = "Avanzado";
"Always use AVPlayer for live videos" = "Siempre usar AVPlayer para vídeos en vivo";
/* Trending category, section containing all kinds of videos */
"All" = "Todo";
"Anonymous" = "Anónimo";
"Backend" = "Backend";
"Are you sure you want to delete playlist?" = "¿Estás seguro de que quieres eliminar esta lista de reproducción?";
"Backend" = "Motor";
"Are you sure you want to delete playlist?" = "¿Confirma que quiere eliminar esta lista de reproducción?";
"Automatic" = "Automático";
"Badge" = "Insignia";
"Are you sure you want to clear search history?" = "¿Estás seguro de que quieres eliminar tu historial de búsqueda?";
"Are you sure you want to restore default quality profiles?" = "¿Estás seguro de que quieres restablecer los ajustes por defecto de los perfiles de calidad?";
"Are you sure you want to unsubscribe from %@?" = "¿Estás seguro de que quieres dejar de estar suscrito a %@?";
"Are you sure you want to clear search history?" = "¿Confirma que quiere eliminar el historial de búsquedas?";
"Are you sure you want to restore default quality profiles?" = "¿Confirma que quiere restablecer la configuración predeterminada de los perfiles de calidad?";
"Are you sure you want to unsubscribe from %@?" = "¿Confirma que quiere cancelar la suscripción a %@?";
"Cancel" = "Cancelar";
"Autoplaying Next" = "Autoreproducir el siguiente";
"Autoplaying Next" = "Reproducir siguiente automáticamente";
"Based on system color scheme" = "Basado en el tema del sistema";
"Clear Search History..." = "Limpiar el historial de búsqueda...";
"Battery" = "Batería";
@@ -120,7 +120,7 @@
"Explicit reminders to like, subscribe or interact with them on any paid or free platform(s) (e.g. click on a video)." = "Solicitudes explícitas para dar me gusta, suscribirse o interactuar con ellos en una o más plataformas gratuitas o de pago (por ejemplo, hacer clic en un vídeo).";
"Formats will be selected in order as listed.\nHLS is an adaptive format (resolution setting does not apply)." = "Los formatos se seleccionarán en orden como se indica.\nHLS es un formato adaptable (no aplica la configuración de resolución).";
"Fullscreen size" = "Tamaño de pantalla completa";
"Badge & Decreased opacity" = "Insignia y opacidad dosminuída";
"Badge & Decreased opacity" = "Insignia y opacidad disminuida";
"Browsing" = "Navegando por";
"Buffering stream..." = "Cargando flujo de datos...";
"Cellular" = "Celular";
@@ -161,10 +161,10 @@
"Left" = "Izquierda";
"Video Details" = "Datalles del Video";
"Only for local files and URLs" = "olo para archivos locales y URLs";
"\"%@\" will be irreversibly removed from this device." = "\"%@\" se eliminado irreversiblemente de este dispositivo.";
"\"%@\" will be irreversibly removed from this device." = "«%@» se elimina irreversiblemente de este dispositivo.";
/* Player controls layout size */
"Small" = "Achicar";
"Small" = "Pequeño";
"Now Playing" = "Reproduciendo";
"Stream & Player" = "Transmisión y reproductor";
"Picture in Picture" = "Imagen en imagen";
@@ -184,15 +184,15 @@
"Verified" = "Verificado";
"History" = "Historial";
"Locations Manifest" = "Manifiesto de ubicaciones";
"Playlist is empty\n\nTap and hold on a video and then \n\"Add to Playlist\"" = "La lista de reproducción está vacía\n\nToca y mantén presionado un video y luego \n\"Agregar a la lista de reproducción\"";
"Playlist is empty\n\nTap and hold on a video and then \n\"Add to Playlist\"" = "La lista de reproducción está vacía\n\nToque y mantenga presionado un vídeo y luego\n«Añadir a la lista de reproducción»";
"Play Now" = "Reproducir ahora";
"Enter link to open" = "Introduce el enlace para abrir";
"Share..." = "Compartir...";
"Restore default profiles..." = "Restaurar perfiles predeterminados...";
"Round corners" = "Esquinas redondeadas";
"SponsorBlock" = "Bloque Patrocinador";
"SponsorBlock" = "SponsorBlock";
"Statistics" = "Estadísticas";
"Matrix Channel" = "Canal matriz";
"Matrix Channel" = "Canal de Matrix";
"More info can be found in:" = "Se puede encontrar más información en:";
"Resolution" = "Resolución";
"Open Videos" = "Abrir Videos";
@@ -215,7 +215,7 @@
"Show playback statistics" = "Mostrar estadísticas de reproducción";
"Remove Location" = "Eliminar ubicación";
"Inspector visibility" = "Visibilidad del inspector";
"Open \"Playlists\" tab to create new one" = "Abra la pestaña \"Listas de reproducción\" para crear una nueva";
"Open \"Playlists\" tab to create new one" = "Abra la pestaña «Listas» para crear una lista de reproducción";
"Show Inspector" = "Mostrar inspector";
/* Video date filter in search */
@@ -234,7 +234,7 @@
"Play in PiP" = "Reproducir en PiP";
/* SponsorBlock category name */
"Sponsor" = "Sponsor";
"Sponsor" = "Patrocinador";
"Rate" = "Valorar";
"Reload manifest" = "Recargar manifiesto";
"Playback queue is empty" = "La cola de reproducción está vacía";
@@ -242,7 +242,7 @@
/* Selected video was played on given date */
"Watched %@" = "Visto %@";
"You have no playlists\n\nTap on \"New Playlist\" to create one" = "No tienes listas de reproducción\n\nToca \"Nueva lista de reproducción\" para crear una";
"You have no playlists\n\nTap on \"New Playlist\" to create one" = "No tiene listas de reproducción\n\nToque «Lista nueva» para crear una";
"I like this app!" = "¡Me gusta esta aplicación!";
/* Video sort order in search */
@@ -265,7 +265,7 @@
"Shuffle" = "Mezclar";
/* Loading stream OSD */
"Loading streams…" = "Cargando secuencias…";
"Loading streams…" = "Cargando transmisiones…";
"Public Locations" = "Ubicaciones públicas";
"Yattee" = "Yattee";
"No results" = "No hay resultados";
@@ -310,7 +310,7 @@
"Honor orientation lock" = "Bloqueo de orientación de honor";
"I found a bug /" = "Encontré un error /";
"I have a feature request" = "Tengo una solicitud de una nueva función";
"LIVE" = "VIVO";
"LIVE" = "EN VIVO";
/* Video duration filter in search */
"Long" = "Largo";
@@ -378,15 +378,15 @@
"Low" = "Baja";
"Mark as watched" = "Marcar como visto";
"Mark video as watched after playing" = "Marcar video como visto después de reproducirlo";
"Mark watched videos with" = "Marar videos vistos con";
"Matrix Chat" = "Chat matriz";
"Mark watched videos with" = "Marcar videos vistos con";
"Matrix Chat" = "Chat de Matrix";
"Milestones" = "Hitos";
"No description" = "Sin descripción";
"No Playlists" = "Sin listas de reproducción";
"Not Playing" = "Nada reproduciendo";
"Normal" = "Normal";
"Nothing" = "Nada";
"Only when signed in" = "Solo cuando estás registrado";
"Only when signed in" = "Solo al acceder a una cuenta";
"Open Settings" = "Abrir configuración";
"Player" = "Reproductor";
"Pause" = "Pausar";
@@ -394,7 +394,7 @@
"Play Music" = "Reproducir música";
"Play Next" = "Reproducir siguiente";
"Playlist" = "Lista de reproducción";
"Playlist \"%@\" will be deleted.\nIt cannot be reverted." = "Se eliminará la lista de reproducción \"%@\".\nNo se puede revertir.";
"Playlist \"%@\" will be deleted.\nIt cannot be reverted." = "Se eliminará la lista de reproducción «%@».\nNo se puede revertir.";
"Playlists" = "Listas de reproducción";
"Popular" = "Popular";
"Proxy videos" = "Utilizar un proxy para ver los vídeos";
@@ -419,7 +419,7 @@
/* Player controls layout size */
"Smaller" = "Más pequeño";
"Source" = "Fuente";
"SponsorBlock API Instance" = "Instancia de API del bloque Sponsor";
"SponsorBlock API Instance" = "Instancia de API de SponsorBlock";
"Subscribe" = "Suscribir";
/* Subscriptions title */
@@ -587,12 +587,12 @@
"Your Accounts" = "Tus cuentas";
"Description" = "Descripción";
"Maximum feed items" = "Número máximo de elementos en el feed";
"Are you sure you want to remove %@ from Favorites?" = "¿Estás seguro de que quieres eliminar %@ de favoritos?";
"Are you sure you want to remove %@ from Favorites?" = "¿Confirma que quiere quitar %@ de Favoritos?";
"Limit" = "Límite";
"Keep channels with unwatched videos on top of subscriptions list" = "Mantén los canales con los vídeos sin ver en la parte superior de la lista de suscripciones";
"(shorts hidden)" = "(cortos ocultos)";
"Disable filters" = "Desactivar los filtros";
"Podcasts" = "Podcasts";
"Podcasts" = "Pódcast";
"Releases" = "Lanzamientos";
"Show channel avatars in channels lists" = "Mostrar los avatares de los canales en las listas de los canales";
"Play Now in MPV" = "Reproducir ahora en MPV";
@@ -609,7 +609,7 @@
"Other" = "Otro";
"Other data" = "Información adicional";
"Export..." = "Exportar…";
"Are you sure you want to export unencrypted passwords?" = "¿Estás seguro de que quieres exportar las contraseñas sin cifrar?";
"Are you sure you want to export unencrypted passwords?" = "¿Confirma que quiere exportar las contraseñas sin cifrar?";
"Export" = "Exportar";
"Build" = "Compilación";
"Platform" = "Plataforma";

View File

@@ -9,7 +9,7 @@
"No results" = "Nincsenek találatok";
"No Playlists" = "Nincsenek lejátszási listák";
"Mark video as watched after playing" = "Jelölje meg a videót megtekintettként lejátszás után";
"Mark watched videos with" = "Videó megtekintettnek jelölése a következővel";
"Mark watched videos with" = "Megtekintett videók megjelölése a következővel";
"Matrix Channel" = "Matrix csatorna";
"Find Other" = "Egyebek keresése";
"Hour" = "Óra";
@@ -50,13 +50,13 @@
"Add Location..." = "Hely hozzáadása..";
"Add profile..." = "Profil hozzáadása...";
"Add Quality Profile" = "Minőségi profil hozzáadása";
"Add to %@" = "Hozzáadás a %@-hoz";
"Add to %@" = "Hozzáadás a következőhöz: %@";
"Add to Favorites" = "Hozzáadás a kedvencekhez";
"Add to Playlist" = "Hozzáadás a lejátszási listához";
"Add to Playlist..." = "Hozzáadás a lejátszási listához...";
"Advanced" = "Speciális";
"All" = "Összes";
"Always use AVPlayer for live videos" = "Mindig az AVPlayer-t használjon az élő videókhoz";
"Always use AVPlayer for live videos" = "Mindig az a AVPlayer-t használja az élő videókhoz";
"Anonymous" = "Névtelen";
"Any" = "Bármely";
"Apply to all" = "Alkalmazás az összesre";
@@ -105,7 +105,7 @@
"Contact" = "Névjegy";
"Continue" = "Folytatás";
"Close video after playing last in the queue" = "Videó bezárása a várólistában lévő utolsó lejátszás után";
"Continue from %@" = "Folytatás %@-tól";
"Continue from %@" = "Folytatás ettől: %@";
"Contributing" = "Közreműködés";
"Controls" = "Vezérlők";
"Copy %@ link" = "%@ hivatkozás másolása";
@@ -122,7 +122,7 @@
"Delete" = "Törlés";
"Disabled" = "Letiltva";
"Discord Server" = "Discord-kiszolgáló";
"Discussions take place in Discord and Matrix. It's a good spot for general questions." = "A megbeszélések a Discordon és a Matrixon zajlanak. Ez egy jó hely az általános kérdésekre.";
"Discussions take place in Discord and Matrix. It's a good spot for general questions." = "A beszélgetések a Discordon és a Matrixon zajlanak. Ez egy jó hely az általános kérdésekre.";
"Could not load locations manifest" = "Nem sikerült betölteni a helyek listáját";
"Don't use public locations" = "Ne használjon nyilvános helyeket";
"Donations" = "Adományok";
@@ -180,7 +180,7 @@
"Low" = "Alacsony";
"Low quality" = "Alacsony minőség";
"Lowest" = "Legalacsonyabb";
"Mark as watched" = "Megtekintettnek jelölés";
"Mark as watched" = "Jelölés megtekintettnek";
"Matrix Chat" = "Matrix csevegés";
"Medium" = "Közepes";
"Medium quality" = "Közepes minőség";
@@ -215,7 +215,7 @@
"Play Music" = "Zene lejátszása";
"Play Next" = "Következő lejátszása";
"Play Now" = "Lejátszás most";
"Playback" = "Lejátszás";
"Playback" = "Visszajátszás";
"Player" = "Lejátszó";
"Playlist" = "Lejátszási lista";
"Playlist \"%@\" will be deleted.\nIt cannot be reverted." = "A(z) „%@” lejátszási lista törlésre kerül.\nEzt nem lehet visszaállítani.";
@@ -395,9 +395,9 @@
"Open Video" = "Videó megnyitása";
"Default Profile" = "Alapértelmezett profil";
"Share%@link" = "%@ hivatkozás megosztása";
"\"%@\" will be irreversibly removed from this device." = "A „%@” visszavonhatatlanul eltávolításra kerül erről az eszközről.";
"\"%@\" will be irreversibly removed from this device." = "A(z) „%@” visszavonhatatlanul eltávolításra kerül erről az eszközről.";
"Could not delete document" = "A dokumentum törlése nem sikerült";
"Are you sure you want to remove %@ location?" = "Biztosan el akarja távolítani a %@ helyet?";
"Are you sure you want to remove %@ location?" = "Biztosan törölni szeretné a(z) %@ helyet?";
"Live Streams" = "Élő közvetítések";
"Verified" = "Ellenőrzött";
"Channel" = "Csatorna";
@@ -419,7 +419,7 @@
"Controls button: forwards" = "Vezérlőgomb: előre";
"Gesture: backwards" = "Gesztus: hátra";
"Hide player" = "Lejátszó elrejtése";
"Gesture settings control skipping interval for remote arrow buttons (for 2nd generation Siri Remote or newer). Changing system controls settings requires restart." = "A gesztusbeállítások szabályozzák az ugrási intervallumot a távirányítón lévő nyíl gomboknál (a 2. generációs Siri Remote vagy újabb eszközök esetén). A rendszervezérlők beállításainak módosítása újraindítást igényel.";
"Gesture settings control skipping interval for remote arrow buttons (for 2nd generation Siri Remote or newer). Changing system controls settings requires restart." = "A gesztusbeállítások vezérlik a kihagyási időközt a távirányítón található nyíl gombok számára (a 2. generációs Siri Remote vagy újabb modellek esetén). A rendszervezérlők beállításainak módosítása újraindítást igényel.";
"Actions Buttons" = "Műveleti gombok";
"Play next item" = "Következő elem lejátszása";
"Lock orientation" = "Tájolás zárolása";
@@ -442,22 +442,22 @@
"Mark all as unwatched" = "Jelölje meg az összeset nem megtekintettnek";
"Playback Settings" = "Lejátszási beállítások";
"Mark all as watched" = "Jelölje meg az összeset megtekintettnek";
"Replay" = "Visszajátszás";
"Replay" = "Újrajátszás";
"Fullscreen" = "Teljes képernyő";
"Lock" = "Zárolás";
"Description" = "Leírás";
"Loop one" = "Ismétlés egyesével";
"Autoplay next" = "Következő automatikus lejátszása";
"Stream" = "Közvetítés";
"Enter location address to connect..." = "Adja meg a hely címét a csatlakozáshoz...";
"Enter location address to connect..." = "Adja meg a hely címét a kapcsolódáshoz...";
"Seek" = "Keresés";
"Opened File" = "Megnyitott fájl";
"File Extension" = "Fájl kiterjesztés";
"File Extension" = "Fájl kiterjesztése";
"Opening file…" = "Fájl megnyitása…";
"Public account" = "Nyilvános fiók";
"Your Accounts" = "Az Ön fiókjai";
"Your Accounts" = "Saját fiókok";
"Close video and player on end" = "A videó és a lejátszó bezárása a lejátszás befejeztével";
"Use system controls with AVPlayer" = "A rendszervezérlők használata az AVPlayerrel";
"Use system controls with AVPlayer" = "A rendszervezérlők használata az AVPlayer-rel";
"Landscape left" = "Fekvő balra";
"Landscape right" = "Fekvő jobbra";
"No rotation" = "Nincs forgatás";
@@ -492,7 +492,7 @@
"Mark channel feed as unwatched" = "Jelölje meg a csatorna hírfolyamot nem megtekintettként";
"Tap and hold channel thumbnail to open context menu with more actions" = "Koppintson és tartsa lenyomva a csatorna miniatűrjét a további műveletekhez tartozó kontextusmenü megnyitásához";
"Controls button: backwards" = "Vezérlőgomb: hátra";
"Enter account credentials to connect..." = "Adja meg a fiók hitelesítő adatait a csatlakozáshoz...";
"Enter account credentials to connect..." = "Adja meg a fiók hitelesítő adatait a kapcsolódáshoz...";
"Show scroll to top button in comments" = "Görgetés a tetejére gomb megjelenítése a hozzászólásokban";
"Browse without account" = "Böngészés fiók nélkül";
"Watched: visible" = "Megtekintettek: láthatóak";
@@ -500,7 +500,7 @@
"Playback history is empty" = "A lejátszási előzmények üresek";
"Right" = "Jobb";
"Gesture: fowards" = "Gesztus: előre";
"Gesture settings control skipping interval for double click on left/right side of the player. Changing system controls settings requires restart." = "A gesztusbeállítások szabályozzák az ugrási intervallumot a dupla kattintásnál a lejátszó bal és jobb oldalán. A rendszervezérlők beállításainak módosítása újraindítást igényel.";
"Gesture settings control skipping interval for double click on left/right side of the player. Changing system controls settings requires restart." = "A gesztusbeállítások vezérlik a kihagyási időközt a lejátszó bal/jobb oldalán történő dupla kattintás esetén. A rendszervezérlők beállításainak módosítása újraindítást igényel.";
"Open channel" = "Csatorna megnyitása";
"Inspector" = "Felügyelő";
"Copy%@link" = "%@ hivatkozás másolása";
@@ -518,16 +518,16 @@
"Share" = "Megosztás";
"Play all unwatched" = "Összes nem megtekintettek lejátszása";
"Available" = "Elérhető";
"Gesture settings control skipping interval for double tap gesture on left/right side of the player. Changing system controls settings requires restart." = "A gesztusbeállítások vezérlik a dupla koppintás gesztus ugrási intervallumát a lejátszó bal és jobb oldalán. A rendszervezérlő beállításainak módosítása újraindítást igényel.";
"Gesture settings control skipping interval for double tap gesture on left/right side of the player. Changing system controls settings requires restart." = "A gesztusbeállítások vezérlik a kihagyási időközt a lejátszó bal/jobb oldalán végzett kétszeri érintéses gesztus számára. A rendszervezérlők beállításainak módosítása újraindítást igényel.";
"Pages buttons" = "Oldalak gombjai";
"Only for local files and URLs" = "Csak helyi fájlok és webcímek esetén";
"Are you sure you want to remove this document?" = "Biztosan el akarja távolítani ezt a dokumentumot?";
"Are you sure you want to remove this document?" = "Biztosan törölni szeretné ezt a dokumentumot?";
"Rotate when entering fullscreen on landscape video" = "Forduljon el fekvő módba teljes képernyőre váltáskor";
"Limit" = "Limit";
"Are you sure you want to remove %@ from Favorites?" = "Biztosan el akarja távolítani a(z) %@-t a Kedvencek közül?";
"Are you sure you want to remove %@ from Favorites?" = "Biztosan törölni szeretné a(z) %@-t a Kedvencek közül?";
"Keep channels with unwatched videos on top of subscriptions list" = "A nem megtekintett videókkal rendelkező csatornák a feliratkozási lista tetején maradnak";
"Show video context menu options to force selected backend" = "Videó kontextusmenü beállításainak megjelenítése a kiválasztott háttérprogram kikényszerítéséhez";
"Play Now in AVPlayer" = "Lejátszás az AVPlayerben";
"Play Now in AVPlayer" = "Lejátszás az AVPlayer-ben";
"Play Now in MPV" = "Lejátszás az MPV-ben";
"Show channel avatars in videos lists" = "Csatorna profilképek megjelenítése a videók listájában";
"Export" = "Exportálás";
@@ -537,7 +537,7 @@
"Action button labels" = "Művelet gombok feliratai";
"Build" = "Összeállítási szám";
"Icon and text" = "Ikon és szöveg";
"Custom Location already exists" = "Egyéni hely már létezik";
"Custom Location already exists" = "Az egyéni hely már létezik";
"Account already exists" = "A fiók már létezik";
"Export in progress..." = "Exportálás folyamatban...";
"In progress..." = "Folyamatban…";
@@ -554,11 +554,11 @@
"Other data" = "Egyéb adat";
"Do not share this file with anyone or you can lose access to your accounts. If you don't select to export passwords you will be asked to provide them during import" = "Ne ossza meg ezt a fájlt senkivel, különben elveszítheti hozzáférését a fiókjaihoz. Ha nem választja a jelszavak exportálását, akkor az importálás során meg kell adnia azokat";
"Password required to import" = "Jelszó szükséges az importáláshoz";
"Custom Location selected for import" = "Importáláshoz kiválasztott egyéni hely";
"Custom Location selected for import" = "Az importáláshoz kiválasztott egyéni hely";
"Password saved in import file" = "Az importfájlba mentett jelszó";
"Export..." = "Exportálás…";
"Show channel avatars in channels lists" = "Csatorna profilképek megjelenítése a csatornák listájában";
"Import Settings..." = "Beállítások importálása...";
"Custom Location not selected for import" = "Egyéni hely nincs kiválasztva az importáláshoz";
"Custom Location not selected for import" = "Nincs kiválasztva egyéni hely az importáláshoz";
"Export Settings" = "Beállítások exportálása";
"Add %@" = "%@ hozzáadása";

View File

@@ -68,3 +68,20 @@
"Close PiP and open player when application enters foreground" = "애플리케이션이 포그라운드에 진입하면 PiP를 닫고 플레이어를 열기";
"Close PiP when player is opened" = "플레이어가 열리면 PiP 닫기";
"Close PiP when starting playing other video" = "다른 동영상 재생을 시작하면 PiP 닫기";
"Error when accessing playlist" = "플레이리스트 연결 도중 오류 발생";
"Hide sidebar" = "사이드바 숨기기";
"Close video after playing last in the queue" = "마지막 동영상 재생 후 , 영상 닫기";
"Comments" = "댓글";
"Connection failed" = "연결 실패";
"Contact" = "연락처";
"Create Playlist" = "재생목록 생성";
"Donations" = "후원";
"Done" = "완료";
"Don't use public locations" = "공공장소에서 사용하지 마십시오";
"I have a feature request" = "기능 제안하기";
"I like this app!" = "저는 이 앱이 좋습니다!";
"I want to ask a question" = "질문하기";
"Just watched" = "방금 시청한 동영상";
"Mark as watched" = "시청 완료로 표시하기";
"Mark video as watched after playing" = "동영상 시청 후에 시청 완료 표시하기";
"Continue" = "다음";

View File

@@ -237,12 +237,12 @@
/* Video date filter in search */
"Today" = "Hoje";
"Trending" = "Em Alta";
"Unsubscribe" = "Desinscrever";
"Unsubscribe" = "Desinscrever-se";
"Upload date" = "Data de upload";
/* Video date filter in search */
"Week" = "Semana";
"Subscribe" = "Inscrever";
"Subscribe" = "Inscrever-se";
"Thumbnails" = "Miniaturas";
"Typically near or at the end of the video when the credits pop up and/or endcards are shown." = "Geralmente perto do final ou final do vídeo quando os créditos aparecem e/ou os cartões finais são exibidos.";
"unknown" = "desconhecido";
@@ -406,7 +406,7 @@
"Country" = "País";
"Clear All" = "Limpar Tudo";
"Clear All Recents" = "Limpar Todos os Recentes";
"Explicit reminders to like, subscribe or interact with them on any paid or free platform(s) (e.g. click on a video)." = "Lembretes explícitos de dar like, se inscrever ou interagir com eles em qualquer plataforma, paga ou grátis (p.ex. clicar em um vídeo).";
"Explicit reminders to like, subscribe or interact with them on any paid or free platform(s) (e.g. click on a video)." = "Lembretes explícitos de curtir, se inscrever ou interagir com eles em qualquer plataforma, paga ou grátis (p.ex. clicar em um vídeo).";
"Duration" = "Duração";
"Edit Quality Profile" = "Editar Perfil de Qualidade";
"Discussions take place in Discord and Matrix. It's a good spot for general questions." = "Discussões acontecem no Discord e no Matrix. É um bom lugar para perguntas gerais.";
@@ -537,7 +537,7 @@
"Gesture: backwards" = "Gesto: para trás";
"Always show controls buttons" = "Sempre mostrar botões de controle";
"Controls button: forwards" = "Botão de controle: para frente";
"Subscribe/Unsubscribe" = "Inscrever/Desinscrever";
"Subscribe/Unsubscribe" = "Inscrever-se/Desinscrever-se";
"Are you sure you want to clear cache?" = "Tem certeza que deseja limpar o cache?";
"Gesture settings control skipping interval for double click on left/right side of the player. Changing system controls settings requires restart." = "As configurações de gesto controlam o intervalo de pulo para o clique duplo no lado direito/esquerdo do player. Mudar as configurações dos controles do sistema requer reinício.";
"Loop one" = "Um em loop";

View File

@@ -300,14 +300,14 @@
"Rate & Captions" = "Puan ve Altyazılar";
"Format" = "Format";
"Right" = "Sağ";
"Stream FPS" = "";
"Stream FPS" = "Yayın FPSi";
"Cached time" = "Önbelleğe alınan zaman";
"Sign In Required" = "Giriş yapmanız gerekiyor";
"Could not create share link" = "Paylaş linki oluşturulamadı";
"Locations Manifest" = "";
"When partially watched video is played" = "Video kısmi olarak izlendiyse";
"Open Video" = "Video aç";
"Add Channels, Playlists and Searches to Favorites using" = "";
"Add Channels, Playlists and Searches to Favorites using" = "Kanallar, oynatma listeleri ve favorileri aramayı ekleyin";
"Always" = "Her zaman";
/* Video date filter in search */
@@ -357,7 +357,7 @@
"Could not delete document" = "Belge silinemedi";
"No comments" = "Yorum yok";
"Could not open Files" = "Dosyalar açılamadı";
"You need to select an account\nto access %@ section" = "";
"You need to select an account\nto access %@ section" = "%@ kesitine erişebilmek için \nbir hesap seçmeniz gerekiyor";
"Reload manifest" = "Yeniden Yükle";
"Could not refresh Subscriptions" = "Abonelikler yenilenemedi";
@@ -423,7 +423,7 @@
"Show sidebar when space permits" = "Alan olduğu sürece kenar çubuğunu göster";
"System controls buttons" = "Sistem kontrol butonları";
"Could not extract channel information" = "Kanal bilgisi çıkarılamadı";
"Public Locations" = "";
"Public Locations" = "Herkese Açık Alanlar";
"You can find information about using Yattee in the Wiki pages." = "Wiki sayfalarında Yattee kullanımı hakkında bilgilere erişebilirsiniz.";
/* Player controls layout size */
@@ -440,7 +440,7 @@
"Smaller" = "Küçült";
"Sort" = "Sırala";
"This cannot be reverted" = "Geriye alınamaz";
"Public Manifest" = "";
"Public Manifest" = "Herkese Açık Bildiri";
"You have no Playlists" = "Çalma listeniz bulunmamaktadır";
"Watched" = "İzlendi";
"Could not open video" = "Video açılamadı";
@@ -461,7 +461,7 @@
"Current Location" = "Şuanki konum";
"Stream & Player" = "Yayın ve Oynatıcı";
"Hardware decoder" = "Donanımsal çözücü";
"Honor orientation lock" = "";
"Honor orientation lock" = "Yön kilidine sadık kal";
"Seek with horizontal swipe on video" = "Video üzerinde yatay kaydırma";
"Segments typically found at the start of a video that include an animation, still frame or clip which are also seen in other videos by the same creator." = "Genellikle bir videonun başlangıcında bulunan ve aynı içerik oluşturucunun diğer videolarında da görülen bir animasyon, sabit kare veya klip içeren kısımlar.";
"Switch to public locations" = "Herkese açık konumlara geç";

View File

@@ -4109,7 +4109,7 @@
CODE_SIGN_ENTITLEMENTS = "Open in Yattee/Open in Yattee.entitlements";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 198;
CURRENT_PROJECT_VERSION = 202;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "Open in Yattee/Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = "Open in Yattee";
@@ -4140,7 +4140,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 198;
CURRENT_PROJECT_VERSION = 202;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 78Z5H3M6RJ;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "Open in Yattee/Info.plist";
@@ -4171,7 +4171,7 @@
buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 198;
CURRENT_PROJECT_VERSION = 202;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
MACOSX_DEPLOYMENT_TARGET = 11.0;
@@ -4191,7 +4191,7 @@
buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 198;
CURRENT_PROJECT_VERSION = 202;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
MACOSX_DEPLOYMENT_TARGET = 11.0;
@@ -4355,7 +4355,7 @@
CODE_SIGN_ENTITLEMENTS = "iOS/Yattee (iOS).entitlements";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 198;
CURRENT_PROJECT_VERSION = 202;
ENABLE_PREVIEWS = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
@@ -4408,7 +4408,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 198;
CURRENT_PROJECT_VERSION = 202;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 78Z5H3M6RJ;
ENABLE_PREVIEWS = YES;
GCC_PREPROCESSOR_DEFINITIONS = "GLES_SILENCE_DEPRECATION=1";
@@ -4461,7 +4461,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 198;
CURRENT_PROJECT_VERSION = 202;
DEAD_CODE_STRIPPING = YES;
ENABLE_APP_SANDBOX = YES;
ENABLE_HARDENED_RUNTIME = YES;
@@ -4500,7 +4500,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "3rd Party Mac Developer Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 198;
CURRENT_PROJECT_VERSION = 202;
DEAD_CODE_STRIPPING = YES;
"DEVELOPMENT_TEAM[sdk=macosx*]" = 78Z5H3M6RJ;
ENABLE_APP_SANDBOX = YES;
@@ -4535,7 +4535,7 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 198;
CURRENT_PROJECT_VERSION = 202;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
@@ -4558,7 +4558,7 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 198;
CURRENT_PROJECT_VERSION = 202;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
@@ -4583,7 +4583,7 @@
buildSettings = {
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 198;
CURRENT_PROJECT_VERSION = 202;
DEAD_CODE_STRIPPING = YES;
GENERATE_INFOPLIST_FILE = YES;
LD_RUNPATH_SEARCH_PATHS = (
@@ -4607,7 +4607,7 @@
buildSettings = {
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 198;
CURRENT_PROJECT_VERSION = 202;
DEAD_CODE_STRIPPING = YES;
GENERATE_INFOPLIST_FILE = YES;
LD_RUNPATH_SEARCH_PATHS = (
@@ -4633,7 +4633,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 198;
CURRENT_PROJECT_VERSION = 202;
DEVELOPMENT_ASSET_PATHS = "";
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
@@ -4649,7 +4649,7 @@
"@executable_path/Frameworks",
);
LIBRARY_SEARCH_PATHS = "$(inherited)";
MARKETING_VERSION = 1.5.2;
MARKETING_VERSION = 1.5.3;
OTHER_LDFLAGS = (
"-Wl,-no_compact_unwind",
"-lstdc++",
@@ -4673,7 +4673,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 198;
CURRENT_PROJECT_VERSION = 202;
DEVELOPMENT_ASSET_PATHS = "";
"DEVELOPMENT_TEAM[sdk=appletvos*]" = 78Z5H3M6RJ;
ENABLE_PREVIEWS = YES;
@@ -4690,7 +4690,7 @@
"@executable_path/Frameworks",
);
LIBRARY_SEARCH_PATHS = "$(inherited)";
MARKETING_VERSION = 1.5.2;
MARKETING_VERSION = 1.5.3;
OTHER_LDFLAGS = (
"-Wl,-no_compact_unwind",
"-lstdc++",
@@ -4713,7 +4713,7 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 198;
CURRENT_PROJECT_VERSION = 202;
GENERATE_INFOPLIST_FILE = YES;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
@@ -4736,7 +4736,7 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 198;
CURRENT_PROJECT_VERSION = 202;
GENERATE_INFOPLIST_FILE = YES;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",

View File

@@ -51,8 +51,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/SDWebImage/libwebp-Xcode.git",
"state" : {
"revision" : "b2b1d20a90b14d11f6ef4241da6b81c1d3f171e4",
"version" : "1.3.2"
"revision" : "0d60654eeefd5d7d2bef3835804892c40225e8b2",
"version" : "1.5.0"
}
},
{
@@ -105,8 +105,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/SDWebImage/SDWebImage",
"state" : {
"revision" : "10d06f6a33bafae8c164fbfd1f03391f6d4692b3",
"version" : "5.20.0"
"revision" : "cac9a55a3ae92478a2c95042dcc8d9695d2129ca",
"version" : "5.21.0"
}
},
{
@@ -150,8 +150,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-log.git",
"state" : {
"revision" : "96a2f8a0fa41e9e09af4585e2724c4e825410b91",
"version" : "1.6.2"
"revision" : "3d8596ed08bd13520157f0355e35caed215ffbfa",
"version" : "1.6.3"
}
},
{

View File

@@ -11,6 +11,7 @@ struct InstancesSettings: View {
@State private var frontendURL = ""
@State private var proxiesVideos = false
@State private var invidiousCompanion = false
@Environment(\.colorScheme) private var colorScheme
@ObservedObject private var accounts = AccountsModel.shared
@@ -105,6 +106,16 @@ struct InstancesSettings: View {
}
}
if selectedInstance != nil, selectedInstance.app == .invidious {
invidiousCompanionToggle
.onAppear {
invidiousCompanion = selectedInstance.invidiousCompanion
}
.onChange(of: invidiousCompanion) { newValue in
InstancesModel.shared.setInvidiousCompanion(selectedInstance, newValue)
}
}
if selectedInstance != nil, !selectedInstance.app.supportsAccounts {
Spacer()
Text("Accounts are not supported for the application of this instance")
@@ -191,6 +202,10 @@ struct InstancesSettings: View {
private var proxiesVideosToggle: some View {
Toggle("Proxy videos", isOn: $proxiesVideos)
}
private var invidiousCompanionToggle: some View {
Toggle("Invidious companion", isOn: $invidiousCompanion)
}
}
struct InstancesSettingsView_Previews: PreviewProvider {