Reply To: 1024×600 resolution in Jivelite with Waveshare 7 inch (C) screen

Max2Play Home 2016 (en) Forums Max2Play on Raspberry PI 1024×600 resolution in Jivelite with Waveshare 7 inch (C) screen Reply To: 1024×600 resolution in Jivelite with Waveshare 7 inch (C) screen

1. July 2016 at 18:30 #21061

Hello together!

I’m using an eleduino 7 inch display with a resolution of 1024×600 also. I have changed the applet code and it works good for me so far. Now playing screens are adjusted but analog VU does not work/show. Maybe I will refine the whole thing in the not so near future…
I append the diff-file below and you can apply the changes yourself with “patch JogglerSkinApplet.lua < 1024x600JogglerSkin.diff” after pasting this in a file named 1024x600JogglerSkin.diff. Make a backup of the original file before!

Please share your refinements here!

— Paste into file 1024x600JogglerSkin.diff after this line —
7a8,9
> This applet was modified to implement an 1024×600 skin
> “This applet implements an 800×480 resolution skin.”
9c11
< This applet implements an 800×480 resolution skin.

> Redesigned from StandardJoggler by Martin Schneider.
96,97c98,99
< THUMB_SIZE = 40,
< THUMB_SIZE_MENU = 40,

> THUMB_SIZE = 50,
> THUMB_SIZE_MENU = 50,
103c105
< POPUP_THUMB_SIZE = 120,

> POPUP_THUMB_SIZE = 150,
112c114
< artworkSize = ‘270×270’,

> artworkSize = ‘440×440’,
117c119
< artworkSize = ‘450×450’,

> artworkSize = ‘570×570’,
123c125
< artworkSize = ‘270×270’,

> artworkSize = ‘340×340’,
128c130
< artworkSize = ‘270×270’,

> artworkSize = ‘340×340’,
134c136
< artworkSize = ‘270×270’,

> artworkSize = ‘340×340’,
257c259
< Framework:setVideoMode(800, 480, 0, false)

> Framework:setVideoMode(1024, 600, 0, false)
2775,2776c2777,2778
< local NP_ARTISTALBUM_FONT_SIZE = 28
< local NP_TRACK_FONT_SIZE = 30

> local NP_ARTISTALBUM_FONT_SIZE = 30
> local NP_TRACK_FONT_SIZE = 36
2780,2781c2782,2783
< local volumeBarWidth = 240 — screenWidth – (transport controls + volume controls + dividers + border around volume bar)
< local buttonPadding = 0

> local volumeBarWidth = 450 — screenWidth – (transport controls + volume controls + dividers + border around volume bar)
> local buttonPadding = 10
2807c2809
< x = 318,

> x = 460,
2886c2888
< w = 270,

> w = 440,
2888,2889c2890,2891
< x = 20,
< y = TITLE_HEIGHT + 33,

> x = 7,
> y = TITLE_HEIGHT + 7,
2891c2893
< h = 270,

> h = 440,
2894c2896
< w = 270,

> w = 440,
2999,3000c3001,3003
< x = 322,
< y = TITLE_HEIGHT + 29 + 26 + 32 + 32 + 23 + 80,

> x = 460,
> –y = TITLE_HEIGHT + 29 + 26 + 32 + 32 + 23 + 80,
> y = TITLE_HEIGHT + 289,
3007c3010
< font = _boldfont(18),

> font = _boldfont(24),
3015c3018
< font = _boldfont(18),

> font = _boldfont(24),
3023c3026
< font = _boldfont(18),

> font = _boldfont(24),
3031c3034
< font = _boldfont(18),

> font = _boldfont(24),
3036,3037c3039,3040
< w = 290,
< h = 50,

> w = 400,
> h = 30,
3050c3053
< x = 322,

> x = 403,
3143c3146
< w = 450,

> w = 570,
3145c3148
< x = 172,

> x = 220,
3148c3151
< h = 450,

> h = 570,
3150c3153
< w = 450,

> w = 570,
3190,3191c3193,3194
< x = 50,
< y = 300,

> x = 63,
> y = 375,
3194c3197
< w = 80,

> w = 100,
3202c3205
< w = 80,

> w = 100,
3210c3213
< w = 80,

> w = 100,
3218c3221
< w = 80,

> w = 100,
3226,3227c3229,3230
< w = 540,
< h = 50,

> w = 675,
> h = 63,
3236c3239
< x = 720,

> x = 900,
3272c3275
< x = 80,

> x = 100,
3290c3293
< h = 60,

> h = 75,
3301c3304
< x = 10,

> x = 13,
3303c3306
< h = 60,

> h = 75,
3306c3309
< w = 80,

> w = 100,
3309c3312
< w = 80,

> w = 100,
3312c3315
< w = 80,

> w = 100,
3315c3318
< w = 80,

> w = 100,
3318c3321
< h = 29,

> h = 37,
3332c3335
< h = 38,

> h = 48,
3344,3345c3347,3348
< w = 800,
< h = 446 – (2 * TITLE_HEIGHT + 4 + 45),

> w = 1024,
> h = 566 – (2 * TITLE_HEIGHT + 4 + 45),
3353,3354c3356,3357
< w = 800,
< h = 446 – (2 * TITLE_HEIGHT + 4 + 45),

> w = 1024,
> h = 566 – (2 * TITLE_HEIGHT + 4 + 45),
3392,3393c3395,3396
< w = 800,
< h = 413 – (TITLE_HEIGHT + 38 + 38),

> w = 1024,
> h = 533 – (TITLE_HEIGHT + 38 + 38),
3401,3402c3404,3405
< w = 800,
< h = 413 – (TITLE_HEIGHT + 38 + 38),

> w = 1024,
> h = 533 – (TITLE_HEIGHT + 38 + 38),
3421c3424
< h = 56,

> h = 70,
3429,3430c3432,3433
< w = 56,
< h = 56,

> w = 70,
> h = 70,
3434,3435c3437,3438
< w = 56,
< h = 56,

> w = 70,
> h = 70,
3505c3508
< h = 50,

> h = 63,