Author Topic: Previous flyer images don't show up on pi  (Read 5332 times)

jingletit

  • Full Member
  • ***
  • Posts: 34
    • View Profile
Previous flyer images don't show up on pi
« 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?

akafox

  • Hero Member
  • *****
  • Posts: 985
    • View Profile
Re: Previous flyer images don't show up on pi
« Reply #1 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?)
People want life easy..then complain about it

jingletit

  • Full Member
  • ***
  • Posts: 34
    • View Profile
Re: Previous flyer images don't show up on pi
« Reply #2 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 )

akafox

  • Hero Member
  • *****
  • Posts: 985
    • View Profile
Re: Previous flyer images don't show up on pi
« Reply #3 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" :)

People want life easy..then complain about it

jingletit

  • Full Member
  • ***
  • Posts: 34
    • View Profile
Re: Previous flyer images don't show up on pi
« Reply #4 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