No Programming Knowlegde

Find quick help here to get you started with Hollywood
User avatar
1Mouse
Posts: 63
Joined: Sat Sep 11, 2010 9:27 pm

Re: No Programming Knowlegde

Post by 1Mouse »

I sorry but I can't get you code to work, although I am advancing somewhat with the layout and it is heading in the correct direction.

I would like to be able to open multiple tracks but am definitely having difficulty coding this.

The example of HollyAmp has artwork in the brushes folder for a playlist but it is not included in the code.

:(
Bugala
Posts: 1178
Joined: Sun Feb 14, 2010 7:11 pm

Re: No Programming Knowlegde

Post by Bugala »

That example code is not supposed to work. I am just showing how to do it in theoretical level, and that is only part of the whole program.

Som of the commands like "If YES" are not proper commands at all. Point is to twell that at that point you check if end of track hace been reached, and if yes, then the rest.
User avatar
1Mouse
Posts: 63
Joined: Sat Sep 11, 2010 9:27 pm

Re: No Programming Knowlegde

Post by 1Mouse »

Hi all,

This is slow going, but thanks to Allanon for his assistance I am getting somewhere.

There are still problems with loading certain versions of ID3 tags, but I can display coverart.

I can't get it to load the coverart from the same folder as the songs, it loads the artwork from the same folder as my program is saved:
Local app_path = GetCurrentDirectory() which should really be- drive:My Music/Artist/Album/artwork.jpg (just don#t know how to phrase this)

Of course playlist is still alluding me, however the information seems to be in the "Table and List Library" part of the Hollywood.pdf
:x a little frustrating
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: No Programming Knowlegde

Post by djrikki »

Hi 1mouse,

Trying reading my blog posts over on OS4Coding http://www.os4coding.net/blogs/djrikki.

Beyond that you need to start with the very basics of programming, understanding when to use Global or Local variables or indeed passing them through functional parameters, what Constants are for, conditions, program flow and control, the use of arrays (HW in they are called Tables), Read/Write/Parsing files... there is much to learn.

After that you can progress into other areas such as event handling, intervals/interrupts and all the other juicy stuff, but the basic principles must first be learnt am afraid. Good luck!
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
JurassicC
Posts: 36
Joined: Fri May 25, 2012 9:48 pm

Re: No Programming Knowlegde

Post by JurassicC »

I highly recommend reading the blog djrikki does and have a look at the code snipets on OS4depot. (Hint for some more blog articles) it was reading that blog that was the deciding factor for me to purchase hollywood. I was struggling get my head around C after a huge hiatus and needed something I could pickup fast as I had an opportunity at work to save the company some money by automating a specific engineering task.
Prior to Hollywood I had not done any programming in over 16 years and that was Pascal, Borland C++, Microchip PIC at Uni.
My Final year project at uni was written totally in BlitzBasic2 on a CD32(SX1).
My main Hollywood project now sits at 2300 lines of code and is saving my employeer in excess of 260 Man Hours a year at it current forecast, Hours that can be redeployeed to other tasks.
AmigaOne X1000 - RadeonHD 7870, 4GB RAM - AmigaOS 4.1ß
AmigaOne X5000 - Radeon R7 250, 2GB RAM - AmigaOS 4.1ß
User avatar
1Mouse
Posts: 63
Joined: Sat Sep 11, 2010 9:27 pm

Re: No Programming Knowlegde

Post by 1Mouse »

@djrikki

Will you be updating your blog soon?
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: No Programming Knowlegde

Post by djrikki »

Possibly, got myself a missus recently, and I am also busy running my own business and building an e-Commerce website for it so kinda got my hands full atm!
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: No Programming Knowlegde

Post by djrikki »

New users can always download this tool as well and have a look at the source code contained within.

http://www.os4depot.net/index.php?funct ... e_code.lha
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
Post Reply