|
Post by MotleyGord on Apr 21, 2023 11:02:50 GMT -5
The semicolon is a separator character for multiple artists. GMMP handles it by placing each Artist, with a comma between them. You can try using $replace(%ar%,”, “,”; “) to put it back the way you want to see it. But the consequence would be that all sequences with a comma would end up with a semicolon. Not sure you would want this. $replace(%ar%,%comma%,;%space%) whitespace gets trimmed and commas are used to separate the params, so thats why i made the variables for them. This request is common enough i'll update the OP to give that as an example I completely forgot about that, sorry for any misdirection. Does this still affect all commas though?
|
|
|
Post by GoneMAD on Apr 21, 2023 12:19:24 GMT -5
only commas in functions that arent used to separate parameters. If you are using it outside of a function regular , is fine
|
|
|
Post by goldenightmc on Apr 21, 2023 14:52:42 GMT -5
The semicolon is a separator character for multiple artists. GMMP handles it by placing each Artist, with a comma between them. You can try using $replace(%ar%,”, “,”; “) to put it back the way you want to see it. But the consequence would be that all sequences with a comma would end up with a semicolon. Not sure you would want this. $replace(%ar%,%comma%,;%space%) whitespace gets trimmed and commas are used to separate the params, so thats why i made the variables for them. This request is common enough i'll update the OP to give that as an example Thank you for help, I have managed to change it, however now I would have a different question. I was sure that the information that is being displayed in the notification would be in the same format as in the player, which unfortunately is not the case and artists tag is with commas rather than with semicolons. Is it possible to apply these separator settings to the notification player, since (as far as I am aware) it is the main source of information for the scrobbler?
|
|
|
Post by GoneMAD on Apr 21, 2023 18:36:11 GMT -5
how the metadata appears in the notification is controlled by android, not gmmp. gmmp just populates metadata fields in an api and android chooses how to display it. The scrobbler only uses the first artist in a multi artist situation. This is what spotify does and gmmp does it the same way
|
|
|
Post by goldenightmc on Apr 22, 2023 3:49:46 GMT -5
how the metadata appears in the notification is controlled by android, not gmmp. gmmp just populates metadata fields in an api and android chooses how to display it. The scrobbler only uses the first artist in a multi artist situation. This is what spotify does and gmmp does it the same way Okay, I have managed to fix my problem. I have finally switched from Simple Scrobbler to Pano Scrobbler and just created a simple pattern edit for the artist tag to change "," to "; " and it works like a charm <3. Thanks for everyone for your time. Attachments:
|
|
|
Post by Razvan on Sept 14, 2024 10:56:34 GMT -5
Hi,
I use this json for Custom Song metadata in Folders. Filename is shown ok, so the duration, but no filesize.
[ { "markupLines" : [ ["<align=left><typeface=sans-serif><size=16><wrap>%fn%"], ["<align=left><size=12>%fs%","<align=right><size=12>%du%"], ] } ]
Thanks
|
|
|
Post by GoneMAD on Sept 14, 2024 13:33:59 GMT -5
Hi, I use this json for Custom Song metadata in Folders. Filename is shown ok, so the duration, but no filesize. [ { "markupLines" : [ ["<align=left><typeface=sans-serif><size=16><wrap>%fn%"], ["<align=left><size=12>%fs%","<align=right><size=12>%du%"], ] } ] Thanks in the folder view "filesize" only applies to "file" when you are go to customize and select "file", remember there are 3 diff options there in the folder browser. File, Folder, and Song. I am guessing you are talking about songs. File is mostly for playlist files and other supports non audio files. I'll make note to see if it can be added to the song metadata
|
|
|
Post by Razvan on Sept 14, 2024 23:48:51 GMT -5
yes, I was referring to Customize -> Displayed Metadata -> Song
"I'll make note to see if it can be added to the song metadata" Thank you
|
|
|
Post by ghandajn on Oct 8, 2024 22:46:00 GMT -5
what do I have to do if I want to display TrackName in left and duration in right, what's what I have to write in the json filename? Thanks
|
|
trev
New Member
Posts: 30
|
Post by trev on Oct 8, 2024 23:55:26 GMT -5
what do I have to do if I want to display TrackName in left and duration in right, what's what I have to write in the json filename? Thanks this works for me: ["<weight=0.80>\u003calign\u003dleft\u003e\u003csize\u003d18\u003e\u003ctypeface\u003dsans-serif\u003e%tr%", "<weight=0.20>\u003calign\u003dright\u003e\u003csize\u003d18\u003e\u003ctypeface\u003dsans-serif\u003e%du%"],
|
|
|
Post by ghandajn on Oct 9, 2024 7:51:42 GMT -5
why don't to create a %aw% for displaying covers (artwork) in songs browsing
|
|
|
Post by ghandajn on Oct 9, 2024 12:01:50 GMT -5
I don't like to set in bold the current playing song, ai think that UI color is enough to differentiate it from the rest of songs
|
|
|
Post by GoneMAD on Oct 9, 2024 12:36:22 GMT -5
why don't to create a %aw% for displaying covers (artwork) in songs browsing its not possible to include art in with the custom metadata.
|
|
|
Post by ghandajn on Nov 2, 2024 8:13:39 GMT -5
Displaying in Bold the now playing song custom metadata goes against the whole aesthetic of the app. Why not just set it with the ui color, I think it's enough and can be perfectly differentiated from the rest of songs. Thanks.
|
|
|
Post by ghandajn on Nov 2, 2024 8:16:35 GMT -5
I want to display TrackName in left and playcount in right, what do I have to do to set each things in both places?
|
|