Post Reply 
Display question with title.displayFormat
06-03-2023, 12:38
Post: #1
Display question with title.displayFormat
Hi

I am trying to use the displayFormat option to display track titles as follows:
D1 T1 track title
I got as far as "D1 1 track title" by using
title.displayFormat={$discnumber$tracknumber$title^D^^ }
but am not succeeding to insert T for Tracknumber.

Before that, I worked with
title.displayFormat={$discnumber$tracknumber$title^^^ - }

This one works in displaying "disc number - track number - track title"
with one strange problem:
whenever discnumber and tracknumber are the same, tracknumber is left out.
So I get
1 - track title for disc1 track1
1 - 2 - track title for disc1 track 2
2 - 1 - track title for disc2 track 1
2 - track title for disc2 track 2

I had added the tags "discnumber" and "tracknumber" to the list of indexed tags to make this work.

Btw.: another observation: adding "Title" to "alphagroup" does not alphagroup track titles. I have to introduce all=100 to actually alpha group track titles. Is "Title" the wrong tag to be used/indexed?
Find all posts by this user
Quote this message in a reply
06-03-2023, 13:17 (This post was last modified: 06-03-2023 13:17 by simoncn.)
Post: #2
RE: Display question with title.displayFormat
The format string

title.displayFormat={$discnumber$tracknumber$title^^^ - }

automatically eliminates duplicate values across the combination of discnumber, tracknumber and title. To prevent this happening, you can use

title.displayFormat={$discnumber^^ - ^$tracknumber^^ - ^$title}

To change this to use the format D1 T1 track title, you can use

title.displayFormat={$discnumber^D^ ^$tracknumber^T^ ^$title}

Which index are you using to alpha-group track titles? If this is the "n items" index, you should set alphaGroup to items=100 (see this section).
Find all posts by this user
Quote this message in a reply
06-03-2023, 13:32
Post: #3
RE: Display question with title.displayFormat
(06-03-2023 13:17)simoncn Wrote:  Which index are you using to alpha-group track titles? If this is the "n items" index, you should set alphaGroup to items=100 (see this section).
Thanks for helping out with the Displayformat explanation! I am still in awe how cleverly programmed Minimserver is!!!

This is, how my alphagroup entry looks like:
Code:
Artist, Classical Composer, Composer, Albumartist, Conductorsort, Conductor, Soloist, All Artists, Title, Orchestra, Composersort
The only Tag that was not grouped, was „Title“.
That’s when I experimented with „all=100“ as some sort of workaround, wondering, why „Title“ was not recognized.
Find all posts by this user
Quote this message in a reply
06-03-2023, 15:35
Post: #4
RE: Display question with title.displayFormat
Do you have a Title index (in addition to 'n items')?
Find all posts by this user
Quote this message in a reply
06-03-2023, 18:00 (This post was last modified: 06-03-2023 18:14 by dvdr.)
Post: #5
RE: Display question with title.displayFormat
(06-03-2023 15:35)simoncn Wrote:  Do you have a Title index (in addition to 'n items')?
I hope, I did understand the indexing setup correctly: the tag „Title“ is in the „indexTags“ list:
Code:
*RecentAdded, AlbumArtist:Album Artist, Artist, Classical Composer, Conductorsort, HiRes=1, Genre, Soloist, SoloInstrument, All Artists, Title, Orchestra, Source, Audio Quality, Collection, Collection Album, Collection Artist, Opus, Movement, Instrument, Style, Soloists, Type, Year, Period, Composersort, Composer, Composer Lastname, Date, Conductor, Multichannel=1,*RecentPlayed, #AudioData, #AudioFormat, Discnumber, Tracknumber
Find all posts by this user
Quote this message in a reply
07-03-2023, 08:48
Post: #6
RE: Display question with title.displayFormat
I have tried this myself and adding Title to alphaGroup is working as expected.

Please post your complete MinimServer configuration. The simplest way to do this is to select Profiles > View from the MinimServer configuration web page and copy and paste the contents of your profile.
Find all posts by this user
Quote this message in a reply
07-03-2023, 09:00
Post: #7
RE: Display question with title.displayFormat
(07-03-2023 08:48)simoncn Wrote:  Please post your complete MinimServer configuration.
Thanks for investigating. I am tagging with mp3tag - could it be, that I need to index something like „tracktitle“ instead of just „Title“? Just wondering, whether mp3tag does something differently…
Code:
alphaGroup = Artist, Classical Composer, Composer, Albumartist, Conductorsort, Conductor, Soloist, All Artists, Title, Orchestra, Composersort
contentDir = /mnt/music
displayName = Minim RPi
excludePattern = *.m3u*
indexTags = *RecentAdded, AlbumArtist:Album Artist, Artist, Classical Composer, Conductorsort, HiRes=1, Genre, Soloist, SoloInstrument, All Artists, Title, Orchestra, Source, Audio Quality, Collection, Collection Album, Collection Artist, Opus, Movement, Instrument, Style, Soloists, Type, Year, Period, Composersort, Composer, Composer Lastname, Date, Conductor, Multichannel=1,*RecentPlayed, #AudioData, #AudioFormat, Discnumber, Tracknumber
stream.converter = ffmpeg
stream.options = convOut=-af aresample=resampler=soxr:precision=32
stream.transcode = flac(44):wav24;176,flac(48):wav24;192,flac(88):wav24;176,flac(96):wav24;192,flac​(176):wav24;176,flac(192):wav24;192,flac(352):wav24;176,flac(384):wav24;192,wav(​44):wav24;176,wav(48):wav24;192,wav(88):wav24;176,wav(96):wav24;192,wav(<24;176):wav24;176,wav(<24;192):wav24;192,wav(352):wav24;176,wav(384):wav24;192,dsf:wav24;176,aiff(44​):wav24;176,aiff(48):wav24;192,aiff(88):wav24;176,aiff(96):wav24;192,aiff(176):w​av24;176,aiff(192):wav24;192,mp4(44):wav24;176,mp4(48):wav24;192,mp4(88):wav24;1​76,mp4(96):wav24;192,mp4(176):wav24;176,mp4(192):wav24;192,mp4(352):wav24;176,mp​4(384):wav24;192,mp3:wav24;176,alac(44):wav24;176,alac(48):wav24;192,alac(88):wa​v24;176,alac(96):wav24;192,alac(176):wav24;176,alac(192):wav24;192,alac(352):wav​24;176,alac(384):wav24;192
tagFormat = title.displayFormat={$discnumber^^$tracknumber^-^ $title^^}
.profileVersion = 2.2
Find all posts by this user
Quote this message in a reply
07-03-2023, 10:44
Post: #8
RE: Display question with title.displayFormat
Thanks for this. I tried using your profile and the Title index is correctly alpha-grouped for me.

Are you seeing a Title index with your track titles shown under this? If so, this means your tracks are tagged with Title tags.
Find all posts by this user
Quote this message in a reply
07-03-2023, 11:06
Post: #9
RE: Display question with title.displayFormat
(07-03-2023 10:44)simoncn Wrote:  Are you seeing a Title index with your track titles shown under this? If so, this means your tracks are tagged with Title tags.
Yes, I do see „Titles“ - thousands of them, my entire collection on one long list. That’s why I wanted to alphagroup them.
I guess we won‘t find out. I‘ll use the all=100 setting workaround, which alphagroups those thousands of titles.
Thank you very much for your great support!
Find all posts by this user
Quote this message in a reply
07-03-2023, 11:56
Post: #10
RE: Display question with title.displayFormat
What happens if you remove all=100 and set Title=100? I am wondering if there is something about this very long list that makes it behave differently than other lists.

Also, have you tried adding items or items=100 to alphaGroup and checking whether the 'n items' list is alpha grouped? The 'n items' list should also be a very long list.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)