[MPlayer-users] Separate Config for Each URL

4 views
Skip to first unread message

Mac Smith

unread,
Mar 23, 2012, 1:15:42 AM3/23/12
to mplaye...@mplayerhq.hu
Hi,

Is it possible to have a separate config file for each URL that I play.
Like I have the folloing URLs and like to have the vid & aid parameters for
each of the in a config file.


udp://239.255.1.1:1234
udp://239.255.1.2:1234
udp://239.255.1.3:1234

--
Mac
_______________________________________________
MPlayer-users mailing list
MPlaye...@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

Ron Johnson

unread,
Mar 23, 2012, 1:30:33 AM3/23/12
to mplaye...@mplayerhq.hu
On 03/23/2012 12:15 AM, Mac Smith wrote:
> Hi,
>
> Is it possible to have a separate config file for each URL that I play.
> Like I have the folloing URLs and like to have the vid& aid parameters for

> each of the in a config file.
>
>
> udp://239.255.1.1:1234
> udp://239.255.1.2:1234
> udp://239.255.1.3:1234
>

If you use Linux or OSX, then a bash function with a case statement
would serve the the same purpose. In Windows, a batch file or
PowerShell script might also be feasible.

--
YES, there actually *are* stupid questions.

Ron Johnson

unread,
Mar 23, 2012, 2:07:04 AM3/23/12
to mplaye...@mplayerhq.hu
On 03/23/2012 12:40 AM, Mac Smith wrote:

>
> On 23-Mar-2012, at 11:00 AM, Ron Johnson wrote:
>
>> On 03/23/2012 12:15 AM, Mac Smith wrote:
>>> Hi,
>>>
>>> Is it possible to have a separate config file for each URL that I play.
>>> Like I have the folloing URLs and like to have the vid& aid parameters for
>>> each of the in a config file.
>>>
>>>
>>> udp://239.255.1.1:1234
>>> udp://239.255.1.2:1234
>>> udp://239.255.1.3:1234
>>>
>>
>> If you use Linux or OSX, then a bash function with a case statement would serve the the same purpose. In Windows, a batch file or PowerShell script might also be feasible.
>>
>
> Nope, I am looking for something like a profile
>
> [URL1]
> aid=1118
> vid=1111

I understand that. However, since there only appear to be per-movie
config files, why are you opposed to different ways of skinning this cat?

Reply all
Reply to author
Forward
0 new messages