Opened 5 years ago

Closed 4 years ago

Last modified 3 years ago

#866 closed Feature Request (fixed)

Can't Register Playlists with MPCHC via Command Line

Reported by: ruler2112 Owned by: underground78
Priority: normal Milestone: 1.6
Component: General Version: 1.4.2499
Severity: major Keywords:
Cc: underground78, xhmikosr Evaluation:


There are /regvid and /regaud switches built in to mpc-hc.exe to register itself as the player for video files and audio files. However, neither of these options sets the association for playlists. (asx, m3u, pls, wvx, wax, wmx, and mpcpl extensions) One of the following should be done:

  1. An option added, like /regpl, that would set these extensions to be opened with MPC-HC. IMO, this is the much preferable solution.
  1. One or both of the existing switches should set the playlist extensions to MPC-HC.

I have a large batch file that I use to ready systems after an install, doing everything in an automated manner. Something like this requires me to either manually muck around in the registry after install (something I'm hesitant to do given the differences in versions of windoze), try to remember to go back and set it manually after install, or just live with it not being set correctly.

Change History (10)

comment:1 Changed 5 years ago by ruler2112

Another flag that would probably be easier to code and make more sense would be a /regall I say this because there's a button for Video, Audio, and All on the options screen to set the file associations. Having this flag would eliminate the problem mentioned in the original ticket as well.

comment:2 Changed 5 years ago by namaiki

  • Type changed from Bug to Feature Request

comment:3 Changed 5 years ago by xhmikosr

  • Cc aleksoid sansnom05 added

comment:4 Changed 4 years ago by xhmikosr

  • Cc underground78 added; sansnom05 removed

comment:5 Changed 4 years ago by underground78

  • Owner set to underground78
  • Status changed from new to accepted

xhmikosr: What do you want ? That I add /regpl and/or /regall or that I add the playlist extensions in one or both of the existing command ?

comment:6 Changed 4 years ago by xhmikosr

  • Cc xhmikosr added; aleksoid removed

I think a separate switch for registering the playlist files would be more handy, but either way it should be sufficient.

comment:7 Changed 4 years ago by underground78

I will add /regpl and /regall while I'm at it.

comment:8 Changed 4 years ago by underground78

I need to update the command line help before commiting, but here is a build that includes the need command line options:

comment:9 Changed 4 years ago by underground78

  • Component changed from New to Solved
  • Resolution set to fixed
  • Status changed from accepted to closed

Committed as r3543.

comment:10 Changed 3 years ago by thevbm

  • Milestone set to 1.6
Note: See TracTickets for help on using tickets.