|
Post by GoneMAD on Apr 15, 2021 18:41:05 GMT -5
which view are you trying to import it for?
|
|
|
Post by MotleyGord on Apr 15, 2021 21:48:17 GMT -5
i pasted each of the three jsons into that site and they all came up clean, but still two of them wont import It looks like you have closed off your markup statement with all ] and } before the rest of the file statements. There should be separate lines immediately after the amrkul.ljne, one with { and the next with [. Following that you should have one line for each of your statements, no blank lines. After your final.lknes, there should be separate lines again to close off the } and ] for the JSON. There needs to always be a matching set of brackets. You can count opening and closing pairs, especially if they are nested. This is critical to getting the JSON to be valid. For GMMP you can only use the statements that are listed in the first post. These are custom use cases for this app.
|
|
spoty
New Member
Posts: 9
|
Post by spoty on Apr 16, 2021 8:35:00 GMT -5
which view are you trying to import it for? Now Playing, i'm going to the context menu, customize, metadata
i'm attaching two jsons, one (copied from another post in this thread by motleyG) which will import, one which won't import, the only difference between them is a single line. if you can take a look at them and tell me what i'm doing wrong i'd appreciate it. sorry this is taking so long.
|
|
|
Post by GoneMAD on Apr 16, 2021 9:58:23 GMT -5
|
|
spoty
New Member
Posts: 9
|
Post by spoty on Apr 16, 2021 10:53:00 GMT -5
Odd, i'm starting to think something got corrupted on my install when I upgraded to latest version. Can you do me a favor and try to import this then? it is my end goal of what i want the now playing screen to look like but on my install it keeps failing. Attachments:goal.json (521 B)
|
|
|
Post by GoneMAD on Apr 16, 2021 11:54:50 GMT -5
yeah loads fine. i'd guess whatever you are using to transfer the json file to your device is modifying it? But yea if the install got corrupt you can try wiping the apps data/cache
|
|
|
Post by xianrex on Apr 16, 2021 14:06:55 GMT -5
Are the system default metadata displays stored in json format somewhere? I am trying to recreate the default Queue display, but allowing the track title to wrap. I'm adjusting the splits, but the default display has the Queue Position %ps% a lot closer to the track title than I can get it. If the defaults are available as json I can adapt them easily. Here's my latest attempt. I'll try to figure out the period after %ps% later: [ { "markupLines" : [ ["<weight=.09><align=left><size=15>%ps%","<weight=0.74><align=left><wrap><typeface=sans-serif><size=15>%tr%", "<weight=0.17><align=right><typeface=sans-serif><size=15>%du%"], ["<align=left><typeface=sans-serif><size=14>%ar%"] ] } ]
EDIT: NEVER MIND. I forgot you can concatenate values! It has been a long time... [ { "markupLines" : [ ["<align=left><wrap><size=15>%ps%. %tr%", "<align=right><typeface=sans-serif><size=15>%du%"], ["<align=left><typeface=sans-serif><size=14>%ar%"] ] } ]
|
|
|
Post by xianrex on Apr 16, 2021 15:37:45 GMT -5
What I *am* seeing, though, is that custom metadata doesn't distinguish between portrait and landscape for the Queue. If I apply a custom metadata json to just Queue portrait, it is applied to both portrait and landscape, and likewise when applying to just landscape. Does Queue behave differently than Playlist, for example?
|
|
|
Post by GoneMAD on Apr 16, 2021 15:59:20 GMT -5
What I *am* seeing, though, is that custom metadata doesn't distinguish between portrait and landscape for the Queue. If I apply a custom metadata json to just Queue portrait, it is applied to both portrait and landscape, and likewise when applying to just landscape. Does Queue behave differently than Playlist, for example? shouldnt but i'd have to verify in the code. There IS a bug that i cant figure out that doesnt fully refresh the lists until you open the view again (back out and reenter). Perhaps thats what you are seeing
|
|
|
Post by GoneMAD on Apr 16, 2021 16:01:45 GMT -5
if i select metadata for portrait only, its only showing in portrait.. landscape is still showing the default
|
|
|
Post by xianrex on Apr 16, 2021 17:38:34 GMT -5
if i select metadata for portrait only, its only showing in portrait.. landscape is still showing the default OK, I'll goof around with test cases. Thank you!
|
|
|
Post by xianrex on Apr 16, 2021 17:40:16 GMT -5
if i select metadata for portrait only, its only showing in portrait.. landscape is still showing the default OK, I'll goof around with test cases. Thank you! Specifically, I'm using one custom for portrait, one for landscape.
|
|
|
Post by GoneMAD on Apr 16, 2021 18:00:17 GMT -5
OK, I'll goof around with test cases. Thank you! Specifically, I'm using one custom for portrait, one for landscape. Yeah I'm able to choose diff one for portrait and landscape. Are you using the standalone queue or one in a tab
|
|
|
Post by xianrex on Apr 19, 2021 13:53:53 GMT -5
OK, I'll goof around with test cases. Thank you! Specifically, I'm using one custom for portrait, one for landscape. Here are my testing steps for this:
- I set Queue to a default metadata for both views, it updates immediately. (close app and reopen)
- Set Queue portrait to my landscape metadata file (includes artist name left-justified on 2nd line, followed by album name right-justified) it updates after changing to landscape and back by rotating the phone. Landscape still shows the default choice. - Reset both views to the default choice.
- When I set just the Queue landscape to be my imported metadata file, it seems to apply everything from the metadata file except the album name, which does not appear. Portrait remains at default choice. - Reset both views to the default choice. - If I set both views to the landscape metadata file, they both show everything as expected, with album name.
So the landscape view specifically is acting differently. Maybe it's my json code with the way the landscape view is displayed:
[ { "markupLines" : [ ["<weight=0.80><align=left><wrap><size=15>%ps%. %tr%", "<weight=0.20><align=right><size=15>%du%"], ["<weight=0.50><align=left><typeface=sans-serif><size=14>%ar%","<weight=0.50><align=right><typeface=sans-serif><size=14><i>%al%</i>"] ] } ]
|
|
|
Post by xianrex on Apr 19, 2021 13:54:35 GMT -5
Specifically, I'm using one custom for portrait, one for landscape. Yeah I'm able to choose diff one for portrait and landscape. Are you using the standalone queue or one in a tab Standalone (from the three-lines icon > select Queue)
|
|