mirror of
https://github.com/KRTirtho/spotube.git
synced 2026-03-22 00:24:16 +00:00
Compare commits
8 Commits
7ad2066684
...
25bafe1756
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
25bafe1756 | ||
|
|
e135985308 | ||
|
|
0ac949dc1b | ||
|
|
e132c4036c | ||
|
|
759bf36387 | ||
|
|
8bce0fa17d | ||
|
|
b254ab6fe2 | ||
|
|
4838656dcc |
16
.github/workflows/spotube-release-binary.yml
vendored
16
.github/workflows/spotube-release-binary.yml
vendored
@ -78,14 +78,14 @@ jobs:
|
||||
cache: true
|
||||
git-source: https://github.com/flutter/flutter.git
|
||||
|
||||
- name: free disk space
|
||||
if: ${{ matrix.platform == 'android' }}
|
||||
run: |
|
||||
sudo swapoff -a
|
||||
sudo rm -f /swapfile
|
||||
sudo apt clean
|
||||
docker rmi $(docker image ls -aq)
|
||||
df -h
|
||||
# - name: free disk space
|
||||
# if: ${{ matrix.platform == 'android' }}
|
||||
# run: |
|
||||
# sudo swapoff -a
|
||||
# sudo rm -f /swapfile
|
||||
# sudo apt clean
|
||||
# docker rmi $(docker image ls -aq)
|
||||
# df -h
|
||||
- name: Setup Java
|
||||
if: ${{matrix.platform == 'android'}}
|
||||
uses: actions/setup-java@v4
|
||||
|
||||
1
android/app/proguard-rules.pro
vendored
1
android/app/proguard-rules.pro
vendored
@ -27,6 +27,7 @@
|
||||
-keep class org.schabi.newpipe.extractor.timeago.patterns.** { *; }
|
||||
-keep class org.mozilla.javascript.** { *; }
|
||||
-keep class org.mozilla.classfile.ClassFileWriter
|
||||
-dontwarn com.google.re2j.**
|
||||
-dontwarn org.mozilla.javascript.tools.**
|
||||
|
||||
-dontwarn javax.script.AbstractScriptEngine
|
||||
|
||||
Binary file not shown.
@ -28,7 +28,7 @@ class HomeNewReleasesSection extends HookConsumerWidget {
|
||||
|
||||
if (newReleases.error
|
||||
case MetadataPluginException(
|
||||
errorCode: MetadataPluginErrorCode.noDefaultPlugin,
|
||||
errorCode: MetadataPluginErrorCode.noDefaultMetadataPlugin,
|
||||
message: _,
|
||||
)) {
|
||||
return const SizedBox.shrink();
|
||||
|
||||
@ -48,7 +48,7 @@ class HomePageBrowseSection extends HookConsumerWidget {
|
||||
|
||||
if (browseSections.error
|
||||
case MetadataPluginException(
|
||||
errorCode: MetadataPluginErrorCode.noDefaultPlugin,
|
||||
errorCode: MetadataPluginErrorCode.noDefaultMetadataPlugin,
|
||||
message: _,
|
||||
)) {
|
||||
return const SliverFillRemaining(
|
||||
|
||||
@ -55,7 +55,7 @@ class UserAlbumsPage extends HookConsumerWidget {
|
||||
|
||||
if (albumsQuery.error
|
||||
case MetadataPluginException(
|
||||
errorCode: MetadataPluginErrorCode.noDefaultPlugin,
|
||||
errorCode: MetadataPluginErrorCode.noDefaultMetadataPlugin,
|
||||
message: _,
|
||||
)) {
|
||||
return const Center(child: NoDefaultMetadataPlugin());
|
||||
|
||||
@ -60,7 +60,7 @@ class UserArtistsPage extends HookConsumerWidget {
|
||||
|
||||
if (artistQuery.error
|
||||
case MetadataPluginException(
|
||||
errorCode: MetadataPluginErrorCode.noDefaultPlugin,
|
||||
errorCode: MetadataPluginErrorCode.noDefaultMetadataPlugin,
|
||||
message: _,
|
||||
)) {
|
||||
return const Center(child: NoDefaultMetadataPlugin());
|
||||
|
||||
@ -83,7 +83,7 @@ class UserPlaylistsPage extends HookConsumerWidget {
|
||||
|
||||
if (playlistsQuery.error
|
||||
case MetadataPluginException(
|
||||
errorCode: MetadataPluginErrorCode.noDefaultPlugin,
|
||||
errorCode: MetadataPluginErrorCode.noDefaultMetadataPlugin,
|
||||
message: _,
|
||||
)) {
|
||||
return const Center(child: NoDefaultMetadataPlugin());
|
||||
|
||||
@ -85,7 +85,7 @@ class SearchPage extends HookConsumerWidget {
|
||||
child: Builder(builder: (context) {
|
||||
if (searchChipSnapshot.error
|
||||
case MetadataPluginException(
|
||||
errorCode: MetadataPluginErrorCode.noDefaultPlugin,
|
||||
errorCode: MetadataPluginErrorCode.noDefaultMetadataPlugin,
|
||||
message: _
|
||||
)) {
|
||||
return const NoDefaultMetadataPlugin();
|
||||
|
||||
@ -144,40 +144,8 @@ class AudioPlayerNotifier extends Notifier<AudioPlayerState> {
|
||||
}),
|
||||
audioPlayer.playlistStream.listen((playlist) async {
|
||||
try {
|
||||
// Playlist and state has to be in sync. This is only meant for
|
||||
// the shuffle/re-ordering indices to be in sync
|
||||
if (playlist.medias.length != state.tracks.length) {
|
||||
AppLogger.log.w(
|
||||
"Playlist length does not match state tracks length. Ignoring... "
|
||||
"Playlist length: ${playlist.medias.length}, "
|
||||
"State tracks length: ${state.tracks.length}",
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
final trackGroupedById = groupBy(
|
||||
state.tracks,
|
||||
(query) => query.id,
|
||||
);
|
||||
|
||||
final tracks = <SpotubeTrackObject>[];
|
||||
|
||||
for (final media in playlist.medias) {
|
||||
final track = trackGroupedById[SpotubeMedia.media(media).track.id]
|
||||
?.firstOrNull;
|
||||
if (track != null) {
|
||||
tracks.add(track);
|
||||
}
|
||||
}
|
||||
|
||||
if (tracks.length != state.tracks.length) {
|
||||
AppLogger.log.w("Mismatch in tracks after reordering/shuffling.");
|
||||
final missingTracks =
|
||||
state.tracks.where((track) => !tracks.contains(track)).toList();
|
||||
AppLogger.log.w(
|
||||
"Missing tracks: ${missingTracks.map((e) => e.id).join(", ")}",
|
||||
);
|
||||
}
|
||||
final tracks =
|
||||
playlist.medias.map((e) => SpotubeMedia.media(e).track).toList();
|
||||
|
||||
state = state.copyWith(
|
||||
tracks: tracks,
|
||||
@ -434,13 +402,31 @@ class AudioPlayerNotifier extends Notifier<AudioPlayerState> {
|
||||
return;
|
||||
}
|
||||
|
||||
final currentIndex = state.currentIndex;
|
||||
final currentTrack = state.activeTrack as SpotubeFullTrackObject;
|
||||
final swappedMedia = SpotubeMedia(currentTrack);
|
||||
final oldState = state;
|
||||
await audioPlayer.stop();
|
||||
|
||||
await audioPlayer.addTrackAt(swappedMedia, currentIndex + 1);
|
||||
await audioPlayer.skipToNext();
|
||||
await audioPlayer.removeTrack(currentIndex);
|
||||
await load(
|
||||
oldState.tracks,
|
||||
initialIndex: oldState.currentIndex,
|
||||
autoPlay: true,
|
||||
);
|
||||
state = state.copyWith(
|
||||
collections: oldState.collections,
|
||||
loopMode: oldState.loopMode,
|
||||
playing: oldState.playing,
|
||||
shuffled: false,
|
||||
);
|
||||
await audioPlayer.setLoopMode(oldState.loopMode);
|
||||
await _updatePlayerState(
|
||||
AudioPlayerStateTableCompanion(
|
||||
tracks: Value(state.tracks),
|
||||
currentIndex: Value(state.currentIndex),
|
||||
collections: Value(state.collections),
|
||||
loopMode: Value(state.loopMode),
|
||||
playing: Value(state.playing),
|
||||
shuffled: Value(state.shuffled),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> jumpToTrack(SpotubeTrackObject track) async {
|
||||
|
||||
@ -12,7 +12,7 @@ final metadataPluginAlbumProvider =
|
||||
final metadataPlugin = await ref.watch(metadataPluginProvider.future);
|
||||
|
||||
if (metadataPlugin == null) {
|
||||
throw MetadataPluginException.noDefaultPlugin();
|
||||
throw MetadataPluginException.noDefaultMetadataPlugin();
|
||||
}
|
||||
|
||||
return metadataPlugin.album.getAlbum(id);
|
||||
|
||||
@ -12,7 +12,7 @@ final metadataPluginArtistProvider =
|
||||
final metadataPlugin = await ref.watch(metadataPluginProvider.future);
|
||||
|
||||
if (metadataPlugin == null) {
|
||||
throw MetadataPluginException.noDefaultPlugin();
|
||||
throw MetadataPluginException.noDefaultMetadataPlugin();
|
||||
}
|
||||
|
||||
return metadataPlugin.artist.getArtist(artistId);
|
||||
|
||||
@ -6,6 +6,7 @@ import 'package:shared_preferences/shared_preferences.dart';
|
||||
import 'package:spotube/models/metadata/metadata.dart';
|
||||
import 'package:spotube/provider/metadata_plugin/metadata_plugin_provider.dart';
|
||||
import 'package:spotube/services/audio_player/audio_player.dart';
|
||||
import 'package:spotube/services/metadata/errors/exceptions.dart';
|
||||
import 'package:spotube/services/metadata/metadata.dart';
|
||||
|
||||
part 'quality_presets.g.dart';
|
||||
@ -61,7 +62,7 @@ class AudioSourceAvailableQualityPresetsNotifier
|
||||
audioSourceConfigSnapshot.whenData((audioSourceConfig) {
|
||||
audioSourceSnapshot.whenData((audioSource) async {
|
||||
if (audioSource == null || audioSourceConfig == null) {
|
||||
throw Exception("Dude wat?");
|
||||
throw MetadataPluginException.noDefaultAudioSourcePlugin();
|
||||
}
|
||||
final preferences = await SharedPreferences.getInstance();
|
||||
final persistedStateStr =
|
||||
@ -114,7 +115,7 @@ class AudioSourceAvailableQualityPresetsNotifier
|
||||
final audioSourceConfig = await ref.read(metadataPluginsProvider
|
||||
.selectAsync((data) => data.defaultAudioSourcePluginConfig));
|
||||
if (audioSourceConfig == null) {
|
||||
throw Exception("Dude wat?");
|
||||
throw MetadataPluginException.noDefaultAudioSourcePlugin();
|
||||
}
|
||||
|
||||
final preferences = await SharedPreferences.getInstance();
|
||||
|
||||
@ -131,7 +131,7 @@ final metadataPluginIsSavedPlaylistProvider =
|
||||
final plugin = await ref.watch(metadataPluginProvider.future);
|
||||
|
||||
if (plugin == null) {
|
||||
throw MetadataPluginException.noDefaultPlugin();
|
||||
throw MetadataPluginException.noDefaultMetadataPlugin();
|
||||
}
|
||||
|
||||
final savedPlaylists =
|
||||
|
||||
@ -13,7 +13,7 @@ class MetadataPluginPlaylistNotifier
|
||||
final metadataPlugin = await ref.read(metadataPluginProvider.future);
|
||||
|
||||
if (metadataPlugin == null) {
|
||||
throw MetadataPluginException.noDefaultPlugin();
|
||||
throw MetadataPluginException.noDefaultMetadataPlugin();
|
||||
}
|
||||
|
||||
return metadataPlugin;
|
||||
|
||||
@ -9,7 +9,7 @@ final metadataPluginSearchAllProvider =
|
||||
final metadataPlugin = await ref.watch(metadataPluginProvider.future);
|
||||
|
||||
if (metadataPlugin == null) {
|
||||
throw MetadataPluginException.noDefaultPlugin();
|
||||
throw MetadataPluginException.noDefaultMetadataPlugin();
|
||||
}
|
||||
|
||||
return metadataPlugin.search.all(query);
|
||||
@ -20,7 +20,7 @@ final metadataPluginSearchChipsProvider = FutureProvider((ref) async {
|
||||
final metadataPlugin = await ref.watch(metadataPluginProvider.future);
|
||||
|
||||
if (metadataPlugin == null) {
|
||||
throw MetadataPluginException.noDefaultPlugin();
|
||||
throw MetadataPluginException.noDefaultMetadataPlugin();
|
||||
}
|
||||
return metadataPlugin.search.chips;
|
||||
});
|
||||
|
||||
@ -8,7 +8,7 @@ final metadataPluginTrackProvider =
|
||||
final metadataPlugin = await ref.watch(metadataPluginProvider.future);
|
||||
|
||||
if (metadataPlugin == null) {
|
||||
throw MetadataPluginException.noDefaultPlugin();
|
||||
throw MetadataPluginException.noDefaultMetadataPlugin();
|
||||
}
|
||||
|
||||
return metadataPlugin.track.getTrack(trackId);
|
||||
|
||||
@ -20,7 +20,7 @@ mixin MetadataPluginMixin<K>
|
||||
final plugin = await ref.read(metadataPluginProvider.future);
|
||||
|
||||
if (plugin == null) {
|
||||
throw MetadataPluginException.noDefaultPlugin();
|
||||
throw MetadataPluginException.noDefaultMetadataPlugin();
|
||||
}
|
||||
|
||||
return plugin;
|
||||
|
||||
@ -95,7 +95,7 @@ class TrackOptionsActions {
|
||||
final metadataPlugin = await ref.read(metadataPluginProvider.future);
|
||||
|
||||
if (metadataPlugin == null) {
|
||||
throw MetadataPluginException.noDefaultPlugin();
|
||||
throw MetadataPluginException.noDefaultMetadataPlugin();
|
||||
}
|
||||
|
||||
final tracks = await metadataPlugin.track.radio(track.id);
|
||||
|
||||
@ -9,7 +9,8 @@ enum MetadataPluginErrorCode {
|
||||
pluginDownloadFailed,
|
||||
duplicatePlugin,
|
||||
pluginByteCodeFileNotFound,
|
||||
noDefaultPlugin,
|
||||
noDefaultMetadataPlugin,
|
||||
noDefaultAudiSourcePlugin,
|
||||
}
|
||||
|
||||
class MetadataPluginException implements Exception {
|
||||
@ -68,10 +69,15 @@ class MetadataPluginException implements Exception {
|
||||
'Plugin byte code file, plugin.out not found. Please ensure the plugin is correctly packaged.',
|
||||
errorCode: MetadataPluginErrorCode.pluginByteCodeFileNotFound,
|
||||
);
|
||||
MetadataPluginException.noDefaultPlugin()
|
||||
MetadataPluginException.noDefaultMetadataPlugin()
|
||||
: this._(
|
||||
'No default metadata plugin is set. Please set a default plugin in the settings.',
|
||||
errorCode: MetadataPluginErrorCode.noDefaultPlugin,
|
||||
errorCode: MetadataPluginErrorCode.noDefaultMetadataPlugin,
|
||||
);
|
||||
MetadataPluginException.noDefaultAudioSourcePlugin()
|
||||
: this._(
|
||||
'No default audio source plugin is set. Please set a default plugin in the settings.',
|
||||
errorCode: MetadataPluginErrorCode.noDefaultAudiSourcePlugin,
|
||||
);
|
||||
|
||||
@override
|
||||
|
||||
@ -12,6 +12,7 @@ import 'package:spotube/provider/metadata_plugin/audio_source/quality_presets.da
|
||||
import 'package:spotube/provider/metadata_plugin/metadata_plugin_provider.dart';
|
||||
import 'package:spotube/services/dio/dio.dart';
|
||||
import 'package:spotube/services/logger/logger.dart';
|
||||
import 'package:spotube/services/metadata/errors/exceptions.dart';
|
||||
|
||||
import 'package:spotube/services/sourced_track/exceptions.dart';
|
||||
import 'package:spotube/utils/service_utils.dart';
|
||||
@ -41,7 +42,7 @@ class SourcedTrack extends BasicSourcedTrack {
|
||||
final audioSourceConfig = await ref.read(metadataPluginsProvider
|
||||
.selectAsync((data) => data.defaultAudioSourcePluginConfig));
|
||||
if (audioSource == null || audioSourceConfig == null) {
|
||||
throw Exception("Dude wat?");
|
||||
throw MetadataPluginException.noDefaultAudioSourcePlugin();
|
||||
}
|
||||
|
||||
final database = ref.read(databaseProvider);
|
||||
@ -157,7 +158,7 @@ class SourcedTrack extends BasicSourcedTrack {
|
||||
final audioSource = await ref.read(audioSourcePluginProvider.future);
|
||||
|
||||
if (audioSource == null) {
|
||||
throw Exception("Dude wat?");
|
||||
throw MetadataPluginException.noDefaultAudioSourcePlugin();
|
||||
}
|
||||
|
||||
final videoResults = <SpotubeAudioSourceMatchObject>[];
|
||||
@ -190,7 +191,8 @@ class SourcedTrack extends BasicSourcedTrack {
|
||||
}
|
||||
|
||||
Future<SourcedTrack?> swapWithSibling(
|
||||
SpotubeAudioSourceMatchObject sibling) async {
|
||||
SpotubeAudioSourceMatchObject sibling,
|
||||
) async {
|
||||
if (sibling.id == info.id) {
|
||||
return null;
|
||||
}
|
||||
@ -199,7 +201,7 @@ class SourcedTrack extends BasicSourcedTrack {
|
||||
final audioSourceConfig = await ref.read(metadataPluginsProvider
|
||||
.selectAsync((data) => data.defaultAudioSourcePluginConfig));
|
||||
if (audioSource == null || audioSourceConfig == null) {
|
||||
throw Exception("Dude wat?");
|
||||
throw MetadataPluginException.noDefaultAudioSourcePlugin();
|
||||
}
|
||||
|
||||
// a sibling source that was fetched from the search results
|
||||
@ -216,10 +218,19 @@ class SourcedTrack extends BasicSourcedTrack {
|
||||
|
||||
final database = ref.read(databaseProvider);
|
||||
|
||||
// Delete the old Entry
|
||||
await (database.sourceMatchTable.delete()
|
||||
..where(
|
||||
(table) =>
|
||||
table.trackId.equals(query.id) &
|
||||
table.sourceType.equals(audioSourceConfig.slug),
|
||||
))
|
||||
.go();
|
||||
|
||||
await database.into(database.sourceMatchTable).insert(
|
||||
SourceMatchTableCompanion.insert(
|
||||
trackId: query.id,
|
||||
sourceInfo: Value(jsonEncode(siblings.first)),
|
||||
sourceInfo: Value(jsonEncode(sibling)),
|
||||
sourceType: audioSourceConfig.slug,
|
||||
createdAt: Value(DateTime.now()),
|
||||
),
|
||||
@ -245,7 +256,7 @@ class SourcedTrack extends BasicSourcedTrack {
|
||||
final audioSourceConfig = await ref.read(metadataPluginsProvider
|
||||
.selectAsync((data) => data.defaultAudioSourcePluginConfig));
|
||||
if (audioSource == null || audioSourceConfig == null) {
|
||||
throw Exception("Dude wat?");
|
||||
throw MetadataPluginException.noDefaultAudioSourcePlugin();
|
||||
}
|
||||
|
||||
List<SpotubeAudioSourceStreamObject> validStreams = [];
|
||||
|
||||
18
pubspec.lock
18
pubspec.lock
@ -745,11 +745,11 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
path: "."
|
||||
ref: master
|
||||
resolved-ref: "922f9f9eafd8b501da83dca67d56b2887fa8f916"
|
||||
url: "https://github.com/TiffApps/fk_user_agent.git"
|
||||
ref: HEAD
|
||||
resolved-ref: "458046cd9a88924e5074d96ba45397219d53b230"
|
||||
url: "https://github.com/maeltoukap/fk_user_agent.git"
|
||||
source: git
|
||||
version: "2.1.1"
|
||||
version: "2.1.0"
|
||||
fluentui_system_icons:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
@ -947,8 +947,8 @@ packages:
|
||||
description:
|
||||
path: "."
|
||||
ref: HEAD
|
||||
resolved-ref: "898fd4ebcef77f5177b08aa6f9b9047bd02c6b9b"
|
||||
url: "https://github.com/KRTirtho/flutter_new_pipe_extractor.git"
|
||||
resolved-ref: ab3ff415114b7b43593e6ee718ad3d760af18350
|
||||
url: "https://github.com/KRTirtho/flutter_new_pipe_extractor"
|
||||
source: git
|
||||
version: "0.1.0"
|
||||
flutter_plugin_android_lifecycle:
|
||||
@ -1189,7 +1189,7 @@ packages:
|
||||
description:
|
||||
path: "."
|
||||
ref: main
|
||||
resolved-ref: "32828156bc111d147709f8d644804227bbdfe8f1"
|
||||
resolved-ref: d85dd429241d464a8b5b0c2b3d870143eeba8b46
|
||||
url: "https://github.com/KRTirtho/hetu_spotube_plugin.git"
|
||||
source: git
|
||||
version: "0.0.2"
|
||||
@ -2728,10 +2728,10 @@ packages:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: youtube_explode_dart
|
||||
sha256: add33de45d80c7f71a5e3dd464dd82fafd7fb5ab875fd303c023f30f76618325
|
||||
sha256: "3d731d71df9901b1915bae806781df519cff32517e36db279f844ae619669e45"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "3.0.0"
|
||||
version: "3.0.5"
|
||||
yt_dlp_dart:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
||||
@ -114,14 +114,14 @@ dependencies:
|
||||
wikipedia_api: ^0.1.0
|
||||
win32_registry: ^1.1.5
|
||||
window_manager: ^0.4.3
|
||||
youtube_explode_dart: ^3.0.0
|
||||
youtube_explode_dart: ^3.0.5
|
||||
yt_dlp_dart:
|
||||
git:
|
||||
url: https://github.com/KRTirtho/yt_dlp_dart.git
|
||||
ref: 4e5310e14af74bdbb51e2a4766e66d6c6a2562a8
|
||||
flutter_new_pipe_extractor:
|
||||
git:
|
||||
url: https://github.com/KRTirtho/flutter_new_pipe_extractor.git
|
||||
url: https://github.com/KRTirtho/flutter_new_pipe_extractor
|
||||
http_parser: ^4.1.2
|
||||
collection: any
|
||||
archive: ^4.0.7
|
||||
@ -239,6 +239,8 @@ flutter:
|
||||
- packages/hetu_std/assets/bytecode/std.out
|
||||
- packages/hetu_otp_util/assets/bytecode/otp_util.out
|
||||
- packages/hetu_spotube_plugin/assets/bytecode/spotube_plugin.out
|
||||
# NewPipe binaries (desktop only)
|
||||
# - packages/flutter_new_pipe_extractor/assets/
|
||||
fonts:
|
||||
- family: RadixIcons
|
||||
fonts:
|
||||
|
||||
@ -22,6 +22,8 @@ export const routes: Record<string, [string, IconType | null]> = {
|
||||
|
||||
const releasesUrl =
|
||||
"https://github.com/KRTirtho/Spotube/releases/latest/download";
|
||||
const releasesNightlyUrl =
|
||||
"https://github.com/KRTirtho/Spotube/releases/download/nightly";
|
||||
|
||||
export const downloadLinks: Record<string, [string, IconType[]]> = {
|
||||
"Android Apk": [`${releasesUrl}/Spotube-android-all-arch.apk`, [FaAndroid]],
|
||||
@ -87,39 +89,47 @@ export const extendedNightlyDownloadLinks: Record<
|
||||
string,
|
||||
[string, IconType[], string]
|
||||
> = {
|
||||
Android: [`${releasesUrl}/Spotube-android-all-arch.apk`, [FaAndroid], "apk"],
|
||||
Android: [
|
||||
`${releasesNightlyUrl}/Spotube-android-all-arch.apk`,
|
||||
[FaAndroid],
|
||||
"apk",
|
||||
],
|
||||
Windows: [
|
||||
`${releasesUrl}/Spotube-windows-x86_64-setup.exe`,
|
||||
`${releasesNightlyUrl}/Spotube-windows-x86_64-setup.exe`,
|
||||
[FaWindows],
|
||||
"exe",
|
||||
],
|
||||
macOS: [`${releasesUrl}/Spotube-macos-universal.dmg`, [FaApple], "dmg"],
|
||||
macOS: [
|
||||
`${releasesNightlyUrl}/Spotube-macos-universal.dmg`,
|
||||
[FaApple],
|
||||
"dmg",
|
||||
],
|
||||
"Ubuntu, Debian (x64)": [
|
||||
`${releasesUrl}/Spotube-linux-x86_64.deb`,
|
||||
`${releasesNightlyUrl}/Spotube-linux-x86_64.deb`,
|
||||
[FaUbuntu, FaDebian],
|
||||
"deb",
|
||||
],
|
||||
"Ubuntu, Debian (arm64)": [
|
||||
`${releasesUrl}/Spotube-linux-aarch64.deb`,
|
||||
`${releasesNightlyUrl}/Spotube-linux-aarch64.deb`,
|
||||
[FaUbuntu, FaDebian],
|
||||
"deb",
|
||||
],
|
||||
"Fedora, Redhat, Opensuse": [
|
||||
`${releasesUrl}/Spotube-linux-x86_64.rpm`,
|
||||
`${releasesNightlyUrl}/Spotube-linux-x86_64.rpm`,
|
||||
[FaFedora, FaRedhat, FaOpensuse],
|
||||
"rpm",
|
||||
],
|
||||
"Linux AppImage (x64)": [
|
||||
`${releasesUrl}/Spotube-linux-x86_64.AppImage`,
|
||||
`${releasesNightlyUrl}/Spotube-linux-x86_64.AppImage`,
|
||||
[FaLinux],
|
||||
"AppImage",
|
||||
],
|
||||
"Linux AppImage (arm64)": [
|
||||
`${releasesUrl}/Spotube-linux-aarch64.AppImage`,
|
||||
`${releasesNightlyUrl}/Spotube-linux-aarch64.AppImage`,
|
||||
[FaLinux],
|
||||
"AppImage",
|
||||
],
|
||||
iPhone: [`${releasesUrl}/Spotube-iOS.ipa`, [FaApple], "ipa"],
|
||||
iPhone: [`${releasesNightlyUrl}/Spotube-iOS.ipa`, [FaApple], "ipa"],
|
||||
};
|
||||
|
||||
export const ADS_SLOTS = Object.freeze({
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 202 KiB |
Loading…
Reference in New Issue
Block a user