Skip to content

Commit

Permalink
Merge pull request #656 from Komodo5197/redesign-transcode-tweaks
Browse files Browse the repository at this point in the history
[Redesign] Transcoded downloads tweaks
  • Loading branch information
Chaphasilor authored Mar 31, 2024
2 parents f9cc858 + 6e0d3be commit e5c5eb9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/models/finamp_models.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1565,7 +1565,7 @@ enum DownloadLocationType {
@HiveType(typeId: 65)
enum FinampTranscodingCodec {
@HiveField(0)
aac("m4a", true, 1.2),
aac("aac", true, 1.2),
@HiveField(1)
mp3("mp3", true, 1.0),
@HiveField(2)
Expand Down
1 change: 0 additions & 1 deletion lib/screens/transcoding_settings_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ class DownloadTranscodeCodecDropdownListTile extends StatelessWidget {
return ListTile(
title:
Text(AppLocalizations.of(context)!.downloadTranscodeCodecTitle),
subtitle: Text("AAC does not work until jellyfin 10.9"),
trailing: DropdownButton<FinampTranscodingCodec>(
value: finampSettings.downloadTranscodingProfile.codec,
items: FinampTranscodingCodec.values
Expand Down
2 changes: 1 addition & 1 deletion lib/services/downloads_service_backend.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1425,7 +1425,7 @@ class DownloadsSyncService {
"${_jellyfinApiData.defaultFields},MediaSources,SortName"))
?.mediaSources;

String container = downloadItem.fileTranscodingProfile?.codec.container ??
String container = downloadItem.syncTranscodingProfile?.codec.container ??
mediaSources?[0].container ??
'song';

Expand Down

0 comments on commit e5c5eb9

Please sign in to comment.