topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday December 11, 2024, 2:22 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: NANY 2009 Release: Trout (audio player)  (Read 746374 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #550 on: July 13, 2010, 11:28 AM »
welcome to the site ignotus, hope you'll stay around for a while  :Thmbsup:

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #551 on: July 13, 2010, 01:01 PM »
Make that 11!  I registered here just so I could say that :D

Woot!  Another name for the list!   :D

Right now I have my music collection being served up via http and Trout is the ONLY player I've found that will reliably play it.  Although it doesn't read the ID3 tags.

Try the latest build I just uploaded.  It should read tags when adding them to your playlist and you should now be able to seek those URLs as well.  Please let me know if it works for you and if I've broken anything else in regards to streams and streaming.

Also, what is the difference between the Shuffle and Random Play Modes?

  • Random plays songs randomly with only a basic check to make sure it doesn't play the same song twice in a row.  This mode doesn't quit until you click stop.
  • Shuffle takes the current list, randomises it in memory and plays each track exactly one time.  Certain things can reset that order (adding songs, stopping, etc.).

Make sense?

Website | Installer | Portable
v1.0.4 build 83 - 2010-07-13
    + Added ability for Trout to read tags from and seek URLs that are
      actually files e.g. http://www.site.com/music/song.mp3.  Trout will
      read the tags when you ADD the files so you will have to re-add the
      files in your playlist to see the tags.  (Thanks, ignotus)

ignotus

  • Participant
  • Joined in 2010
  • *
  • Posts: 12
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #552 on: July 13, 2010, 01:45 PM »
Thanks for the quick response!

Make sense?
Yes indeed it does :) Thanks

I have ~3500 songs all in the same playlist and when I added them it did read the tags, but it also took a lot longer to add songs.  This wouldn't be so bad if I could start playing while the rest are being added.  Trout tried to play, but the streaming sources kept failing.  I'm guessing this has more to do with the http server I'm using (python -m SimpleHTTPServer) than Trout though. 

Also, the seeking seems to work the same as it did before.  I can't immediately seek to the end of the song, but I can seek short distances until the song loads completely.  Again, maybe the http server I'm using doesn't support it.

I'll try and get a more advanced web server running and give it a try then.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #553 on: July 13, 2010, 07:20 PM »
I have ~3500 songs all in the same playlist and when I added them it did read the tags, but it also took a lot longer to add songs.  This wouldn't be so bad if I could start playing while the rest are being added.  Trout tried to play, but the streaming sources kept failing.  I'm guessing this has more to do with the http server I'm using (python -m SimpleHTTPServer) than Trout though.

I doubt is has to do with the server.  Maybe I'll change it so it reads the tags on playback instead of on load.  That way, you'll see just the filename at first and the tags will come in as the files are played.  Would that be acceptable?

Also, the seeking seems to work the same as it did before.  I can't immediately seek to the end of the song, but I can seek short distances until the song loads completely.  Again, maybe the http server I'm using doesn't support it.

This is probably more of a issue with the upload speed of the server.  Are you streaming these from home to work or something like that?  If so, there probably isn't going to be a whole lot you can do about it.

Thanks for you patience on this while I work out what's going to work best.

ignotus

  • Participant
  • Joined in 2010
  • *
  • Posts: 12
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #554 on: July 13, 2010, 07:53 PM »
Maybe I'll change it so it reads the tags on playback instead of on load.  That way, you'll see just the filename at first and the tags will come in as the files are played.  Would that be acceptable?
That sounds just fine with me.

Are you streaming these from home to work or something like that?
Exactly  :P

Thanks for you patience on this while I work out what's going to work best.
Thank you for a great application and for being so responsive to its user base!

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #555 on: July 13, 2010, 10:29 PM »
Try this build, please:

Website | Installer | Portable
v1.0.4 build 84 - 2010-07-13
    * Changed recently added behaviour regarding URLs that are actually
      files.  Instead of reading tags on load, they will be read on actual
      playback.  This should alleviate the slow adding of these types of
      files to the list.

ignotus

  • Participant
  • Joined in 2010
  • *
  • Posts: 12
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #556 on: July 14, 2010, 08:25 AM »
Much better!  Although it doesn't seem to be loading the Time, Bitrate, or Size now.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #557 on: July 14, 2010, 05:33 PM »
Website | Installer | Portable
v1.0.4 build 89 - 2010-07-14
    ! Time was being displayed properly for URL files such as:
      http://www.site.com/music/song.mp3.  (Thanks, ignotus)


Time is displayed properly again but the bitrate and size are going to have to wait for those types of files.
« Last Edit: July 15, 2010, 02:06 PM by skwire »

ignotus

  • Participant
  • Joined in 2010
  • *
  • Posts: 12
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #558 on: July 15, 2010, 11:09 AM »
Found a bug I think...
Save a playlist (eg. playlist1.tpl). Save a playlist again as the same name (playlist1.tpl) and say yes to overwrite it.  The playlist gets appended to instead of overwritten.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #559 on: July 15, 2010, 02:06 PM »
Website | Installer | Portable
v1.0.4 build 90 - 2010-07-15
    ! In certain situations, saving playlists appended to the file instead of overwriting the file.  (Thanks, ignotus)

dsy

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #560 on: July 18, 2010, 02:41 AM »
Hello

I have the error message "Error saving list contents" each time I close Trout.

Trout wants to save playlist in \Program Files\trout\list.tpl but it is not compatible with UAC mode of Windows Vista/Seven. Can you please save the playlist file in the "Application Data" folder?
The "Save As" doesn't keep the folder path.
And please, don't tell me to launch Trout in admin mode.

-Trout v1.0.4 build 90
-Windows Seven 32bits with User Access Control mode

Thank you.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #561 on: July 23, 2010, 01:18 PM »
I have the error message "Error saving list contents" each time I close Trout.
Trout wants to save playlist in \Program Files\trout\list.tpl but it is not compatible with UAC mode of Windows Vista/Seven. Can you please save the playlist file in the "Application Data" folder?
The "Save As" doesn't keep the folder path.
And please, don't tell me to launch Trout in admin mode.

Until I add code for this, you have two options:

1) Run Trout from a different folder that isn't UAC-protected.
2) Run Trout in admin mode (but you knew that).

Apologies for the late reply (I've been out of town).

dsy

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #562 on: July 24, 2010, 01:23 AM »

Until I add code for this, you have two options:

1) Run Trout from a different folder that isn't UAC-protected.
2) Run Trout in admin mode (but you knew that).

Apologies for the late reply (I've been out of town).

Thank you, I will wait for the fix.


skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #563 on: September 22, 2010, 01:14 AM »
Website | Installer | Portable
v1.0.4 build 96 - 2010-09-22
    ! Updated to BASS v2.4.6 to fix a bug where the total time displayed
      in the status bar didn't always jive with the total time of the
      seekbar.

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,885
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #564 on: September 22, 2010, 08:47 PM »
Discovered a bug:

When a file name contains a comma, Trout is unable to open Explorer to the file location.

On a file name like "Bjørn Lynne - Revive - 02 - Bridge to the Universe, part 1.mp3" you get an Explorer error stating that "The path 'part 1.mp3' does not exist or is not a directory."

DeVamp

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 122
  • Let the coding begin :-)
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #565 on: September 23, 2010, 02:53 AM »
Found something strange.

When I start trout and Libre.FM support is on, I get the error in attachment.

And I gt it only when I start trout.
For the rest it work fine. :-)

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #566 on: September 23, 2010, 03:03 AM »
Discovered a bug:
When a file name contains a comma, Trout is unable to open Explorer to the file location.

Found something strange.
When I start trout and Libre.FM support is on, I get the error in attachment.

@app103: I'll see what I can do to fix this.  Thanks for the report.
@DeVamp: Do you have anything configured for username and password under the Libre.FM settings?

DeVamp

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 122
  • Let the coding begin :-)
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #567 on: September 23, 2010, 03:08 AM »
Yes, my account and password is filled in.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #568 on: September 23, 2010, 03:25 AM »
Yes, my account and password is filled in.

What happens when you click the "Check login" button?

DeVamp

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 122
  • Let the coding begin :-)
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #569 on: September 23, 2010, 03:47 AM »
---------------------------
Trout
---------------------------
Libre.fm reply: OK

User authentication was successful
---------------------------
OK   
---------------------------

The strange thing is that I closed trout, restarted it and now I don't have that error.
But I had it for several days in a row.

I'll keep you updated when it happens again.

Sorry for your time. :'(

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #570 on: September 23, 2010, 03:50 AM »
Hmmm, I wonder if Libre.FM is/was having some server issues lately?

DeVamp

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 122
  • Let the coding begin :-)
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #571 on: September 27, 2010, 03:03 AM »
I just had it again.

I think it could be a network issue.
But then I find it strange that I don't get a message for Last.fm, since I enabled both of the services. :-)

DeVamp

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 122
  • Let the coding begin :-)
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #572 on: October 01, 2010, 05:20 PM »
I nailed the problem :-)

When I start my PC t work, I always have to reenable the proxy settings (at home I don't use proxy, at work we do)
And I get the errors when the proxy settings aren't yet in place.

Maybe you can catch the error and give a nice errormessage instead. :-)

thank you anywy for the program.
It just replaced foobar2000 at home.

panzer

  • Participant
  • Joined in 2008
  • *
  • default avatar
  • Posts: 941
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #573 on: October 02, 2010, 03:24 AM »

thank you anywy for the program.
It just replaced foobar2000 at home.


I use Trout player for audio files and PotPlayer for movies.

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,776
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: NANY 2009 Release: Trout (audio player)
« Reply #574 on: October 30, 2010, 03:05 PM »
Can you make it so that Total time, Time elapsed, and Time Remaining (for individual tracks) don't show the number of hours? Considering most songs are about 3-5 minutes, I think having an extra set of 00s is pointless and slightly confusing.

Even if you do have tracks that are 60+ minutes long, it seems to me it would be better to show them as number of minutes rather than hh:mm:ss.

I've also been experiencing a strange issue. It seems like whenever I first start up Trout, if I double click an item in the list to play it, it won't play. Then when I get a song playing, double-click-to-play works fine after that.