AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Trout - A BASS-driven audio player written in AHK
Goto page Previous  1, 2, 3, 4 ... 11, 12, 13  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
SoggyDog



Joined: 02 May 2006
Posts: 621
Location: Greeley, CO

PostPosted: Fri Feb 06, 2009 12:13 am    Post subject: Reply with quote

Drugwash wrote:
... if the air stays so heavy here ...

I think it's beginning to thin out already. I knew I was opening a can of unwelcomed worms, but I also knew that somebody was gonna do it and that I'd probably do it nicer. (Retrospectively, I don't think I did a very good job of that)

But, I digress...

@k3ph and skwire
I've been using Trout all day and I love it, source code or not, and I'd be thrilled to do some testing of future revs, as well.
_________________

SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
skwire



Joined: 18 Jan 2006
Posts: 267
Location: Conway, Arkansas

PostPosted: Fri Feb 06, 2009 1:54 am    Post subject: Reply with quote

majkinetor ! wrote:
Talking about app, it looks very nice and everything works OK apart from visuals that are somehwat disordered when your DPI in the system is different then default.


Thank you for your kind words, maj. I cannot believe I forgot to add you to the list of thanks in the initial thread. I have used your modules EXTENSIVELY over the years in all manner of apps I've written. This will be rectified as soon as I'm done replying to some of these posts. My sincere apologies.

The DPI issue. Ack! I've been meaning to add a fix to Trout that I normally use in all my apps. Thanks for the reminder.

majkinetor wrote:

Suggestions:
* Think about "Add to / Enque in Trout" using DDE (toggled via menu) If you need help with it, let me know

I actually have this mostly working with Skan's WM_COPYDATA example. It works fine when dropping files/folders onto the exe. From the context menu, however, it only works fine when adding/queueing one file or one folder. When you select multiple files/folders and add them via the context menu, they seem to come in at random intervals and in a random order. Does that make sense?

majkinetor wrote:

* You should drop installer IMO, its ridicoulus to make installer for portable apps Smile

It's there for the folks that prefer installers over having to work with a zipfile. Honestly, it only takes a few seconds to generate both the installer and zip package.

majkinetor wrote:

* Color profiles would be awesome to have with several presets, like the black one you shown.

This is a great idea. Thanks.

majkinetor wrote:

* Play history (which can be implemented similar to IE history)

Could you elaborate a bit more?

majkinetor wrote:

* Playing position of Mp3 played from internet can not be set.

Hmmm...I'll look into this. Just to be clear, you're not talking about a internet stream, right? You're talking about something like this, eh?: http://www.somewhere.com/path/file.mp3
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
skwire



Joined: 18 Jan 2006
Posts: 267
Location: Conway, Arkansas

PostPosted: Fri Feb 06, 2009 1:55 am    Post subject: Reply with quote

SKAN wrote:
"The most professional quality software ever written with AutoHotkey"

Suresh, you humble me, my friend.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
skwire



Joined: 18 Jan 2006
Posts: 267
Location: Conway, Arkansas

PostPosted: Fri Feb 06, 2009 1:56 am    Post subject: Reply with quote

Petru wrote:
By posting this thread, the only thing he could tell us is "hey, look how smart I am! and you fools were not able to do this before I did, and as a consequence, I'll let you struggle by yourselves till you fall into the madness to do something like my thing. Twisted Evil Twisted Evil "

SoggyDog wrote:
This is a learning forum, not [just] a showcase to boast your abilities.
[...]
''Look at how good my software is and, oh yeah, I'm a Code Nazi."

Normally, I don't bother responding to posts like this but I am simply struck speechless by these comments. You're absolutely entitled to your own opinion and thoughts. I am simply offering to share an application I've created. How this can be construed into the above comments just staggers me. That said, it may be that this thread should be in a different forum section as Petru suggested.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
skwire



Joined: 18 Jan 2006
Posts: 267
Location: Conway, Arkansas

PostPosted: Fri Feb 06, 2009 2:06 am    Post subject: Reply with quote

Drugwash wrote:
Dunno what others want, but I personally need tags fixed, seek/volume working and that's about all. I'm currently listening to my local tunes using Trout, because Winamp has long gone to hell from my system starting v5.5 beta when they dropped 9x support and GOMPlayer - the only media player I currently use - is not quite appropriate for audio files (bad quality). I don't even know or care what AudioGenie is. Sad


For you, Drugwash, I'll look into retro-fitting my older slider code back into Trout so at least that much will work. I'll also provide you with an older build that used a different library for tag reading to see if that worked under 9x.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Petru



Joined: 17 Dec 2007
Posts: 139
Location: Galati, Romania

PostPosted: Fri Feb 06, 2009 8:40 am    Post subject: Reply with quote

Ok, skwire, I could hardly sleep a bit last night because of that; and I have to apologize Sad The fact is that I was very intrigued at that time. Now I feel better, but I still want some bits of code like how did you show Unicode characters in your GUI.

EDIT: And I've got an idea. I can write wiki code, we could start a collaborative project on that, so that we can control what, where, how everything goes into the final application.
Back to top
View user's profile Send private message Yahoo Messenger
majkinetor



Joined: 24 May 2006
Posts: 4054
Location: Belgrade

PostPosted: Fri Feb 06, 2009 9:22 am    Post subject: Reply with quote

Quote:
Hmmm...I'll look into this. Just to be clear, you're not talking about a internet stream, right? You're talking about something like this, eh?: http://www.somewhere.com/path/file.mp3

Yes.

Quote:
I actually have this mostly working

There is only one way to make it working with multiple files, and I used it in one application I created which I will probably post very soon, so you will be able to check it out. I think the base for the work is something Lexikos did on DDE (or it was Sean, I can't remember now...).

Quote:
Could you elaborate a bit more?

Just add each song played in the history list. So if I want to hear something again from some big shuffle folder I listened yesterday, I will be albe to do it today by searching it in the history list. Ofc, I wouldn't suggest to be highest priority, just something you may want to play with if you have nothing else to do.

One very important suggestion:
Minibars position and ontop/visibility flag arent saved. This makes them usless atm as I need to fix them each time.

Quote:
That said, it may be that this thread should be in a different forum section as Petru suggested.

Ye, since there is no source code there is nothing here which qualifies it as Scripts & Functions. If you don't plan to release it I suggest you ask your mod friend about shifting to the General/Utilties forum since this is basicly presentation and support for your software.
_________________
Back to top
View user's profile Send private message
app103



Joined: 06 Feb 2009
Posts: 1
Location: NJ, USA

PostPosted: Fri Feb 06, 2009 9:29 am    Post subject: Reply with quote

From the moment I first set eyes upon Skwire's NANY submission, it was very obvious to me that Trout was not and has never been about "look at this, how smart I am, don't you wish you were smart like me". No, it wasn't about showing off himself or his skills, at all.

It seemed more to me as if the statement Skwire was making with Trout was "look at this, see what AHK can do? yes, you can develop real applications with this. It's not just for silly little automation scripts and hotkey macros".

Trout is the single application, that I am aware of, that has and will continue to make people sit up and take notice of a programming language that never quite got the respect it really deserved.

The mere existence of Trout, whether it is open source or not, does a huge service to the AHK community at large, by demanding respect from other developers for the language used to create it, and thereby respect for all AHK developers.

You should be very proud of Skwire (and his helpers) and what he has done for you, the AHK community, and the AHK language itself.

I respected Skwire's decision to keep Trout closed source, without ever needing to know his reasons why. He has had my full support from the very beginning and will continue to have it for as long as he wants or needs it. I will test every build he hands me on whatever system of mine he wants, be that XP or 9x. I will keep coming up with ideas for improving it, if I can. I will keep promoting it to others and especially to Win32 developers that code in other languages, proudly telling them it was written in AHK.

I also know that despite Trout being closed source, if I was ever to decide to start coding seriously in AHK and wanted to know how he did something in Trout, I can ask Skwire and while he won't just hand me the source for Trout, he will tell me how he did it, and even help me if I need it.

This application comes with a developer that has an open heart. To me that is just as good, if not better than open source.

As far as 9x support goes with Trout, Skwire & I have talked about this a lot and he knows how I feel about it and why. While 9x support is something I'd love to see, for many reasons, if it isn't possible, while I will be greatly disappointed & heart-broken, I won't hold it against him. I will help him with testing anything he wants to try on my 9x machine and offer any other type of help & support that I can.

All that having been said, I absolutely adore Trout! It has earned a well deserved permanent place on my desktop. It has replaced not just Winamp on my main XP machine, but now I don't have to run that silly last.fm application in the tray, either.

@Skwire:

Thank you, so much! :-*

Now how about that elimination style play mode, huh? And that last.fm love button, too? Very Happy
_________________
App's Apps
Back to top
View user's profile Send private message
skwire



Joined: 18 Jan 2006
Posts: 267
Location: Conway, Arkansas

PostPosted: Fri Feb 06, 2009 9:34 am    Post subject: Reply with quote

Petru wrote:
Ok, skwire, I could hardly sleep a bit last night because of that; and I have to apologize Sad The fact is that I was very intrigued at that time. Now I feel better, but I still want some bits of code like how did you show Unicode characters in your GUI.


Apology accepted. =]

This unicode thing is hard to explain. I run my computers with Japanese as the default language. I also have the default language for non-unicode apps set to Japanese. This is what enables me to see Japanese characters in a non-unicode app such as AHK/Trout.

Parts of Trout that use unicode:
  • Tag reading in Trout is done using the AudioGenie library. All string handling for this library must be done in unicode. Trout uses code from Skan's post here. However, instead of using Skan's UTOA/ATOU functions, I use Sean's COM library unicode handling functions instead:
    COM_Ansi4Unicode()
    COM_Unicode4Ansi()

  • Trout copies to clipboard in unicode using wOxxOm's clipSetUnicode() function here.

  • All Last.fm strings must be submitted in utf-8 format. I use shimanov's EncodeURL() function here along with Sean's Ansi2UTF8() function found here. Here's a snippet from Trout:

    Code:
        ; Build out submit URL.
        URL  := _LastFM_Sub_URL
        POST := "s="  . _LastFM_Session_ID
              . "&a[" . _LastFM_Index . "]=" . EncodeURL( Ansi2UTF8( LastFM_Submit_Artist ) )
              . "&t[" . _LastFM_Index . "]=" . EncodeURL( Ansi2UTF8( LastFM_Submit_Title  ) )
              . "&b[" . _LastFM_Index . "]=" . EncodeURL( Ansi2UTF8( LastFM_Submit_Album  ) )
              . "&l[" . _LastFM_Index . "]=" . LastFM_Submit_Track_Length
              . "&n[" . _LastFM_Index . "]=" . LastFM_Submit_Row_Num_Playing
              . "&m[" . _LastFM_Index . "]="
              . "&o[" . _LastFM_Index . "]=" . "P"
              . "&r[" . _LastFM_Index . "]=" . ""
              . "&i[" . _LastFM_Index . "]=" . LastFM_Submit_Start_Time


Does that help to explain things?
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Petru



Joined: 17 Dec 2007
Posts: 139
Location: Galati, Romania

PostPosted: Fri Feb 06, 2009 12:17 pm    Post subject: Reply with quote

Nice but not everyone listens to last.fm ... For example I live in the east of Europe, in Romania. I could ask all of my friends, schoolmates and teachers if they know what last.fm is and I'm sure they'd tell me they have heard of it but never went to see it.

For me, last.fm is the thing that counts least. Oh, if you guys agree with providing us with other code snippets from Trout Very Happy you can drop some code snippets here too:
The Nightingale Project.

Anyone's invited to join me.


Last edited by Petru on Fri Feb 06, 2009 3:02 pm; edited 1 time in total
Back to top
View user's profile Send private message Yahoo Messenger
skwire



Joined: 18 Jan 2006
Posts: 267
Location: Conway, Arkansas

PostPosted: Fri Feb 06, 2009 12:56 pm    Post subject: Reply with quote

Petru wrote:
Nice but not everyone listens to last.fm

I'm not sure what you're trying to say about last.fm since the last.fm service was not the point of my last post. I simply provided examples of how and where unicode/utf-8 is used in Trout.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Petru



Joined: 17 Dec 2007
Posts: 139
Location: Galati, Romania

PostPosted: Fri Feb 06, 2009 2:11 pm    Post subject: Reply with quote

Yes it wasn't the point but It looked important as this is the only thing that you have provided the sources for yet.
Back to top
View user's profile Send private message Yahoo Messenger
n-l-i-d
Guest





PostPosted: Fri Feb 06, 2009 2:42 pm    Post subject: Reply with quote

Very nice application! Cool

Even though I would like to see the source (without the AudioGenie stuff), I can understand skwire not wanting to share it (fully yet).

A couple of remarks:
- It would be nice if Trout had a radio-station "directory listing", like Screamer Radio has. Right now I have to add them manually.
- Trivial, but it would be nice if the program could recognize me inserting a MP3 CD/DVD with "Play audio CD in..." instead of an audio CD, and read and play the disc.
- Same issue: I play a MP3 CD/DVD. When I enable freedb search, it will try to recognize it (even though it will never find the correct data, since it is a burned MP3 DVD)
- Is there any way to replace the "<missing>" tags with empty tags or something else?
- Could album-art be "enhanced", so that if there is no JPG in the folder, Trout will download it from the web somewhere (based on the tags it finds)?
- Lyrics are on the to do list. Would be great if it could be added, but I know there are issues with copyright with lyrics.
Back to top
SoggyDog



Joined: 02 May 2006
Posts: 621
Location: Greeley, CO

PostPosted: Fri Feb 06, 2009 3:02 pm    Post subject: Reply with quote

Now that the dust has settled...

1)
I love the Toaster Popup, but I'd like to be able to change where it pops from;
I work in a multiple monitor environment and the location of the pop is less than optimal.

This is an area in which I'll eventually ask you for help...
I've used Toaster Popups, but not with this level of control.

2)
I understand that the idea behind the Minibar Controls is minimalism,
but I would like the option of scrolling the song title somewhere.

3)
Maybe I've just overlooked it, but how about 'Always On Top'?
_________________

SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
SKAN



Joined: 26 Dec 2005
Posts: 7159

PostPosted: Fri Feb 06, 2009 3:47 pm    Post subject: Reply with quote

727 views and 43 replies in 1 day!!. Congrats for the second most popular topic!.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3, 4 ... 11, 12, 13  Next
Page 3 of 13

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group