Author Topic: iojukebox Theme, a JukeBox for Attract-Mode.  (Read 17136 times)

iOtero

  • Sr. Member
  • ****
  • Posts: 414
    • View Profile
iojukebox Theme, a JukeBox for Attract-Mode.
« on: August 15, 2018, 04:08:04 PM »
iojukebox Theme, a JukeBox for Attract-Mode.

I'm having a lot of problems with YouTube because of copyright problems of the music that sounds in the videos that I upload of this theme, so from now on I will limit myself to the still images.
If some video disappears, I will not be able to upload it again, but it's not my thing it's Youtube and the copyrights


Version 09/2018

Updated: 09/01/2018
The number of background videos is increased to 16.
The graphic files of the wallpapers are removed. They are changed by color schemes, increasing to 16 options.


This jukebox is based on the jukebox-pzin of comrade JosepZin.
Without his work, this theme would never have seen the light. Thanks friend.


Here you can see it running.
I've uploaded it to vimeo, because youtube put obstacles:
https://vimeo.com/285125523

And this video is demonstrative of the Random function, which i forgot to include in the previous one:
https://www.youtube.com/watch?v=v4bO7VJgnzE


And another with the last option that i have added, the background videos:
https://vimeo.com/286896131

Screenshots:






Some important details:
  • You do not need to use any Attract-Mode module, the ones you need already have them incorporated..
  • You do not need an external player, use only the internal Attract-Mode code.
  • Play the following music formats: mp3, wma, ogg and m4a.
  • The player has its own Play List and options: Play /Stop, Next, Prev, Loop and Random.
  • You can choose a video to mix it with the background of the screen among 16 options, or choose them randomly.
  • You can choose the scheme colors of the screen among 16 options, or choose them randomly.
  • You can choose the color...
    • Of the titles of the main album and the lists
    • Of the text of the album song lists
    • Of the text of the music player
    • Of the text of the playlists.
    • Or randomly choose any of them.
    • You can set the transparency of the wallpaper (0-255).
      If it is set to 0, only the video is displayed, and if it is set to 255, only the background is visible.
      Both work, but only one is seen. To hide the video or wallpaper it is better to use the "none" option that is included.
  • And, to work properly, you have to follow the following instructions point by point...

INSTRUCTIONS:

SYSTEM:
   
In Attract-Mode create a new "JukeBox" system where you have the rest of the systems, and create the folder where they will go roms (*.m3u) and wheels (*.jpg).
As an example, in these instructions, the path would be "E:\arcade\systems\jukebox\"

In the folder "\Emulators\" inside Attract-Mode, create a JukeBox.cfg like this:

Code: [Select]
# Generated by Attract-Mode v2.4.0
#
# executable         E:\arcade\systems\jukebox\JukeBox.exe
# args               "[romfilename]"
rompath              E:\arcade\systems\jukebox\roms
romext               .m3u
system               JukeBox
artwork    flyer     E:\arcade\systems\jukebox\flyer
artwork    marquee   E:\arcade\systems\jukebox\marquee
artwork    snap      E:\arcade\systems\jukebox\snap
artwork    wheel     E:\arcade\systems\jukebox\wheel
   
Or this, if you use relative paths:

Code: [Select]
# Generated by Attract-Mode v2.3.0
#
# executable           ..\..\arcade\systems\jukebox\JukeBox.exe
# args                 "[romfilename]"
rompath              ..\..\arcade\systems\jukebox\roms
romext               .m3u
system               JukeBox
artwork    flyer     ..\..\arcade\systems\jukebox\flyer
artwork    marquee   ..\..\arcade\systems\jukebox\marquee
artwork    snap      ..\..\arcade\systems\jukebox\snap
artwork    wheel     ..\..\arcade\systems\jukebox\wheel

Since this layout does not use any external program, "executable" and "args" are not necessary, so they are commented with #.

ESSENTIAL FORMATS:

This JukeBox does not use tags of any kind, it only uses the names of folders and files.

For the system to work correctly:

  • There can not be more than one level of folders, all album folders must be together.
    Wrong: "E:\my music\Rock\Tom Odell - Long Way Down - 2013"
    Correct: "E:\my music\Tom Odell - Long Way Down - 2013".
  • The format of the folder must be "Singer - Album - Year".
    Correct: "Tom Odell - Long Way Down - 2013".
  • The songs must be named in this order and format #Track - Artist - Title.
    For example: "03 - Tom Odell - Another Love.m4a".
  • In each of the album folders there must be a file with the name "folder.jpg", or any other name, but only one file *.jpg per folder,
    which should be the cover of the album, and is what will be shown on the screen.

GENERATION OF LISTS:

The file "create_lists.cmd" serves to generate the lists with the music: create the m3u (roms) the wheels (* .jpg) and the romlist. No need to generate anything with Attract-Mode.

Before executing "create_lists.cmd", edit it and modify the paths you are going to use:

  • set musicfolder = [Path of your music files: mp3, ogg, m4a or wma]
  • set output = [Path to where the .m3u lists will be created (the "roms" of your JukeBox system)]
  • set screenshots = [Route the covers of the disks, the files "folder.jpg" (that is the "wheels" of your JukeBox system)]
  • set musiclist = [Path where the archives of the rosettes of attract-mode are]
Example:

  • set musicfolder=F:\JukeBox
  • set output=E:\arcade\systems\jukebox\roms
  • set screenshots=E:\arcade\systems\jukebox\wheel
  • set musiclist=E:\arcade\attract\romlists

KEY ASSIGNMENT:

Assign these keys in Attract-Mode:

  • Custom1 --> Space
  • Custom2 --> L
  • Custom3 --> R
  • Custom4 --> LAlt
  • Custom5 --> LShift
  • Custom6 --> RShift
  • Next Favourite --> RControl
  • Prev Favourite --> LControl
  • Toggle Movie --> H
  • Screenshot --> S

The keys to be used appear in the on-screen help when pressing the H key and are the following:

  • Scroll through the albums: left and right
    (not up and down as in the other Attract-Mode systems).
  • Put an album in the playlist: Select.
  • Toggle Playlist/Albumlist: Left Alt.
  • Stop, play, a song: Space.
  • Loop: L.
  • Random: R.
  • Previous song:Left Control.
  • Next song: Right Control.
  • Move the playlist up:  Right Shift.
  • Move the playlist below: Left Shift.
  • Search and filter a string: S.

As you can see, you can easily change this key assignment. Of course, the help, unless you edit the layout code, will not be usable.

And if after all this long and heavy story that i have told you, you are still interested, you can download it here:

https://mega.nz/#!blVyVKrJ!wSxM2YyYBKYdKojieBNIe9TIfrEtUyPb1ZWS0x32Ti0
-- Updated 09/01/2018

Now you can use accents, á, é, ñ and other unicode characters in iojukebox.

Before I did not read the album covers with accents, for example.

After a month of communicating the AM bug, Mickelson has modified the code correcting the bug he had when dealing with UNICODE.

To be able to use the new code you have to download the latest unofficial version, but it works in windows perfectly, from here:

http://forum.attractmode.org/index.php?topic=2324.0

In linux and mac you have to compile yourself.
« Last Edit: May 23, 2019, 01:19:29 AM by iOtero »
Nacer a los 15 años Una novela de iOtero

jedione

  • Hero Member
  • *****
  • Posts: 1135
  • punktoe
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #1 on: August 15, 2018, 05:35:19 PM »
abought time!    this is great to see......

AM,,,  is capable of moore...

thanks for the details on set up..... :)
help a friend....

toothlessgrinn

  • Sr. Member
  • ****
  • Posts: 190
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #2 on: August 17, 2018, 09:59:44 AM »
RIGHT ON!!!! can this play in background while playing games by anychance?? id love tohelp with some layouts lmao... but i cant seem to get the editor to work for me.. but im totally in on this project!! this is whythe worlds need programers! the possabilities are endless... sorry but im a hardware guy. ive never been able to deal with code. so my hatsoff to all of you guys who make this fe the best!!
we came , we saw , we lost LOTS of quarters...

Win 7
Asus mobo amd 64bit 3core
12g ram
4 player. Custom built woody cab
46" plasma screen with 22" marquee

iOtero

  • Sr. Member
  • ****
  • Posts: 414
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #3 on: August 18, 2018, 05:51:38 AM »
can this play in background while playing games by anychance?

I would love for that option to be available, but I have not been able to get it yet. Sorry.  :-[
Nacer a los 15 años Una novela de iOtero

iOtero

  • Sr. Member
  • ****
  • Posts: 414
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #4 on: August 18, 2018, 09:56:43 AM »
Uploaded new version with the modules not included by default in attract mode.

https://mega.nz/#!u9k1ALiB!h4u2pHd0rczkfg9JZS2Od0ltFmwz4koM7uc0E4BGeIw

Added also to first post.
Nacer a los 15 años Una novela de iOtero

iOtero

  • Sr. Member
  • ****
  • Posts: 414
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #5 on: August 22, 2018, 11:30:26 AM »
Updated on first post: Now you do not need to use any Attract-Mode module, the ones you need already have them incorporated.
Nacer a los 15 años Una novela de iOtero

toothlessgrinn

  • Sr. Member
  • ****
  • Posts: 190
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #6 on: August 29, 2018, 10:21:06 AM »
maybe a stupid question but this will play music videos too right?? im assuming its all in what you tell it to look for ..or do you need a player associated with it as well?
we came , we saw , we lost LOTS of quarters...

Win 7
Asus mobo amd 64bit 3core
12g ram
4 player. Custom built woody cab
46" plasma screen with 22" marquee

iOtero

  • Sr. Member
  • ****
  • Posts: 414
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #7 on: August 29, 2018, 12:58:54 PM »
You do not need any special player, it only plays with the squirrel's own code and of course you can play videos, you just have to modify the batch to find them. But it is a subject that I have not considered yet.
Nacer a los 15 años Una novela de iOtero

iOtero

  • Sr. Member
  • ****
  • Posts: 414
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #8 on: September 01, 2018, 03:06:55 AM »
Update 09/01/2018:

The number of background videos is increased to 16.
The graphic files of the backgrounds are removed. They are changed by color schemes, increasing to 16 options.
« Last Edit: September 01, 2018, 10:50:09 AM by iOtero »
Nacer a los 15 años Una novela de iOtero

taelonian

  • Full Member
  • ***
  • Posts: 56
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #9 on: September 01, 2018, 05:58:22 AM »
Gracias / Thanks  ;)

kent79

  • Hero Member
  • *****
  • Posts: 842
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #10 on: September 01, 2018, 08:55:36 PM »
Great. Thank you  :)

iOtero

  • Sr. Member
  • ****
  • Posts: 414
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #11 on: October 02, 2018, 03:05:28 AM »
Now you can use accents, á, é, ñ and other unicode characters in iojukebox.

Before I did not read the album covers with accents, for example.

After a month of communicating the AM bug, Mickelson has modified the code correcting the bug he had when dealing with UNICODE.

To be able to use the new code you have to download the latest unofficial version, but it works in windows perfectly, from here:

http://forum.attractmode.org/index.php?topic=2324.0

In linux and mac you have to compile yourself.
Nacer a los 15 años Una novela de iOtero

kent79

  • Hero Member
  • *****
  • Posts: 842
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #12 on: October 02, 2018, 03:18:04 AM »
@ iOtero

Great, I also find a Unicode issue and hop it can fix it on next AM issue.  :)

iOtero

  • Sr. Member
  • ****
  • Posts: 414
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #13 on: October 02, 2018, 09:07:08 AM »
Happiness is never absolute.

The unicode problem persist.

Now he does read the graphics, but he does not read the text files:

I've already reported it in the thread of bugs.

Log:

Code: [Select]
Attract-Mode v2.4.1 (Windows, SFML 2.4 +SWF)
avcodec 57.89.100 / avformat 57.71.100 / swscale 4.6.100 / avutil 55.58.100 / swresample 2.7.100

Config: E:\arcade\attract juke\attract.cfg

*** Initializing display: 'JukeBox'
 - Loaded master romlist 'JukeBox' in 21 ms (2045 entries kept, 0 discarded)
 - Constructed 2 filters in 0 ms (4090 comparisons)
Loading TXT: E:\arcade\attract juke\emulators\Jukebox.cfg
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/10CC - The Complete Hit Album - 1985.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/5000 Volts - 5000 Volts - 1979.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/ABBA - Gold - 1992.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/ABBA - Gracias Por La Música - 1979.m3u
Error opening file for reading: E:\arcade\sistemas\pinballs\jukebox\roms/ABBA - Gracias Por La Música - 1979.m3u: cannot open file
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/ABBA - Oro ~ Grandes Exitos - 1999.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/ABC - The Ultimate Collection - 2004.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/ACDC - Highway To Hell - 1979.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/ACDC - Let There Be Rock - 1977.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/ACDC - The Very Best Of ACDC - 2010.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Adamo - Lo Mejor De Adamo - 2002.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Adamo - Los Hits de Adamo En Castellano - 1969.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Adele - 19 - 2008.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Adele - 21 - 2011.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Adele - Chasing Pavements - 2008.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Adele - Cold Shoulder - 2008.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Adele - Hometown Glory - 2008.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Adele - Make You Feel My Love - 2008.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Adele - Rolling In The Deep - 2011.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Adele - Skyfall - 2012.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Aerosmith - Nine Lives - 1997.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Aerosmith - Tough Love ~ Best Of The Ballads - 2011.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Aida Cuevas - Totalmente Juan Gabriel - 2013.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Air Supply - Forever Love ~ 36 Greatest Hits 1980~2001 - 2003.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Al Bano - Al Bano En Español - 1987.m3u
Error opening file for reading: E:\arcade\sistemas\pinballs\jukebox\roms/Al Bano - Al Bano En Español - 1987.m3u: cannot open file
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Al Green - Greatest Hits - 1995.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Al Stewart - Time Passages (Remastered) - 1978.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Al Stewart - Time Passages - 1978.m3u
« Last Edit: October 04, 2018, 03:35:15 AM by iOtero »
Nacer a los 15 años Una novela de iOtero

mturilli

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #14 on: November 02, 2018, 01:34:21 PM »
Como hago para que funcione en el attract mode de Retropie en Raspberry Pi?