Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Need help (script of the ELPlaylist Settings) (Read 2027 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Need help (script of the ELPlaylist Settings)

Hey !

I try to remove those albums art and annoying "reflects" from my playlist
Screenshot : http://puu.sh/jYtKB.png

Tracklist script :
Code: [Select]
$puts(config_name,'eigen')
$puts(foo_path,%FOOBAR_PATH%)
$puts(z,$get(foo_path)'images/'$get(config_name))
$puts(bg.color,%eigen_bg_color%)

$puts(text.color,$if(%el_isplaying%,%PLAY.TEXT.COLOR%,%TEXT.COLOR%))


$puts(track.text,%title%)
$font(%font.dafault%)

$puts(TR.width,%TRACKNR.WIDTH%)
$puts(RAT.width,%RATING.WIDTH%)
$puts(BIT.width,%BITRATE.WIDTH%)
$puts(BPM.width,%BPM%)
$puts(L.width,%LENGTH.WIDTH%)
$puts(text.right.margin,9)
$puts(text.right,$add($get(RAT.width),$get(BIT.width),$get(L.width),$get(text.right.margin)))
$puts(art.size,%__ART.SIZE__%)


$puts(text.top,0)








//------------Background

$drawrect(,,,,$get(bg.color),$get(bg.color),)

$if(%el_selected%
,
$drawroundrect($sub($get(text.left),5),$add($get(text.top),1),$sub(%el_width%,$get(text.left),-3),$sub(%el_height%,3),2,2,%SELECT.RECT.COLOR.B%,%SELECT.RECT.COLOR.A%,vertical)
,
//$ifequal($mod(%el_item_index%,2),0,
$drawroundrect($sub($get(text.left),5),$add($get(text.top),1),$sub(%el_width%,$get(text.left),-3),$sub(%el_height%,3),2,2,%BG.RECT.COLOR.B%,%BG.RECT.COLOR.A%,vertical)
//,)
)

//------------Track Info

$if($stricmp(%album artist%,%artist%),$puts(VA,0),$puts(VA,1))
$puts(rating,$if2(%rating%,0))

$if($not(%el_isplaying%)
,
    $drawtextex($get(track.text2),
            $get(text.left),$get(text.top),$get(TR.width),%el_height%,$get(text.color),vcenter end_ellipsis)
  $drawtextex($get(track.text)$ifgreater($get(VA),0, - %artist%,),
            $add($get(text.left),$get(TR.width)),$get(text.top),$sub(%el_width%,$get(text.left),$get(text.right),$get(TR.width),5),%el_height%,$get(text.color),vcenter end_ellipsis)
//    $drawtextex($repeat($char(8226),$get(rating)),
//            $sub(%el_width%,$get(text.right)),$add($get(text.top),1),$get(RAT.width),%el_height%,$get(text.color),top)
    $drawtextex(%bitrate% kbps,
            $sub(%el_width%,$get(BIT.width),$get(L.width),$get(text.right.margin)),$get(text.top),$get(BIT.width),%el_height%,$get(text.color),vcenter right)
    $drawtextex(%BPM% bpm,
            $sub(%el_width%,$get(BPM.width),$get(L.width),$get(L.width),$get(L.width),$get(text.right.margin)),$get(text.top),$get(BPM.width),%el_height%,$get(text.color),vcenter right)
    $drawtextex(%length%,
            $sub(%el_width%,$get(L.width),$get(text.right.margin)),$get(text.top),$get(L.width),%el_height%,$get(text.color),vcenter right)

//------------Rating

//------------ Cover Art + Background

$enabledraw(1)
$setworldtransform(2)
$puts(art.top,2)
$puts(art.left,%ART.MARGIN%)
$puts(e.cover,%__ART.COVER__%)

$drawrect(,$mul(%el_item_count%,%el_row_height%),,,$get(bg.color),$get(bg.color),),
$puts(e.cover',$get(z)'/cover/radio.png)

)
$if($strstr(%url%,radioparadise)
,
$puts(e.cover,$get(z)'/cover/radioparadise.png')
)
$if($strstr(%path%,fm4)
,
$puts(e.cover,$get(z)'/cover/fm4.png')
)
$if($strstr(%url%,fm4)
,
$puts(e.cover,$get(z)'/cover/fm4.png')
)
$if($findfile($get(e.cover)),
,
$puts(e.cover,$get(z)'/cover/nocover.png')
)
$puts(e.cover,$findfile($get(e.cover)))
 ,
  $imageabs($get(art.left),$get(art.top),$get(art.size),$get(art.size),%path%,artreader,nokeepaspect,)
  $imageabs($get(art.left),$get(art.top),$get(art.size),$get(art.size),$get(z)'\cover\case2.png',nokeepaspect,,)
  ,
  $imageabs($get(art.left),$get(art.top),$get(art.size),$get(art.size),$get(e.cover),,,,)
  $imageabs($get(art.left),$get(art.top),$get(art.size),$get(art.size),$get(z)'\cover\case2.png',nokeepaspect,,)
)

 
//------------Reflection
$puts(refl.color,$left($get(bg.color),11))

$ifequal(%ON.REFLECTION%,1
    ,
    $if($stricmp('FOO_LASTFM',$left(%path%,10))
    ,
    $imageabs($get(art.left),$add($get(art.top),$get(art.size)),$get(art.size),$el_scale(50,$get(art.size)),%path%,artreader nokeepaspect,6,)
    $imageabs($get(art.left),$add($get(art.top),$get(art.size)),$get(art.size),$el_scale(50,$get(art.size)),$get(z)'\cover\case2.png',top nokeepaspect,6)
    $gradientrect($get(art.left),$add($get(art.top),$get(art.size)),$get(art.size),$el_scale(50,$get(art.size)),$get(refl.color)-164,$get(refl.color)-255)
    ,
    $imageabs($get(art.left),$add($get(art.top),$get(art.size)),$get(art.size),$el_scale(50,$get(art.size)),$get(e.cover),top nokeepaspect,6)
    $imageabs($get(art.left),$add($get(art.top),$get(art.size)),$get(art.size),$el_scale(50,$get(art.size)),$get(z)'\cover\case2.png',top nokeepaspect,6)
    $gradientrect($get(art.left),$add($get(art.top),$get(art.size)),$get(art.size),$el_scale(50,$get(art.size)),$get(refl.color)-164,$get(refl.color)-255)
    )
,)

Per second script :
Code: [Select]
$puts(config_name,'eigen')
$puts(foo_path,%FOOBAR_PATH%)
$puts(z,$get(foo_path)'images/'$get(config_name))
$puts(bg.color,%eigen_bg_color%)

$font(%font.play%)
$puts(text.color,$if(%el_isplaying%,%PLAY.TEXT.COLOR%,%TEXT.COLOR%))

$puts(TR.width,%TRACKNR.WIDTH%)
$puts(RAT.width,%RATING.WIDTH%)
$puts(BPM.width,%BPM%)
$puts(BIT.width,%BITRATE.WIDTH%)
$puts(L.width,%LENGTH.WIDTH%)
$puts(text.right.margin,8)
$puts(text.right,$add($get(RAT.width),$get(BIT.width),$get(L.width),$get(text.right.margin)))
$puts(art.size,-5)

$puts(text.top,0)
$puts(prog.top,2)

$puts(track.text,$if($strcmp($left(%path%,7),'http://'),%title% - %artist%,%title%))

//------------Progress Background

$puts(prog.width,$muldiv(%playback_time_seconds%,$sub(%el_width%,$get(text.left),2),%length_seconds%))

$drawroundrect($sub($get(text.left),5),$add($get(text.top),1),$sub(%el_width%,$get(text.left),-3),$sub(%el_height%,3),2,2,%SELECT.RECT.COLOR.B%,%SELECT.RECT.COLOR.A%,vertical)
$gradientrect($sub($get(text.left),4),$get(prog.top),$sub(%el_width%,$get(text.left),-2),$sub(%el_height%,4),%PLAY.RECT.COLOR.B%,%PLAY.RECT.COLOR.A%,vertical)

$if(%length%
,
$gradientrect($sub($get(text.left),4),$get(prog.top),$get(prog.width),$sub(%el_height%,4),%PROG.RECT.COLOR.B%,%PROG.RECT.COLOR.A%,vertical)
,)

//------------Track Text

$if($stricmp(%album artist%,%artist%),$puts(VA,0),$puts(VA,1))

$puts(rating,$if2(%rating%,0))

$drawtextex($get(track.text)$ifgreater($get(VA),0, - %artist%,),
            $add($get(text.left),$get(TR.width)),$get(text.top),$sub(%el_width%,$get(text.left),$get(text.right),$get(TR.width),5),%el_height%,$get(text.color),vcenter end_ellipsis)
//    $drawtextex($repeat($char(8226),$get(rating)),
//            $sub(%el_width%,$get(text.right)),$add($get(text.top),1),$get(RAT.width),%el_height%,$get(text.color),top)
    $drawtextex(%bitrate% kbps,
            $sub(%el_width%,$get(BIT.width),$get(L.width),$get(text.right.margin)),$get(text.top),$get(BIT.width),%el_height%,$get(text.color),vcenter right)
    $drawtextex(%BPM% bpm,
            $sub(%el_width%,$get(BPM.width),$get(L.width),$get(L.width),$get(L.width),$get(text.right.margin)),$get(text.top),$get(BPM.width),%el_height%,$get(text.color),vcenter right)
    $drawtextex('- '%playback_time_remaining%,
            $sub(%el_width%,$get(L.width),$get(text.right.margin)),$get(text.top),$get(L.width),%el_height%,$get(text.color),vcenter right)

//------------Rating


//------------Now Playing

$font(Arial,11,)
$drawtextex($char(9658),$get(text.left),$get(text.top),$get(TR.width),%el_height%,$get(text.color),vcenter end_ellipsis)

I have tried to remove line after lines but I didn't found anything...

It will be great if you can help me =)

Thanks ! (Sorry for my english)

 

Need help (script of the ELPlaylist Settings)

Reply #1
Those "reflects" are usually scripted in ELPlaylist Settings- Script- Group Header. Usually those reflects are just images drawn on top to give the shiny effect. One quick simple solution would be to find said image in the config folder and delete or rename it if you don't want to use it.