INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: feature request - make more database fields relational  (Read 669 times)

gappie

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 4566
feature request - make more database fields relational
« on: June 24, 2021, 01:45:36 pm »

Hi, this is NOT to start an other relational database discussion. There are enough for those who do a search, they are boring.

what i mean is that some values like [last played (album)] have the value "relational" set to "store one value for each album". There are some other fields that i would think would be logical to get the same setting like [total tracks], [total discs] and [album artist].

 :)
gab
Logged

EnglishTiger

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 970
Re: feature request - make more database fields relational
« Reply #1 on: June 26, 2021, 04:21:38 am »

I'm not saying this should not be considered or acted on but if the Last Played(album) field is anything to go by then Database Size could become a problem.

At present on my system the LastPlayed file for 393 tracks from 224 albums file is 4kb but the Last Played (album) file is 24kb
Logged
Win NUC - VENOEN 11Th NUC Mini PC Core i7 1165G7,Dual HDMI 2.0+Mini DP,Windows 11 Mini Desktop Computer,Thunderbolt 4.0,1 Lan, USB-C,Wifi,Bluetooth 5.0,32GB RAM Toshiba MQ04ABF100 ‎500Gb 5400 RPM ‎eSATA HD, Gigabyte GP-GSM2NE3512GNTD 1Tb NVMe SSD, Samsung 870 QVO 8 TB SATA 2.5 Inch SSD (MZ-77Q8T0) in Sabrent Ultra Slim USB 3.0 to 2.5-Inch SATA External Aluminium Hard Drive Enclosure (EC-UK30)

Apple 2020 Mac mini M1 Chip (8GB RAM, 512GB SSD)
Sabrent Thunderbolt 3 to Dual NVMe M.2 SSD Tool-Free Enclosure with Sabrent 2TB Rocket NVMe PCIe M.2 2280 High Performance SSD + Crucial P3 Plus 4TB M.2 PCIe

ET Skins & TrackInfo Plugins - https://englishtiger.uk/index.html

gappie

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 4566
Re: feature request - make more database fields relational
« Reply #2 on: June 26, 2021, 06:25:05 am »

I'm not saying this should not be considered or acted on but if the Last Played(album) field is anything to go by then Database Size could become a problem.

At present on my system the LastPlayed file for 393 tracks from 224 albums file is 4kb but the Last Played (album) file is 24kb
i doubt that it will be an item. i have [last played (album)] as a value for 24093 files in 2161 albums, the [last played (album)] in the database is 60kb. there are enough fields much bigger. it is also i think still a flat database, but mc treats the field as a table. so when you play one song of the album, all tracks from the album get the same value in last played (album).

and it would be nice if that would work for total tracks and the like.

 :)
gab
Logged

markf2748

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 700
Re: feature request - make more database fields relational
« Reply #3 on: June 26, 2021, 10:11:29 am »

re "total tracks":
I defined my own custom field "track total" which is Relational:  Store one value for each album.  It works fine.  I would agree that the built-in should be album relational.

In principle I agree "total disks" and "album artist" should also be album relational.  The issue may be fear of unforeseen side effects / edge use cases for such long standing fields?
Logged

EnglishTiger

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 970
Re: feature request - make more database fields relational
« Reply #4 on: June 28, 2021, 02:19:14 am »

Total Tracks and Album Artist are 1 per track fields/tags that, if present, are inherited from whatever CD Ripper is used to get those Tracks/Album/CD onto disc therefore they cannot be Relational!
Logged
Win NUC - VENOEN 11Th NUC Mini PC Core i7 1165G7,Dual HDMI 2.0+Mini DP,Windows 11 Mini Desktop Computer,Thunderbolt 4.0,1 Lan, USB-C,Wifi,Bluetooth 5.0,32GB RAM Toshiba MQ04ABF100 ‎500Gb 5400 RPM ‎eSATA HD, Gigabyte GP-GSM2NE3512GNTD 1Tb NVMe SSD, Samsung 870 QVO 8 TB SATA 2.5 Inch SSD (MZ-77Q8T0) in Sabrent Ultra Slim USB 3.0 to 2.5-Inch SATA External Aluminium Hard Drive Enclosure (EC-UK30)

Apple 2020 Mac mini M1 Chip (8GB RAM, 512GB SSD)
Sabrent Thunderbolt 3 to Dual NVMe M.2 SSD Tool-Free Enclosure with Sabrent 2TB Rocket NVMe PCIe M.2 2280 High Performance SSD + Crucial P3 Plus 4TB M.2 PCIe

ET Skins & TrackInfo Plugins - https://englishtiger.uk/index.html

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10739
Re: feature request - make more database fields relational
« Reply #5 on: June 28, 2021, 04:27:00 am »

Changing existing fields to be relational has potential of causing a bunch of issues, so thats not likely to be something we do lightly.
Logged
~ nevcairiel
~ Author of LAV Filters

gappie

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 4566
Re: feature request - make more database fields relational
« Reply #6 on: June 28, 2021, 01:15:59 pm »

Changing existing fields to be relational has potential of causing a bunch of issues, so thats not likely to be something we do lightly.
okiedokie.
maybe ill try version 35 again. no problem.

 :)
gab
Logged
Pages: [1]   Go Up