Welcome Guest.   Make a donation to an author on the site October 24, 2014, 03:34:01 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2011! Download 30+ custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: Prev 1 ... 18 19 20 21 22 [23] 24 25 26 27 28 ... 34 Next   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: NANY 2009 Release: Trout (audio player)  (Read 246143 times)
mouser
First Author
Administrator
*****
Posts: 33,581



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #550 on: July 13, 2010, 11:28:07 AM »

welcome to the site ignotus, hope you'll stay around for a while  Thmbsup
Logged
skwire
Global Moderator
*****
Posts: 4,114



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #551 on: July 13, 2010, 01:01:39 PM »

Make that 11!  I registered here just so I could say that cheesy

Woot!  Another name for the list!   cheesy

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)
Logged

ignotus
Participant
*
Posts: 12


View Profile Give some DonationCredits to this forum member
« Reply #552 on: July 13, 2010, 01:45:32 PM »

Thanks for the quick response!

Make sense?
Yes indeed it does smiley 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.
Logged
skwire
Global Moderator
*****
Posts: 4,114



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #553 on: July 13, 2010, 07:20:01 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.
Logged

ignotus
Participant
*
Posts: 12


View Profile Give some DonationCredits to this forum member
« Reply #554 on: July 13, 2010, 07:53:46 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  tongue

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!
Logged
skwire
Global Moderator
*****
Posts: 4,114



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #555 on: July 13, 2010, 10:29:12 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.
Logged

ignotus
Participant
*
Posts: 12


View Profile Give some DonationCredits to this forum member
« Reply #556 on: July 14, 2010, 08:25:22 AM »

Much better!  Although it doesn't seem to be loading the Time, Bitrate, or Size now.
Logged
skwire
Global Moderator
*****
Posts: 4,114



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #557 on: July 14, 2010, 05:33:11 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:09 PM by skwire » Logged

ignotus
Participant
*
Posts: 12


View Profile Give some DonationCredits to this forum member
« Reply #558 on: July 15, 2010, 11:09:20 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.
Logged
skwire
Global Moderator
*****
Posts: 4,114



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #559 on: July 15, 2010, 02:06:30 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)
Logged

dsy
Participant
*
Posts: 2

View Profile Give some DonationCredits to this forum member
« Reply #560 on: July 18, 2010, 02:41:12 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.
Logged
skwire
Global Moderator
*****
Posts: 4,114



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #561 on: July 23, 2010, 01:18:27 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).
Logged

dsy
Participant
*
Posts: 2

View Profile Give some DonationCredits to this forum member
« Reply #562 on: July 24, 2010, 01:23:48 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.

Logged
skwire
Global Moderator
*****
Posts: 4,114



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #563 on: September 22, 2010, 01:14:04 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.
Logged

app103
That scary taskbar girl
Global Moderator
*****
Posts: 5,276



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #564 on: September 22, 2010, 08:47:39 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."
Logged

DeVamp
Supporting Member
**
Posts: 100



Let the coding begin :-)

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #565 on: September 23, 2010, 02:53:46 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. :-)


* trout.png (3.82 KB, 369x184 - viewed 156 times.)
Logged
skwire
Global Moderator
*****
Posts: 4,114



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #566 on: September 23, 2010, 03:03:02 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?
Logged

DeVamp
Supporting Member
**
Posts: 100



Let the coding begin :-)

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #567 on: September 23, 2010, 03:08:17 AM »

Yes, my account and password is filled in.


* 2010_09_23_10_09_13.png (14.51 KB, 678x460 - viewed 158 times.)
Logged
skwire
Global Moderator
*****
Posts: 4,114



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #568 on: September 23, 2010, 03:25:09 AM »

Yes, my account and password is filled in.

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

DeVamp
Supporting Member
**
Posts: 100



Let the coding begin :-)

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #569 on: September 23, 2010, 03:47:20 AM »

Quote
---------------------------
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. Cry
Logged
skwire
Global Moderator
*****
Posts: 4,114



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #570 on: September 23, 2010, 03:50:29 AM »

Hmmm, I wonder if Libre.FM is/was having some server issues lately?
Logged

DeVamp
Supporting Member
**
Posts: 100



Let the coding begin :-)

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #571 on: September 27, 2010, 03:03:51 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. :-)
Logged
DeVamp
Supporting Member
**
Posts: 100



Let the coding begin :-)

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #572 on: October 01, 2010, 05:20:38 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.
Logged
panzer
Participant
*
Posts: 203

View Profile Give some DonationCredits to this forum member
« Reply #573 on: October 02, 2010, 03:24:40 AM »


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


I use Trout player for audio files and PotPlayer for movies.
Logged
Deozaan
Charter Member
***
Posts: 6,418



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #574 on: October 30, 2010, 03:05:34 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.
Logged

Pages: Prev 1 ... 18 19 20 21 22 [23] 24 25 26 27 28 ... 34 Next   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.062s | Server load: 0.08 ]