Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kent79

Pages: [1] 2 3 ... 34
1
Themes / Re: iojukebox Theme, a JukeBox for Attract-Mode.
« on: September 01, 2018, 08:55:36 PM »
Great. Thank you  :)

2
I am finding some issue of loop playing music. If you are facing quit AM, please edit layout.nut and then remove "mysong.loop = true;". Thanks.

3
Announcements / Re: Version 2.4.1 bug fix release
« on: August 23, 2018, 06:11:55 PM »
I find some issue of loop playing music. If I write loop = true, then the music play once and then quit AM. I am using windows 10 [10.0.17134.228]. Please fix. Thankls.


local mysong = fe.add_sound("music-1.mp3");
mysong.playing = true;
mysong.loop = true;

4
There is mirror update for fixing Grid issue & adding sound effectin the theme  :)

5
Themes / Re: pandoras box 5 "release" by jedione
« on: August 12, 2018, 04:12:54 PM »
Thanks. Great job. Could you provide "shuffle" module since I miss it  :)

6
I fix by myself after disable VIDEO from the vertical layout setup menu.
Now works without stop.

Another issue who i cant fix its a small border from the SHADOW.PNG image.

I should try to explain better with this image.

I do not know if its only a my issue (maybe related at the too dark BLACK COLOR of my monitor) or not.

I have double checked a vertical layout theme finally. There is no any bugs. The theme get freeze since for rpi low cpu power. You are right, change snap video to snap image is ok

Second, the green line should be your monitor or rpi device setting issue.

7
General / Re: ALCplaybackAlsa_mixerPROC - buffer size too low?
« on: July 03, 2018, 04:20:57 PM »
I think you may follow my guide to fresh install  :)
http://forum.attractmode.org/index.php?topic=2275.0


8
General / Re: ALCplaybackAlsa_mixerPROC - buffer size too low?
« on: July 02, 2018, 04:57:01 PM »
Did you try to update latest firmware?

Code: [Select]
sudo apt-get update && sudo apt-get upgrade
sudo rpi-update

9
Way more complicated than need be. Try what I sent in pm. It’s only 4 lines of code to create necessary array of strings.

Yeah, You are right. It works too and using less cpu utilization. Much appreciate   :)

10
@Dal1980

It works. I am very very appreciate. You help me a lot  :)  :)

11
Sorry, my English doesn't good enough, may be get you confuse. Let me to explain one.

Below AM theme screen is my target.

1.txt file put in C:\
AM theme will read txt file and then display the text on theme. Anyone can help me to complete layout.nut file to meet my target.  Thanks


 

12
Thank you Dal1980 reply

Sorry, I don't know understand how to write a exactly script. Could you help me ?

Attachment is my text file. I want to read it and then display it on AM.

local aaaaaa =  fe.add_text( "read txt file 1st line", 1, 2, 0, 1,10 );
local bbbbbb =  fe.add_text( "read txt file 2nd line", 1, 12, 4, 1,10 );
local ccccccc =  fe.add_text( "read txt file 3rd line", 1, 22, 8, 1,10 );
local dddddd =  fe.add_text( "read txt file 4th line", 1, 32, 8, 1,10 );

Did you get my pm?

Yeah. But my code skill doesn't good enough. could you write a real script to me? Thanks.

13
Thank you Dal1980 reply

Sorry, I don't know understand how to write a exactly script. Could you help me ?

Attachment is my text file. I want to read it and then display it on AM.

local aaaaaa =  fe.add_text( "read txt file 1st line", 1, 2, 0, 1,10 );
local bbbbbb =  fe.add_text( "read txt file 2nd line", 1, 12, 4, 1,10 );
local ccccccc =  fe.add_text( "read txt file 3rd line", 1, 22, 8, 1,10 );
local dddddd =  fe.add_text( "read txt file 4th line", 1, 32, 8, 1,10 );

14
https://github.com/mickelson/attract/blob/master/config/modules/file.nut

class ReadTextFile
  function readline()

What is your goal?

Please help to write a sample layout code.

Below is my goal

Txt file:

abc
def
xyz

AM:

local abc =  fe.add_text( "read txt file 1st line", 1, 0, 0, 1,1 );
local def =  fe.add_text( "read txt file 2nd line", 2, 0, 4, 1,1 );
local xyz =  fe.add_text( "read txt file 3rd line", 3, 0, 8, 1,1 );

15
Hello, any one can help me. Thanks

Pages: [1] 2 3 ... 34