Choose Media Player v1.53 = TC2MP

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

User avatar
TC2MP
Junior Member
Junior Member
Posts: 17
Joined: 2006-08-09, 13:46 UTC

Choose Media Player v1.53 = TC2MP

Post by *TC2MP »

[ ChooseMediaPlayer v1.53 ]

You can send unlimited files and folders to your favorite player!

You can designate your player or you can choose a player by DialogBox or 'Auto Decision' function.

You can filter collected files by file extension.

---------------------------------------------------

I have no FTP account right now.. You can download this tool from my blog.
http://blog.naver.com/pjhplace/40027324698

Upgrades: v1.53
1. You can choose a INI file. This is useful when you make 'Enqueue' button in Total Commander Buttonbar. See the 'Readme_Eng.html'.

2. Option 'AppendPosition' is renamed as 'AddPosition'. But 'AppendPosition' is still valid.

3. I'm struggling to make WMP append files to 'Now Playing' list by using COM automation, but it seeems that WMP does not provide a way to access 'Now Playing' list. Technically, 'currentPlaylist' is not the 'Now Playing' list but just a temporary playlist, and 'playlistCollection' does not have 'Now Playing' playlist. And 'wmpshell.dll' does not provide public access. It's a restricted interface.

pjhplace@naver.com
2006.8.9

*** This is a freeware. I have no responsibility for your possible demages and loss.
Last edited by TC2MP on 2006-09-26, 23:50 UTC, edited 25 times in total.
TealC
Junior Member
Junior Member
Posts: 96
Joined: 2005-08-10, 11:34 UTC

Post by *TealC »

Thank you

Great Plugin, I've been waiting for something like this.

Just one question:

I use Zoom Player for playing movies. And Zoom Players native playlist format (zpl) is in unicode. As a workaround, i can use m3u playlist, but zpl format offers more possibilities. Would it be possible to add a function, to choose encoding of playlist file?

--> Zoom Player Play List Reference
User avatar
TC2MP
Junior Member
Junior Member
Posts: 17
Joined: 2006-08-09, 13:46 UTC

Post by *TC2MP »

@TealC, Thank you for your comment.

Hmm.. I am not sure it will work out. Because PowerBasic has a poor ability in UNICODE.. But I think I gonna try it.
User avatar
TC2MP
Junior Member
Junior Member
Posts: 17
Joined: 2006-08-09, 13:46 UTC

Post by *TC2MP »

@TealC, I tested Zoom Player.

And 'ZPL' type is a UNICODE text file basically, but after testing Zoom Player, it works out well with ASCII-type ZPL.

Just copy and paste this code lines to your TC2MP.INI file.
-----------------------------------
[Zoom Player]
Player = C:\Program Files\Zoom Player\zplayer.exe
Filter =
Extension = zpl
WindowState = 6
FirstLine =
CodeLine = nm=$FULLFILENAME_$CRLF_dr=0$CRLF_br!
EndLine =
CommandLine = "$PLAYLIST_"
WritingMode = 0
TealC
Junior Member
Junior Member
Posts: 96
Joined: 2005-08-10, 11:34 UTC

Post by *TealC »

strange... i've tested pretty much the same thing, and it didn't work. But i'll try again as soon as possible, and let you know if it worked.

thx
TC2MP wrote:@TealC, I tested Zoom Player.

And 'ZPL' type is a UNICODE text file basically, but after testing Zoom Player, it works out well with ASCII-type ZPL.

Just copy and paste this code lines to your TC2MP.INI file.
-----------------------------------
[Zoom Player]
Player = C:\Program Files\Zoom Player\zplayer.exe
Filter =
Extension = zpl
WindowState = 6
FirstLine =
CodeLine = nm=$FULLFILENAME_$CRLF_dr=0$CRLF_br!
EndLine =
CommandLine = "$PLAYLIST_"
WritingMode = 0
User avatar
TC2MP
Junior Member
Junior Member
Posts: 17
Joined: 2006-08-09, 13:46 UTC

Post by *TC2MP »

@TealC

Ok. I made up UNICODE support. Now it works out fine. Visit my blog.
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

This is a great utility,but I have a little suggestion to author.Would you please add the possibility to use pseudovariables such as %ProgramFiles% and so on.
For examlple:

[Winamp]
Player = %ProgramFiles%\Winamp\Winamp.exe
TealC
Junior Member
Junior Member
Posts: 96
Joined: 2005-08-10, 11:34 UTC

Post by *TealC »

TC2MP wrote:@TealC

Ok. I made up UNICODE support. Now it works out fine. Visit my blog.
I've tried the old version without unicode, as you described, and it worked. Seems that i've made a mistake, then read the zpl documentation, what made me think the problem is that the file is non-unicode. Sorry, i apologize. :oops:

Anyway, i've upgraded to 1.3, and it works too, of course
Great tool, keep up the good work!
User avatar
TC2MP
Junior Member
Junior Member
Posts: 17
Joined: 2006-08-09, 13:46 UTC

Post by *TC2MP »

To Postkutscher

Thanks for your idea.

I appended now,

%WINDOWS%
%SYSTEM%
%PROGRAM FIELS%
%TOTAL COMMANDER%

Visit my blog.
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

This is configuration for MPUI:

Code: Select all

[MPUI]
; MPUI + "m3u" / additional filetypes available : "pls", "asx"
; MPUI homepage : http://mpui.sourceforge.net
Player=%PROGRAM FILES%\wincmd\Plugins\MPlayer\MPUI.exe
Filter=mp3;wma;ogg;avi;asf;wmv;ogm;mov
Extension=m3u
WindowState=6
FirstLine=
CodeLine=$FULLFILENAME_
EndLine=
CommandLine="$PLAYLIST_"
WritingMode=0
RetrieveRegExp=
RetrieveRegExLeft=
RetrieveRegExRight=
Unicode=
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

It works fine.Thank you very much. You did it so fast.Wow.
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

Can anyone please confirm that CMP 1.33 won't find the media player application if the system bit (file attribute) of this media player exe is set? I have never cared a lot of the system bit before but for me it only works if this bit is set to off.
tbeu
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
TC2MP
Junior Member
Junior Member
Posts: 17
Joined: 2006-08-09, 13:46 UTC

Post by *TC2MP »

To tbeu

Thanks. I fixed the problem. Previously CMP only read 'Normal' files, but now reads all types of files. (Normal, Readonly, Hidden, System)

Visit my blog.

If it does not work again, tell me.
User avatar
ate
Senior Member
Senior Member
Posts: 274
Joined: 2003-12-17, 22:48 UTC

Post by *ate »

Thx for the useful tool.

But I have a little problem playing folders with subfolders in winamp. CMP uses only the selected folder. I have often subfolders with CD1 and CD2 and the mp3's in it. If I choose the (parent)folder - of course - no files are found.

@ TC2MP : Can you add choosing subfolders ?
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

ate wrote:Thx for the useful tool.

But I have a little problem playing folders with subfolders in winamp. CMP uses only the selected folder. I have often subfolders with CD1 and CD2 and the mp3's in it. If I choose the (parent)folder - of course - no files are found.

@ TC2MP : Can you add choosing subfolders ?
Maybe it's not what you need, but Total Editor has it implemented already.
Post Reply