|
Running into frustration: Title.displayFormat
|
|
16-01-2020, 14:22
(This post was last modified: 16-01-2020 14:28 by Alhifi.)
Post: #11
|
|||
|
|||
RE: Running into frustration: Title.displayFormat
(15-01-2020 23:45)simoncn Wrote: $tracknumber^[$totaltracks^/^] Thank you again! Your suggestion looks good, but I think this one based on yours is a little bit better: Title.displayFormat={$tracknumber^[$totaltracks^/$title^] $subtitle^ (^)$originaldate^ [^]} The title tag is always filled, the tracknumber also, if now the totaltracks are missing, the bracket will be closed by title. Ok, if no tracknumber is available, than this will not look good because of the missing bracket at the beginning. [EDIT] Mhhh, what about the following: Title.displayFormat={[$tracknumber^$totaltracks^/$title^] $subtitle^ (^)$originaldate^ [^]} If no tracknumber is available, the bracket will open and close "[] BlaBla", better than only the closing one "] BlaBla"... but MinimServer did not accept that because of the missing tag at the beginning ... |
|||
|
16-01-2020, 17:52
Post: #12
|
|||
|
|||
|
RE: Running into frustration: Title.displayFormat
Your second version isn't accepted because it isn't possible to have a literal value except as a prefix, suffix or separator.
You could use 3/16 instead of [3/16], like this: $tracknumber^$totaltracks^/$title^ ^$subtitle^ (^)$originaldate^ [^]} |
|||
|
19-01-2020, 19:24
Post: #13
|
|||
|
|||
RE: Running into frustration: Title.displayFormat
(16-01-2020 17:52)simoncn Wrote: Your second version isn't accepted because it isn't possible to have a literal value except as a prefix, suffix or separator. I still use the version with the [ because every title in my filebase has a tracknumber and of course a title, actually it look's great, tahnk you for your support. But I have another question, but I think it has nothing to do with Title.displayFormat: Actually I'm organizing my files with tags date and originaldate. Example: "Best Of 80s"-Sampler, the release date of the cd is 2004, therefor date=2004, the originaldate of every track is the year it was released, ergo originaldate=1984. One of the default browsing options is date. If I use that for browsing I will find the titles under 2004, not 1984. Is it possible to do something like if "originaldate" is filled, then use the value of "originaldate" for the date of the title, if not, use the value of "date" as date of the title. Bye Alhifi |
|||
|
19-01-2020, 19:45
Post: #14
|
|||
|
|||
|
RE: Running into frustration: Title.displayFormat
This is easy to do with the default option of the tagValue property.
1) Add a new tag titledate to itemTags 2) In tagValue, specify titledate.default={originaldate, date} 3) Use titledate in the tag format string for Title.displayFormat |
|||
|
20-01-2020, 09:05
Post: #15
|
|||
|
|||
RE: Running into frustration: Title.displayFormat
(14-01-2020 20:58)simoncn Wrote: The track number has the tag name tracknumber, not track. You will only be able to include the track total if this value appears in the file. In this case, the tag name is totaltracks. Your format string should be the following: Hello, I like the idea of having the tracknumber and totaltracks displayed on the control point. But
Kind regards steamfan |
|||
|
20-01-2020, 12:56
Post: #16
|
|||
|
|||
|
RE: Running into frustration: Title.displayFormat
This format string is unlikely to be suitable for your needs "as is" because it assumes you have tags named Subtitle in your files. Also, it will only work for MP3 and M4A (iTunes) files (not FLAC) and it will only work if your files contain tagged information for the total number of tracks in the album. What format are your files?
|
|||
|
20-01-2020, 13:33
Post: #17
|
|||
|
|||
RE: Running into frustration: Title.displayFormat
(20-01-2020 09:05)steamfan Wrote: Not withstanding the previously mentioned caveats ... A very good place to start is with the User guide - Tag formatting section. |
|||
|
20-01-2020, 19:48
Post: #18
|
|||
|
|||
RE: Running into frustration: Title.displayFormat
(19-01-2020 19:45)simoncn Wrote: This is easy to do with the default option of the tagValue property. Thanks a lot, sounds good ... but I think it's not what I need. This only changes the value of the new variable titledate, right? But here is only used for the display of the title, but not for the sorting using the default "date" in Minimserver, correct? I think it's ok just to use originaldate for the title, if it's not filled, it's simply empty and will not be shown. The date is then at the end of the album title, that's enough. I think it's useful to define the new variable, but how can I use this for sorting into years like the default does? Bye Alhifi |
|||
|
20-01-2020, 20:50
(This post was last modified: 20-01-2020 20:51 by simoncn.)
Post: #19
|
|||
|
|||
|
RE: Running into frustration: Title.displayFormat
I was responding to the following:
if "originaldate" is filled, then use the value of "originaldate" for the date of the title, if not, use the value of "date" as date of the title. I took "title" to mean the Title value displayed in the control point but I now realise you meant something else. I am not sure exactly what you want to do. Do you want the Date index to contain a mixture of OriginalDate (if present) and Date (if there is no OriginalDate)? |
|||
|
20-01-2020, 21:25
Post: #20
|
|||
|
|||
|
RE: Running into frustration: Title.displayFormat
Hi simoncn,
thanks for the fast response again! (20-01-2020 20:50)simoncn Wrote: I was responding to the following: Sorry, my english is not the best, but you're right! Here I want to use the originaldate if exists for the Date index, nothing else makes sense at this point, especially when the titles are organized as described in this thread. So if the file has a originaldate, use it for indexing, otherwise use the date of the album. Bye Alhifi |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help





