Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added SQL/SQLite/schema_26_down.sql
Empty file.
7 changes: 7 additions & 0 deletions SQL/SQLite/schema_26_up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
DROP TABLE IF EXISTS rescans;
DROP TABLE IF EXISTS pluginversion;
DROP TABLE IF EXISTS unreadable_tracks;

DROP INDEX IF EXISTS trackHashIndex;
-- DROP <column> is only supported in SQLite 3.35.0+
-- ALTER TABLE tracks DROP hash;
4 changes: 0 additions & 4 deletions SQL/SQLite/schema_clear.sql
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ DELETE FROM genre_track;

DELETE FROM comments;

DELETE FROM pluginversion;

DELETE FROM unreadable_tracks;

DELETE FROM scanned_files;

DELETE FROM works;
Expand Down
Empty file added SQL/mysql/schema_26_down.sql
Empty file.
6 changes: 6 additions & 0 deletions SQL/mysql/schema_26_up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
DROP TABLE IF EXISTS rescans;
DROP TABLE IF EXISTS pluginversion;
DROP TABLE IF EXISTS unreadable_tracks;

DROP INDEX IF EXISTS trackHashIndex;
ALTER TABLE tracks DROP hash;
12 changes: 7 additions & 5 deletions Slim/Control/XMLBrowser.pm
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,20 @@ my $prefs = preferences('server');
# variable of same name in Slim::Control::Queries is source of truth
# used to return raw metadata for clients who request tags
my %colMap = (
g => 'genres',
# "publisher" is used in Podcasts
a => ['artist','publisher'],
A => 'artists',
l => 'album',
b => ['work','composer'],
d => ['secs','duration'],
# i => 'tracks.disc',
# q => 'albums.discc',
g => 'genre',
G => 'genres',
i => 'discnum',
k => 'description',
l => 'album',
q => 'disccount',
t => 'tracknum',
# "date" is being used in Podcast episodes
y => ['year','date'],
k => 'description',
);

sub cliQuery {
Expand Down
1 change: 0 additions & 1 deletion Slim/Schema.pm
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ sub init {
MetaInformation
Playlist
PlaylistTrack
Rescan
Track
Year
Progress
Expand Down
24 changes: 0 additions & 24 deletions Slim/Schema/Rescan.pm

This file was deleted.

74 changes: 68 additions & 6 deletions strings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12326,7 +12326,6 @@ RELEASE_TYPE
ZH_CN 发行类型

RELEASE_TYPE_SINGLE
DA Single
EN Single
ZH_CN 单曲

Expand All @@ -12336,21 +12335,19 @@ RELEASE_TYPE_SINGLES
ZH_CN 单曲

RELEASE_TYPE_EP
DA EP
EN EP
ZH_CN EP

RELEASE_TYPE_EPS
DA EPs
EN EPs
ZH_CN EPs

RELEASE_TYPE_BESTOF
EN Best Of
ZH_CN 最佳选择

RELEASE_TYPE_BESTOFS
EN Best Ofs
DE Best of Alben
EN Best Of Albums
FR Albums Best Of
ZH_CN 最佳选择

RELEASE_TYPE_BOXSET
Expand Down Expand Up @@ -12379,17 +12376,82 @@ RELEASE_TYPE_DEMOS
RELEASE_TYPE_LIVE
DE Live Aufnahme
EN Live Recording
FR Enregistrement en direct

RELEASE_TYPE_LIVES
DE Live Aufnahmen
EN Live Recordings
FR Enregistrements en direct

RELEASE_TYPE_MIXTAPE
EN Mixtape

RELEASE_TYPE_MIXTAPES
EN Mixtapes

RELEASE_TYPE_BONUS
DE Bonus Alben
EN Bonus Albums
FR Album bonus

RELEASE_TYPE_COLLECTION
DE Sammlung
EN Collection

RELEASE_TYPE_COLLECTIONS
DE Sammlungen
EN Collections

RELEASE_TYPE_REMIX
EN Remix

RELEASE_TYPE_REMIXES
DE Remix Alben
EN Remixes

RELEASE_TYPE_COMPILATION
DE Kompilation
EN Compilation

RELEASE_TYPE_COMPILATIONS
DE Kompilationen
EN Compilations

RELEASE_TYPE_BOOTLEG
EN Bootleg

RELEASE_TYPE_BOOTLEGS
EN Bootlegs

RELEASE_TYPE_SOUNDTRACK
EN Soundtrack
FR Bande sonores

RELEASE_TYPE_SOUNDTRACKS
EN Soundtracks
FR Bandes sonores

# from https://musicbrainz.org/doc/Release_Group/Type
RELEASE_TYPE_SPOKENWORD
DE Gesprochen
EN Spokenword

RELEASE_TYPE_INTERVIEW
EN Interview

RELEASE_TYPE_INTERVIEWS
EN Interviews

RELEASE_TYPE_AUDIOBOOK
DE Hörbuch
EN Audiobook
FR Livre audio

RELEASE_TYPE_AUDIOBOOKS
DE Hörbücher
EN Audiobooks
FR Livres audio

RELEASE_TYPE_OTHER
DA Andre
DE Andere
Expand Down