Author Topic: 2.7 - the current state of play  (Read 62395 times)

Torkell

  • Posts: 1168
Re: 2.7 - the current state of play
« Reply #50 on: 23 Apr '03 - 15:59 »
I'm guessing Kynes means WMP-style media library & playlist system.

Pike84

  • Posts: 1401
Re: 2.7 - the current state of play
« Reply #51 on: 24 Apr '03 - 02:59 »
Not exactly, Boggy - basically I just mean that you can open many playlists in the player and switch between them as you like. It's well accomplished in (bulky, bloated, etc.) Winamp3. Try it out with that, if you don't have too strong psychological obstacles in your way ;D. It's a really good system anyway :).

Olego

  • Posts: 557
Bug in the balloon titles
« Reply #52 on: 24 Apr '03 - 03:54 »
Ian,

If the song title has an ampersand in it, and you minimise XMPlay to tray, then the ampersand will not be displayed when you mouse over its icon.  I think it's something to do with menus in Windows...  Is there any way around it?

~Olego~

Torkell

  • Posts: 1168
Re: 2.7 - the current state of play
« Reply #53 on: 24 Apr '03 - 11:30 »
The solution is to add code to double any ampersands in the tool tip string for the system tray icon (NOTIFYICONDATA.szTip). This is easy in VB (use Replace()) but is harder in C/C++ (unless you're using MFC, in which case CString::Replace() will do the dirty work for you). If you're not using MFC, then you'll need to write your own routine to do it (use the C RTL functions to do the manipulation, but you'll have to tell it to find and then to replace).

Zarggg

  • Posts: 1242
Re: 2.7 - the current state of play
« Reply #54 on: 24 Apr '03 - 14:39 »
XMPlay is neither VB or C/C++.  It's Delphi. ::)

Ralesk

  • Posts: 652
Re: 2.7 - the current state of play
« Reply #55 on: 24 Apr '03 - 17:28 »
but the & character still makes the shortcuts for menus... tradition since like... uhhh, Turbo Vision?

Olego

  • Posts: 557
!Delphi
« Reply #56 on: 24 Apr '03 - 20:32 »
Quote

XMPlay is neither VB or C/C++.  It's Delphi. ::)


It can't've been written in Delphi, unless it wasn't written by Ian:

http://un4seen.com/YaBB.cgi?board=bass&action=display&num=1045195886#1

~Olego~
« Last Edit: 24 Apr '03 - 20:42 by Olego »

Zarggg

  • Posts: 1242
Re: 2.7 - the current state of play
« Reply #57 on: 24 Apr '03 - 21:08 »
Bah.  I could have sworn I saw somewhere that Ian said it was coded in Delphi.  Nevermind. :-/

Torkell

  • Posts: 1168
Re: 2.7 - the current state of play
« Reply #58 on: 25 Apr '03 - 09:41 »
Quote

but the & character still makes the shortcuts for menus... tradition since like... uhhh, Turbo Vision?

Examples (using . for space):

Rhythm.&.bass  = Rhythm..bass
Rhythm.&&.bass = Rhythm.&.bass

That's what I meant. Simply double any ampersands in the string.

Pike84

  • Posts: 1401
Re: 2.7 - the current state of play
« Reply #59 on: 25 Apr '03 - 11:48 »
Some updating to this file sorting problem of mine (10 coming before 2 etc.). I did some experimenting and noticed that when you use the 'open file(s)' button, the opened files are sorted properly. Also when using 'add to list' button, and choosing to add individual files and not dirs, the files are sorted properly (this is of course when the 'Sort by filename' is first selected).

When adding dirs via the button or drag'n'dropping files or dirs, they are sorted wrong. Also In all cases, if you use the 'Sort by filename' after putting the files to the list, they are sorted wrong.

Maybe you, RahDick only used the two abovementioned methods where the files get sorted right here too. Try sorting the files afterwards using the button, and tell me what you get :).

[update]Uhm.. I just relized, that when you use the 'open file(s)' button, the files aren't actually sorted at all, just put in the list in the order they were in the folder. Same goes for adding individual files using 'add to list' and drag'n'dropping a bunch of files (depending on what file you are holding when dropping the bunch). Shouldn't post so hastily :-X:P...

Well anyway, the problem still exists (here at least): when using 'Sort by filename', 10 comes before 2 and so. I'd like to hear Ian say something about this, like if it'll be fixed 'n' stuff :).
« Last Edit: 25 Apr '03 - 12:21 by Pike84 »

Ian @ un4seen

  • Administrator
  • Posts: 25080
Re: 2.7 - the current state of play
« Reply #60 on: 25 Apr '03 - 15:06 »
Quote
If the song title has an ampersand in it, and you minimise XMPlay to tray, then the ampersand will not be displayed when you mouse over its icon.  I think it's something to do with menus in Windows...  Is there any way around it?

I never even considered that Windows would do that "&" business for a tray tooltip (what's the point? :)) ... I'll sort it for 2.7

Quote
Well anyway, the problem still exists (here at least): when using 'Sort by filename', 10 comes before 2 and so. I'd like to hear Ian say something about this, like if it'll be fixed 'n' stuff :).

XMPlay simply does a string comparison when sorting, so "10" comes before "2" because "1" comes before "2". I'll look into making it do what you're suggesting :)

Pike84

  • Posts: 1401
Re: 2.7 - the current state of play
« Reply #61 on: 26 Apr '03 - 01:56 »
Thanks :)

Ralesk

  • Posts: 652
Re: 2.7 - the current state of play
« Reply #62 on: 27 Apr '03 - 20:57 »

Quote


Examples (using . for space):

Rhythm.&.bass  = Rhythm..bass
Rhythm.&&.bass = Rhythm.&.bass

That's what I meant. Simply double any ampersands in the string.


I was answering Alpha there, who wanted to be precise about the programming language.  I simply noted that in either case, & is used for making menu shortcuts, ie. E&xit is Exit and if you are in the menu and press x, it will exit.  Stuff like that.  Tradition since the 80s or so.  Even Turbo Vision used this system.

TronixA

  • Posts: 29
Re: 2.7 - the current state of play
« Reply #63 on: 29 Apr '03 - 20:08 »
Ian,
  Just wanted to let you know that I really like what you've done with the new player. The ability to play the visuals in true color and have the resolution increase as one increases the size of the visual box is simply genius. I have one small favor to ask of you... Could you allow your EQ presets to be controled with hotkeys as well? (ex: pop, Rock, Jazz, etc...) I figured that would be the next best thing to an auto-eq feature. Thanks for making the visuals much more impressive! ;)