Attract-Mode Support Forum

Attract-Mode Support => Themes => Topic started by: jingletit on February 23, 2017, 12:20:13 AM

Title: Previous flyer images don't show up on pi
Post by: jingletit on February 23, 2017, 12:20:13 AM
So I made a theme for Attract Mode and tested it on my laptop running Windows. Everything seemed to work fine but when I tried it on the pi the previous flyer images don't show up. Anyone know why?
Title: Re: Previous flyer images don't show up on pi
Post by: akafox on February 23, 2017, 08:15:15 AM
What do you mean "previous flyers"?

If you used the scraper...the scraper will scrape and look in the folder it makes..and the one you have in the config file..
you need to make sure they are in the same folder even on the pi.

Some themes are "hard coded" to look in preset folders. (Though you said you made this one?)
Title: Re: Previous flyer images don't show up on pi
Post by: jingletit on February 23, 2017, 09:01:44 AM
What do you mean "previous flyers"?

If you used the scraper...the scraper will scrape and look in the folder it makes..and the one you have in the config file..
you need to make sure they are in the same folder even on the pi.

Some themes are "hard coded" to look in preset folders. (Though you said you made this one?)

Yes a theme I made myself. I loaded someone elses theme on the pi but that seems to work fine. I think it might have something to do with my code?

fe.layout.width = 640
fe.layout.height = 480
local bg = fe.add_image( "bg.png", 0, 0, fe.layout.width, fe.layout.height )
local title = fe.add_text( "[Title]", 243, 100, fe.layout.width, 10 )
title.set_rgb( 0, 0, 0 )
local flyer = fe.add_artwork( "flyer", 429, 102, 77, 58 )
local title = fe.add_text( "[DisplayName]", -244, 410, fe.layout.width, 10 )
title.set_rgb( 0, 0, 0 )
local title = fe.add_text( "[PlayedCount]", 60, 428, fe.layout.width, 20 )
title.set_rgb( 0, 0, 0 )
local bg = fe.add_image( "Buffering2.mp4", 16, 75, 401, 301 )
local Snap = fe.add_artwork( "Snap", 16, 75, 401, 301 )
local bg = fe.add_image( "Overlay.png", 0, 0, fe.layout.width, fe.layout.height )
local Flyer = fe.add_artwork( "Flyer", 429, 180, 77, 58 );
Flyer.index_offset = -1;
local Flyer = fe.add_artwork( "Flyer", 429, 248, 77, 58 );
Flyer.index_offset = -2;
local Flyer = fe.add_artwork( "Flyer", 429, 316, 77, 58 );
Flyer.index_offset = -3;
local Flyer = fe.add_artwork( "Flyer", 429, 384, 77, 58 );
Flyer.index_offset = -4;
local Flyer = fe.add_artwork( "Flyer", 429, 452, 77, 58 );
Flyer.index_offset = -5;
local title = fe.add_text( "[Title]", 243, 200, fe.layout.width, 10 )
title.set_rgb( 0, 0, 0 )
title.index_offset = -1;
local title = fe.add_text( "[Title]", -195, 385, fe.layout.width, 20 )
title.set_rgb( 0, 0, 0 )
Title: Re: Previous flyer images don't show up on pi
Post by: akafox on February 23, 2017, 05:40:26 PM
Well maybe. You'll have to have a "smarter person" look at that. ;)

I don't make themes..I just "help" :)

Title: Re: Previous flyer images don't show up on pi
Post by: jingletit on February 24, 2017, 01:15:49 AM
Well maybe. You'll have to have a "smarter person" look at that. ;)

I don't make themes..I just "help" :)

Thanks anyways :D