view debian/mplayer-gui.mime @ 34679:6378e3a2ffb8

Revise listMgr() command URLLIST_ITEM_ADD. Remove unnecessary variable is_added, replace gstrcmp() by strcmp(), fix memory leakage by freeing list item that won't be added and change return value to pointer to added item. Additionally, insert some blank lines.
author ib
date Thu, 23 Feb 2012 13:07:49 +0000
parents c9f9a077d760
children 6c750d212873
line wrap: on
line source

application/x-ogg; /usr/bin/gmplayer %s; description="OggVorbis Audio"
application/ogg; /usr/bin/gmplayer %s; description="OggVorbis Audio"
audio/mpeg; /usr/bin/gmplayer %s; description="MPEG Audio Format"
audio/x-mpegurl; /usr/bin/gmplayer %s; description="Icecast Playlists"
audio/x-ms-wax; /usr/bin/gmplayer %s; description="Audio Format"
audio/x-ms-wma; /usr/bin/gmplayer %s; description="Audio Format"
audio/x-pls; /usr/bin/gmplayer %s; description="MP3 ShoutCast/IceCast Playlist"
audio/x-scpls; /usr/bin/gmplayer %s; description="Shoutcast Playlists"
audio/x-wav; /usr/bin/gmplayer %s; description="Waveform Microsoft Wave/RIFF"
video/mpeg; /usr/bin/gmplayer %s; description="MPEG Video Format"; test=test -n "$DISPLAY"
video/quicktime; /usr/bin/gmplayer %s; description="Apple Quicktime Video"; test=test -n "$DISPLAY"
video/x-mpeg2; /usr/bin/gmplayer %s; description="MPEG Video"; test=test -n "$DISPLAY"
video/x-mpeg; /usr/bin/gmplayer %s; description="MPEG 2 Video"; test=test -n "$DISPLAY"
video/mpeg; /usr/bin/gmplayer %s; description="MPEG 2 Video"; test=test -n "$DISPLAY"
video/x-ms-afs; /usr/bin/gmplayer %s; description="Audio Video Interleave - Microsoft"; test=test -n "$DISPLAY"
video/x-ms-asf; /usr/bin/gmplayer %s; description="MS ASF video"; test=test -n "$DISPLAY"
video/x-msvideo; /usr/bin/gmplayer %s; description="Audio Video Interleave - Microsoft"; test=test -n "$DISPLAY"
video/x-ms-wma; /usr/bin/gmplayer %s; description="Audio Video Interleave - Microsoft"; test=test -n "$DISPLAY"
video/x-ms-wmv; /usr/bin/gmplayer %s; description="Audio Video Interleave - Microsoft"; test=test -n "$DISPLAY"
video/x-ms-wmx; /usr/bin/gmplayer %s; description="Audio Video Interleave - Microsoft"; test=test -n "$DISPLAY"
video/x-ms-wvx; /usr/bin/gmplayer %s; description="Audio Video Interleave - Microsoft"; test=test -n "$DISPLAY"