Jump to content

AveTunes 3


Recommended Posts

AveTunes 3

With long requested fixes!

Screenshot/Preview

about.png

Fixed

  • Finally got rid of the "some scripting interfaces are using iTunes 20 secondsblabla" message when closing iTunes
  • Fixes: random restarts of iTunes
  • Unicode conversion bug
  • albumart is now saved in the %TEMP% folder instead of the desklet's folder, so non-admin accounts can successfully see albumart now.
  • Fixed up dialogs using pretty fonts now.
  • The desklets label will be set to nothing on start -> no more "unnamed" labels beneath the desklet.
  • And some more fixes.

Download

http://koti.mbnet.fi/dropper/files/AveTunes.aveinst (thanks to Loofygun for hosting the file)

Link to comment

OMG... it's here it's here.... Downloading now !!

What I would really like is, a proper documentation about coding Skin.ini.... all the parameters, values stuff like that which can help n00b cod junkies to try their hands at AveTunes skinning.

Link to comment

off course.... unfortunately, my artist side always beats the hell outta my programmer side, so I have to make sure I document whatever I code otherwise it's nightmare for me to edit my own old code... anyway, as for AveTunes skinning.. I had done some WB skin modding in past so the AveTunes skinning format felt similar to me... but Yes, back then I really wish I had some kinda referrence document while making AveTunes skins.

Link to comment

AveTunes is really simple to skin once you get the hang of it. The trick is to base the coords around the display pane and not the bg image.

Anyway, i've been playing with this since last night and it's slowly coming back to me... I've been nagging Ave for over a year to fix it so it was bound to happen :P

Great work Mr. Lazyass :P

edit: Sticked

Link to comment

Options of this widget

  • Totally Skinnable
  • Click the scrolling songname to show the artists name instantly.
  • Click the counter to toggle between elapsed time / remaining time.
  • All buttons work like expected, progressbar is clickable, volume is clickable, ratings are clickable.
  • The volume can be adjusted by scrolling your mousewheel when the widget has the focus.
  • Drag-'n-drop music files onto the widget to play them/add them to the library.
  • Drag-'n-drop images onto the widget to set them as albumart for the current song.
  • Slick animations, and more.. :P

Sample Skin.ini

[Info]

; in this section you can place information about the skin

; which will be displayed in the skin dialogue.

Name=itunes compact

Author=bzeitler

Info=



[Bg]

; define the width and height of the widget here.

Width=324

Height=75





[Font]

; Fonts used for the information panel.

;FaceName of the font used, only truetype fonts can be handled.

FaceName=Tahoma

;font size

Size=10



; this is the color in Alpha - RGB format.

ColorA=255

ColorR=10

ColorB=10

ColorG=10

;    Text align left   = 0,

;    Text align center = 1,

;    Text align right  = 2

;    defaults to 1 (center)

HAlignment=1





;    FontStyleRegular    = 0

;    FontStyleBold       = 1

;    FontStyleItalic     = 2

;    FontStyleBoldItalic = 3

;    FontStyleUnderline  = 4

;    FontStyleStrikeout  = 8

;    defaults to o (regular)  

Style=0



[CounterFont]

; Fonts used for the counter panel.

;FaceName of the font used, only truetype fonts can be handled.

FaceName=Tahoma

;font size

Size=10



; this is the color in Alpha - RGB format.

ColorA=255

ColorR=10

ColorB=10

ColorG=10

;    Text align left   = 0,

;    Text align center = 1,

;    Text align right  = 2

;    defaults to 1 (center)

HAlignment=1





;    FontStyleRegular    = 0

;    FontStyleBold       = 1

;    FontStyleItalic     = 2

;    FontStyleBoldItalic = 3

;    FontStyleUnderline  = 4

;    FontStyleStrikeout  = 8

;    defaults to o (regular)  

Style=0



[DisplayPane]

; this is the panel where ALL text output is written to,

; all other panes are relative in their position to this one.

Left=0

Top=16

Width=324

Height=230



[ProgressBar]

;the progressbar is drawn upon the displaypane and shows the progress

;of the song.

Left=500

Top=31

Width=48

Height=12



[InfoPane]

Left=155

Top=7

Width=120

Height=11





[CounterPane]

; this is the pane relative to the display pane

; that shows the 00:20 or 02:45. it counts

; the song progress/time left

Left=235

Top=21

Width=34

Height=11



[PreviousButton]

; all button positions are relative to the widget itself.

; previous song

Left=31

Top=16

Width=25

Height=25



[NextButton]

; next song

Left=93

Top=16

Width=25

Height=25



[PausePlayButton]

; toggles pause/play

; needs pause.png

Left=57

Top=13

Width=36

Height=37



[StopButton]

;stops the current song.

Left=

Top=

Width=

Height=





[MuteButton]

; mutes the sound7

Left=29

Top=45

Width=15

Height=15



[OpenButton]

; shows an opendialog from where

; the user can select other songs to be played.

Left=274

Top=28

Width=13

Height=13



[ToggleITunesWindowButton]

; toggles the visibility of the iTunes main window

Left=8

Top=42

Width=14

Height=14



[QuitButton]

; quits iTunes

Left=8

Top=5

Width=14

Height=14



[AlbumArt]

; must be 1 if you want album art to show up, otherwise leave this section

; completely out.

Show=1



Top=

Left=

Width=

Height=



; if 1, overlay.png is drawn over the album art.

DrawOverlay=1



if 1, then the overlay is drawn the actual size, otherwise the Width and Height are used.

DrawOverlayActualSize=0



; if you want the album art to be positioned different than the overlay,

; then you can here specify the position of the artwork-picture relative to the albumart

; section.

ArtWorkLeft=

ArtWorkTop=

ArtWorkWidth=

ArtWorkHeight=



[Knob]

; section for the progressbar 'knob'.

; the knob is the visual representation of the progress of the song.

Width=12

Height=12



; if this is 1, knob.png will be used rather than a ownerdrawn knob.

UseBitmap=1

;0 = FALSE, 1=TRUE

; if 1, the widget will 'stretch' the knob. well, not really stretch it

; but if the knob is ownerdrawn (not a png file), then it will

; show a progressbar with the knobs colours instead of a knob

; if useKnobBmp=1 then the imagesknob.png will be used as the

; progressbar, so that images must be the same width and height

; as defined for ProgressBar Width/Height

; e.g. If the progress is 50%, half of the image will be drawn.

stretchKnob=0



[InnerKnob]

; this is the color of the inner fill of the knov in Alpha-RGB format.

ColorA=255

ColorR=0

ColorG=0

ColorB=0



[OuterKnob]

; this is the color of the other edge of the knob in Alpha-RGB format.

ColorA=255

ColorR=0

ColorG=0

ColorB=0



[SoundPane]

; this is the soundpanel and shows the current soundvolume settings.

; this panel is relative to the display panel.

; needs sound_unfilled.png, sound_filled.png and/or sound_knob.png

; the percentage of sound_unfilled.png is drawn to reflect the percentage

; of the sound volume, the rest is filled with sound_unfilled.png.

Left=45

Top=33

Width=45

Height=12

; use this if you want to use a knob for the soundvolume, rather

; than the filled-unfilled method.

UseKnob=1

; 0 = left to right

; 1 = right to left

; 2 = top to bottom

; 3 = bottom to top

Direction=0



[RatingPane]

; this panel reflects the rating the current track has.

; its relative to the displaypane.

; needs imagesrating_unfilled.png and imagesrating_filled.png

; if the rating is 60, 60% of rating_filled.png is drawn, and

; 40% of rating_unfilled.png

Left=0

Top=0

Width=0

Height=0

; 0 = left to right

; 1 = right to left

; 2 = top to bottom

; 3 = bottom to top

Direction=0





[ExtraInfos]

; this need to reflect the number of extra panes

Count=1



; for every extra pane, you need an [ExtraInfo-#] section

; count starts at 1

; All ExtraInfo panes are relative to the display pane.

[ExtraInfo-1]

FaceName=Arial

ColorA=255

ColorR=255

ColorG=255

ColorB=255

Size=12

;

;    FontStyleRegular    = 0

;    FontStyleBold       = 1

;    FontStyleItalic     = 2

;    FontStyleBoldItalic = 3

;    FontStyleUnderline  = 4

;    FontStyleStrikeout  = 8

;

Style=1

;    StringAlignmentNear   = 0,

;    StringAlignmentCenter = 1,

;    StringAlignmentFar    = 2

HAlignment=1

; Type:

; name, album, artist, comment, composter, genre, kind, length

Type=genre



[ChangeSkinHotSpots]

; this need to reflect the number of changeskinhotspots

Count=1



[ChangeSkinHotSpot-1]



; hotspot area

Left=0

Top=0

Width=324

Height=75



; this is only valid if type=hover

; it reflects the hotspot area after the skin has been changed.

; it can be usefull when you want the whole widget as a hotspot

; but the new skin is larger in size.

NewLeft=0

NewTop=0

NewWidth=324

NewHeight=230



; this is the offset the widget can be moved on the screen.

; for example, if you want the widget to be 50 pixels up for the new skin,

; you should specify YOffset=-50

XOffset=0

YOffset=0



; same as above, but when the mouse is out, only valid if type=hover

MouseOutXOffset=0

MouseOutYOffset=-155



; the name(folder name) of the skin to change to, can use subfolders.

NewSkinName=itunesbase



; the skin to change back to when the mouse moves out of the hotspot,

; only valid if type=hover.

MouseOutSkinName=itunescom



; the type of hotspot, hover or click. Hover reacts when the mouse moves

; over the hotspot, click when the user clicks the hotspot.

type=hover



; animation that is 'played' when the widget changes its skin.

; if type=hover, the animation is played backwards.



; actually, each frame will be set as a background quickly, hence

; the name EasyAnimation;)



; this specifies the number of frames.

EasyAnimationFramesCount=9



; for each frame, there is an EasyAnimationFrame#, starting at 1.

EasyAnimationFrame1=anim1.png

EasyAnimationFrame2=anim2.png

EasyAnimationFrame3=anim3.png

EasyAnimationFrame4=anim4.png

EasyAnimationFrame5=anim5.png

EasyAnimationFrame6=anim6.png

EasyAnimationFrame7=anim7.png

EasyAnimationFrame8=anim8.png

EasyAnimationFrame9=anim9.png

Link to comment

Thanks a lot for that Info on Skin.INI, the reason for asking that, I was planning to create something for AveTunes and like I said earlier.. coding isn't something that comes naturally to me. or let's just say.. I'm not as fotunate as Mr. Unbe ;).

Anyway.. it's really nice to see AveTunes getting updated.. and thanks again for quick responce... shouldn't be any doubt who is our most loved developer around here? :D

Link to comment

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...