Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
749065d0
Commit
749065d0
authored
Dec 22, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shoutcast: dummy probe support for Internet entries
TODO: Freebox
parent
220742ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
modules/services_discovery/shout.c
modules/services_discovery/shout.c
+13
-0
No files found.
modules/services_discovery/shout.c
View file @
749065d0
...
...
@@ -103,6 +103,8 @@ OPEN( FrenchTV )
#undef OPEN
static
int
vlc_sd_probe_Open
(
vlc_object_t
*
);
vlc_module_begin
()
set_category
(
CAT_PLAYLIST
)
set_subcategory
(
SUBCAT_PLAYLIST_SD
)
...
...
@@ -136,6 +138,7 @@ vlc_module_begin ()
set_callbacks
(
OpenFreebox
,
Close
)
add_shortcut
(
"freebox"
)
VLC_SD_PROBE_SUBMODULE
vlc_module_end
()
...
...
@@ -274,3 +277,13 @@ static void Close( vlc_object_t *p_this )
vlc_join
(
p_sys
->
thread
,
NULL
);
free
(
p_sys
);
}
static
int
vlc_sd_probe_Open
(
vlc_object_t
*
obj
)
{
vlc_probe_t
*
probe
=
(
vlc_probe_t
*
)
obj
;
vlc_sd_probe_Add
(
probe
,
"shoutcast"
,
N_
(
"Shoutcast Radio"
)
);
vlc_sd_probe_Add
(
probe
,
"shoutcasttv"
,
N_
(
"Shoutcast TV"
)
);
vlc_sd_probe_Add
(
probe
,
"frenchtv"
,
N_
(
"French TV"
)
);
return
VLC_PROBE_CONTINUE
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment