|
MilesAhead
|
 |
« on: March 08, 2009, 05:23:18 PM » |
|
If you have MediaInfo installed and hover the mouse you can get a tooltip with the play time of the video clip and some other info. But I've yet to see a shell extension where you can select multiple media files, right click to select a command, and get the total play time. Even if you drag & drop a bunch of videos onto MediaInfo I don't think there's any option for total play time of all the clips. Would be very convenient for those of us who like to burn discs full of .avi files or whatnot.
|
|
|
|
« Last Edit: February 01, 2012, 11:58:48 AM by mouser »
|
Logged
|
"I can't speak to anyone anywhere because I flunked Esperanto." -- MilesAhead
|
|
|
|
Coeluh
|
 |
« Reply #1 on: March 08, 2009, 06:02:58 PM » |
|
This sounds interesting.
Is there BTW something like xfire has where it counts the number of time you play a certain game and last:fm counts what music you play for tv shows and movies?
|
|
|
|
« Last Edit: March 08, 2009, 06:05:20 PM by Coeluh »
|
Logged
|
|
|
|
|
MilesAhead
|
 |
« Reply #2 on: March 08, 2009, 06:21:34 PM » |
|
I'm not familiar with xfire, but I'm not into gaming so my ignorance is infinite there.  I was just thinking where MediaInfo provides a .dll the play time could be had for each file. The shell extension would have to get the filenames from the shell or it could just use the Copy to clipboard trick if it was an AHK app, make the dll calls into the MediaInfo library and do the math. Could even just use a MsgBox to give the results. Doesn't have to be fancy. Hours minutes and seconds are just harder to add in your head than decimal.
|
|
|
|
|
Logged
|
"I can't speak to anyone anywhere because I flunked Esperanto." -- MilesAhead
|
|
|
|
|
MilesAhead
|
 |
« Reply #3 on: March 09, 2009, 05:14:55 PM » |
|
Hmmmm looks like if you call the MediaInfo dll and ask for Duration String 3 you get back a string with hh:min:sec.milliseconds playtime and could parse that to split it out to integers. For an ahk aficionado the rest should be easy 
|
|
|
|
|
Logged
|
"I can't speak to anyone anywhere because I flunked Esperanto." -- MilesAhead
|
|
|
|
skwire
|
 |
« Reply #4 on: March 09, 2009, 06:20:06 PM » |
|
I could easily make a simple drag-n-drop app that would allow you do drag a list of files to it and report the total time. Would that be acceptable?
|
|
|
|
|
Logged
|
|
|
|
|
MilesAhead
|
 |
« Reply #5 on: March 09, 2009, 07:06:02 PM » |
|
skwire that would be most excellent. Anything to avoid data entry into a "time calculator" thingy. 
|
|
|
|
|
Logged
|
"I can't speak to anyone anywhere because I flunked Esperanto." -- MilesAhead
|
|
|
|
skwire
|
 |
« Reply #6 on: March 10, 2009, 01:34:08 AM » |
|
Extremely simple and preliminary, but see if this is something like what you had in mind. Just drag-n-drop files to the list; the time will compute automatically. You can also do the typical shortcuts: Delete: Delete selected rows (time will recompute as you delete files). Ctrl-A: Select all. Ctrl-U: Unselect all. Ctrl-I: Invert selection. Ctrl-up/down: Move a selection up and down. Download: PlayTime
|
|
|
|
« Last Edit: March 13, 2009, 04:21:39 AM by skwire »
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #7 on: March 10, 2009, 05:38:08 AM » |
|
Some other things I forgot to mention: - Just about any media file type should work...video and audio i.e. anything mediainfo.dll supports.
- Also, you can drop a folder and it will recursively scan through it.
|
|
|
|
|
Logged
|
|
|
|
|
lanux128
|
 |
« Reply #8 on: March 10, 2009, 06:36:09 AM » |
|
skwire: can't get it to work. it crashes when i drag-n-drop a file (mp3) or folder containing mp3s. any idea why? 
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #9 on: March 10, 2009, 06:40:12 AM » |
|
I've been uploading new builds throughout the night. Please re-download and try. Also, do you have both files (mediainfo_poller.exe and mediainfo.dll) in the same folder?
|
|
|
|
|
Logged
|
|
|
|
|
lanux128
|
 |
« Reply #10 on: March 10, 2009, 06:54:19 AM » |
|
i've downloaded once again but the results are the same and yes, both files are in the same folder. here are the different versions of the file. 
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #11 on: March 10, 2009, 06:59:42 AM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
lanux128
|
 |
« Reply #12 on: March 10, 2009, 07:27:52 AM » |
|
it works now! 
|
|
|
|
|
Logged
|
|
|
|
|
Coeluh
|
 |
« Reply #13 on: March 10, 2009, 08:16:55 AM » |
|
Lol, I've watched some tv show for more than 200 hours.
|
|
|
|
|
Logged
|
|
|
|
|
MilesAhead
|
 |
« Reply #14 on: March 10, 2009, 05:35:47 PM » |
|
Very nice! Thanks very much. Drag & Drop is even better since it's smoother in Vista64.
|
|
|
|
|
Logged
|
"I can't speak to anyone anywhere because I flunked Esperanto." -- MilesAhead
|
|
|
|
skwire
|
 |
« Reply #15 on: March 10, 2009, 05:48:00 PM » |
|
Is this all you wanted the application to do? If so, we'll call it done. =]
|
|
|
|
|
Logged
|
|
|
|
|
gonwk
|
 |
« Reply #16 on: March 10, 2009, 08:04:48 PM » |
|
Hi SKWire,
What in the world is "Trout" program in your Sig all about!?!? What does it do?
Thanks!
G!:)
|
|
|
|
|
Logged
|
|
|
|
|
|
|
skwire
|
 |
« Reply #18 on: March 11, 2009, 02:57:20 AM » |
|
I'm not sure if I'd ever go that far. =] Gonwk, Trout is a small, freeware audio player that I've written. Feel free to try it out and let me know what you think.
|
|
|
|
|
Logged
|
|
|
|
|
MilesAhead
|
 |
« Reply #19 on: March 11, 2009, 12:14:20 PM » |
|
Is this all you wanted the application to do? If so, we'll call it done. =]
Works for me. You can copy the total to the clipboard so I don't see anything lacking afaic.  Edit: If I could make one small suggestion.. could you use an icon for the exe instead of default ahk icon? If one has a few ahk apps it's hover & hunt with the mouse to find what's what. Other than that works great. Drop a folder zips right through all the media files and ignores other flotsam in the folder. Very cool. 
|
|
|
|
« Last Edit: March 11, 2009, 12:19:04 PM by MilesAhead »
|
Logged
|
"I can't speak to anyone anywhere because I flunked Esperanto." -- MilesAhead
|
|
|
|
skwire
|
 |
« Reply #20 on: March 11, 2009, 01:01:47 PM » |
|
Yes, I plan to clean it up...new icon, basic File, Edit, and Help menus, etc. I was thinking about renaming it to MediaTotalTimer unless anybody else has a better idea.
|
|
|
|
|
Logged
|
|
|
|
|
MilesAhead
|
 |
« Reply #21 on: March 11, 2009, 01:41:21 PM » |
|
Yes, I plan to clean it up...new icon, basic File, Edit, and Help menus, etc. I was thinking about renaming it to MediaTotalTimer unless anybody else has a better idea.
Cool. How about PlayTime for a moniker?
|
|
|
|
|
Logged
|
"I can't speak to anyone anywhere because I flunked Esperanto." -- MilesAhead
|
|
|
|
skwire
|
 |
« Reply #22 on: March 11, 2009, 01:48:18 PM » |
|
Even better. Thanks.
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #23 on: March 13, 2009, 04:26:56 AM » |
|
Download: PlayTimeNew additions: - Merged all necessary files into one executable.
- New program icon.
- Double-clicking a row will run/play that file.
- In addition to the total time for everything in the list, the total time for the highlighted selection is now shown in the statusbar.
- Context/right-click menu for the listview (mimics the Edit menu).
Let me know what you think. Thanks. 
|
|
|
|
« Last Edit: July 20, 2009, 09:02:14 PM by skwire »
|
Logged
|
|
|
|
|
MilesAhead
|
 |
« Reply #24 on: March 13, 2009, 11:45:02 AM » |
|
It looks good on Vista 32 and 64 bit. 
|
|
|
|
|
Logged
|
"I can't speak to anyone anywhere because I flunked Esperanto." -- MilesAhead
|
|
|
|