Welcome Guest.   Make a donation to an author on the site November 22, 2014, 08:13:34 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.
 
Your Support Funds this Site: View the Supporter Yearbook.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: Prev 1 2 3 4 [5] 6 7 Next   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: IDEA: Shell extension to show total play time of media clips  (Read 52889 times)
skwire
Global Moderator
*****
Posts: 4,158



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #100 on: December 11, 2010, 12:37:09 PM »

Website | Download
v1.2.1 - 2010-12-11
    ! The Enter keystroke no longer worked in the menus.  (Thanks, M. Rule)
Logged

skwire
Global Moderator
*****
Posts: 4,158



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #101 on: December 28, 2010, 11:54:18 AM »

Website | Download
v1.2.2 - 2010-12-28
    ! Fixed toolbar glyph issue under Windows 7.
Logged

Curt
Supporting Member
**
Posts: 6,349

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #102 on: December 28, 2010, 05:42:41 PM »

I stopped participating when I read about version 1.2.0:>> * PlayTime now only computes total time when done adding files to the list. This should speed up things when adding very large lists of files<<, because I *thought* this was the opposite of what I wanted from your project. Only now am I thinking that I might have misinterpreted the text, so I ask: If I add some files (to the new version), will the total playtime be shown after each file, or must I first click something / save the file, before it will display the total playtime?
 tellme

My wish for the program was and is for the total playtime to be shown at all time, when I create a playlist. I don't add large playlists, only individual audio files.
« Last Edit: December 28, 2010, 05:45:30 PM by Curt » Logged
skwire
Global Moderator
*****
Posts: 4,158



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #103 on: December 28, 2010, 05:53:29 PM »

so I ask: If I add some files (to the new version), will the total playtime be shown after each file, or must I first click something / save the file, before it will display the total playtime?

Yes.  The change only really comes in play when you drop a huge list of files or if you choose a folder that has a lot of subfolders to recurse through.  I suppose this needs some code explanation.  In previous version, PlayTime would compute the total time EVERY time a file was added to the list.  So, if you had chosen a folder that contained thousands of media files, the total time computation would run thousands of times and this would slow things down as the list got larger and larger.  What PlayTime does now is finish adding files to the list and THEN runs the total time computation.  This results in a HUGE increase in speed when loading a large list.  There is no need to save or do anything.  The only thing you miss is watching the total time increase WHILE it's loading files.  Does that make sense?

Just give the new version a try, I don't think you'll notice much of a difference.
Logged

Curt
Supporting Member
**
Posts: 6,349

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #104 on: December 28, 2010, 06:06:33 PM »

-working well.  smiley  Thank you!
Logged
Curt
Supporting Member
**
Posts: 6,349

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #105 on: December 29, 2010, 10:38:47 AM »

hmm... using PlayTime, I converted a WPL playlist to M3U, and felt something was missing. I checked, and Yes, the playlist made by PlayTime is 2 hours shorter than the same list saved by WMP: 30 "rows" are missing!

In PlayTime I clicked > Select All > Save selected rows to playlist > Yes, I have selected 95 rows...
If I use PlayTime to open a WMP-created M3U version and save it as another M3u list, it is 125 rows (not 95), and all is well.


The original WPL list (from WMP): * Afspilningsliste1.zip (10.09 KB - downloaded 80 times.)

the resulting PlayTime .M3U list (95 rows): * PlayTimeList.zip (3.72 KB - downloaded 75 times.)

WMP's WPL saved as M3U: * WMPList.zip (5.41 KB - downloaded 74 times.)

WMP's M3U saved as M3U by PlayTime: * 125.zip (4.75 KB - downloaded 74 times.)

Will you need me to check the missing files? To my memory they are normal MP3 files.

« Last Edit: December 29, 2010, 10:51:09 AM by Curt » Logged
skwire
Global Moderator
*****
Posts: 4,158



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #106 on: December 29, 2010, 01:55:47 PM »

It's almost certainly a Unicode issue.  You'll notice that the missing tracks are the ones with non-ASCII characters such as:

50 Stærke Danske Hits
Sinéad O'Connor
Samlade Sånger 1992 - 2003 (CD 1)
Björn Afzelius\Bästa
« Last Edit: December 29, 2010, 01:58:37 PM by skwire » Logged

Curt
Supporting Member
**
Posts: 6,349

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #107 on: December 29, 2010, 04:26:08 PM »

-of course. Now I know first hand why I must get a key for ehh... what's the name, "total"-something or similar ..., "watch the differences between to files" ...? I tried to do it manually, and clearly lost oversight and missed to see the obvious.

Edited:
Oh, there it was: Compare It! Is this the one to use? No "total"-something?

Edited again:
Oh... Ultra, not Total... "UltraCompare":-)
« Last Edit: December 29, 2010, 05:21:06 PM by Curt » Logged
worstje
Honorary Member
**
Posts: 555



The Gent with the White Hat

View Profile Give some DonationCredits to this forum member
« Reply #108 on: December 30, 2010, 07:50:23 AM »

There's tons of those comparing tools. You'll probably have more luck finding freeware tools if you look for the word diff.
Logged
Curt
Supporting Member
**
Posts: 6,349

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #109 on: December 30, 2010, 10:09:31 AM »

-thanks, worstje

In general I am tired of freeware programs. Far too often they are updated too seldom or never. If I have purchased a key for a program, I feel I am entitled to hunt down the author and make his life miserable, if the program doesn't work as expected. But how do bully a freeware author? You can't!
 Wink
Logged
Ath
Supporting Member
**
Posts: 2,262



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #110 on: December 30, 2010, 10:33:20 AM »

@Curt Would WinDiff/WinMerge help you out?
They have been highly praised and are regularly updated. I'm a Compare It!/Synchronize It! registered user, so I don't use em...
Logged

Curt
Supporting Member
**
Posts: 6,349

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #111 on: December 30, 2010, 12:12:26 PM »

I tested both UltraCompare and WinMerge, but removed them again because I didn't like their interfaces. I am not a coder and have absolutely very little to use this kind of programs for, so it is important to my IT illiterate brains that any "diff"-program above all is easy to use, and (only then) not too expensive. WinMerge is of course cheap (free) but the window is a little "weird", making it a slow process to read each line.

Remember that we are talking about two different type of files, M3U and WPL. The first song in the playlist will do fine as an example of the problem. In M3U it looks like this:

D:\Musik reserve\Plain White T's\-no album-\00 Rhythm Of Love - Plain White T's - .mp3

but in the WPL the same song is like this:

   <media src="D:\Musik reserve\Plain White T&apos;s\-no album-\00 Rhythm Of Love - Plain White T&apos;s - .mp3" tid="{7FC85ED8-E4C7-43E5-9C6D-D03A51C7A432}"/>

-so you see, any diff program will *almost* show more differences than similarities!

I expect to maybe get a key for Compare It! if/when it gets on discounted offer
- but I have of course not yet made any final decisions. It is not urgent ;-)
Logged
skwire
Global Moderator
*****
Posts: 4,158



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #112 on: January 27, 2012, 12:19:06 PM »

Website | Download
v1.2.3 - 2012-01-27
    + Added Unicode path support.
    * Updated to v0.7.53.0 of MediaInfo.dll.
    ! Windows 2000 and below no longer supported (due to added Unicode support).
    ! Removed Text-To-Speech option until I can figure out how to make it work
      with this Unicode version.  Apologies.
Logged

Curt
Supporting Member
**
Posts: 6,349

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #113 on: January 27, 2012, 03:35:41 PM »

-on my copy "Add Files" doesn't add any files; it will open Explorer, but the added file or files does not show up in PlayTime. The rest of the program is fine.

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



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #114 on: January 27, 2012, 03:54:02 PM »

Crap...fixed.  Thank you.  BTW, Curt, see if those Unicode playists you had trouble with before work now.

Website | Download
v1.2.4 - 2012-01-27
    ! The "Add files" functionality was broken by the last build.  (Thanks, Curt)
Logged

Curt
Supporting Member
**
Posts: 6,349

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #115 on: January 27, 2012, 04:06:30 PM »

-oh, another error! It will not add a single playlist *file* but gladly a *folder* with playlists. But the Unicode situation is fine.

« Last Edit: January 27, 2012, 04:15:45 PM by Curt » Logged
Curt
Supporting Member
**
Posts: 6,349

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #116 on: January 27, 2012, 04:16:31 PM »

Edited:
the problem is with .wpl only. It will only show a single track from the playlist.

M3U is okay.
Logged
skwire
Global Moderator
*****
Posts: 4,158



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #117 on: January 27, 2012, 04:29:50 PM »

Please try this build and thanks for your patience.  =]

Website | Download
v1.2.5 - 2012-01-27
    ! WPL parser was broken.  (Thanks, Curt)
Logged

Curt
Supporting Member
**
Posts: 6,349

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #118 on: January 27, 2012, 04:35:34 PM »

Thank you!  thumbs up

Logged
TT1
Participant
*
Posts: 16

View Profile Give some DonationCredits to this forum member
« Reply #119 on: January 29, 2012, 09:55:44 AM »

PlayList is yet another great app.  Any way these three options could be considered?...

1) Add an option to NOT recurse subdirectories (just do a single folder)

2) Add an 'Abort' button (kill a long listing)

3) As a way to process only playable media files... add an 'extension list' for file types to be included in the test.  Alternatively, a list of extensions to exclude.  Perhaps the list could just be hand-edited to the ini file.  I know that one could use the option to not list files with 00:00 time, but why 'read' .exe and .txt or even .jpg files, for instance (consider the folder with 10 movie files and 2,000 'other' files).  Also, some 'broken' media files display 00:000, and I don't want to skip those.

Thanks.
Logged
skwire
Global Moderator
*****
Posts: 4,158



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #120 on: January 30, 2012, 10:39:55 PM »

PlayList is yet another great app.  Any way these three options could be considered?...

Here you go:

Website | Download
v1.2.6 - 2012-01-30
    + Added a "Cancel Scan" button to the toolbar.  (Thanks, Wayne)
    + Pressing the Escape key will now cancel a scan as well.
    + Added checkbox setting to toggle recursive scanning of folders.  (Thanks, Wayne)
    + Under the "Extra" menu, you can now configure which audio and video extensions that PlayTime will scan.  (Thanks, Wayne)
    * Moved the "Clear list" button to the toolbar.
Logged

TT1
Participant
*
Posts: 16

View Profile Give some DonationCredits to this forum member
« Reply #121 on: January 31, 2012, 08:30:21 AM »

Thanks for adding the additional options.  It makes the app even more useful.

For some reason the mp3 and wav files are not being seen in the folder I specified, but if I add those extensions to the front of the list then they are.  I didn't check to see if other extensions are affected.  Perhaps the list is too long?
Logged
skwire
Global Moderator
*****
Posts: 4,158



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #122 on: January 31, 2012, 08:49:47 AM »

Hmmm...I just tested it and it works for me no matter where the extension is in the list.  I'll change that code up to use a different method that may work better for you.
Logged

skwire
Global Moderator
*****
Posts: 4,158



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #123 on: January 31, 2012, 09:05:58 AM »

Delete your config.ini first and then give this build a try, please: PlayTime v1.2.6.2
« Last Edit: January 31, 2012, 11:32:12 AM by skwire » Logged

TT1
Participant
*
Posts: 16

View Profile Give some DonationCredits to this forum member
« Reply #124 on: January 31, 2012, 10:11:47 AM »

Still doesn't work .. doesn't see ANY of the audio files.  Started it without an ini file.  WinXP-sp1 (in case that matters).  Also, I just noticed that the Cancel button, doesn't.
Logged
Pages: Prev 1 2 3 4 [5] 6 7 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.044s | Server load: 0.01 ]