2011/4/8 jake kaiden [email protected]:
hi vincent -
thanks for the advice about git - i’ll give that a try. let me know
what you’re thinking of for icons for zik, and i’d be happy to help out
if i can.
I am looking for 6 icons to be shown on view selector button.
1 for each view:
default (music directories and playlist),
playlits,
music directories,
compact,
cd,
radio.
.
only other thing i can think of is that maybe the
58853
58853
58853
#e5e5e5e5e5e5
on
#artist# - #album# - #title#
nil
playlist.txt
bottom-right
###################
My brains/config/WaxConfig.txt:
~/Musique
50
yes
0
0
0
FreeSans 11
58853
58853
58853
#e5e5e5e5e5e5
off
#artist# - #album# - #title#
track
playlist.txt
bottom-right
My error came from Wax#initialize methods. On the last lines of this
methods I have:
@batter = @lineUp.index(@atBat) if @shuffle == “off”
@batter = @lUpine.index(@atBat) if @shuffle == “on”
self.batterUp if @lineUp[0] != nil
with
@shuffle => “off”
@lineUp => [“/home/instable/Musique/01 - Blue Bird.mp3”]
@atBat => “track”
@lineUp.index(@atBat) => nil
Other comments:
If you have an type error on @shuffle (i.e. “offf”) @batter will not
be defined. I would have used a bolean for @shuffle (so you can avoid
your case statement)
if @shuffle
@batter=foo
else
@batter=bar
end
or in a compact way (less understandable)
@batter= @shuffle ? foo : bar
Type errors can happened if your config files are edited by hand. What
happen if they are deleted.
Other comments
lines that look like
@pipeline.stop if @pipeline != nil
can be replaced by
@pipeline.stop if @pipeline.nil?
or by
@pipeline.stop if @pipeline
unless @pipeline => false which is not your case
in Wax#lineUpRead you open a file that seems to be never close. Use
File.open(my_file){my_block}#autoclose the file
or something like
begin
f=File.open(my_file)
…
ensure
f.close if f
end
Xperia™ PLAY
It’s a major breakthrough. An authentic gaming
smartphone on the nation’s most reliable network.
And it wants your games.
Best Open Source Mac Front-Ends 2023
ruby-gnome2-devel-en mailing list
[email protected]
ruby-gnome2-devel-en List Signup and Options
Vincent C.