- Timestamp:
- 05/30/15 17:44:59 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.mipsel/network_xupnpd/_path_/etc/xupnpd/xupnpd.lua
r30367 r34402 2 2 3 3 -- multicast interface for SSDP exchange, 'eth0', 'br0', 'br-lan' for example 4 cfg.ssdp_interface=' any'4 cfg.ssdp_interface='lo' 5 5 6 6 -- 'cfg.ssdp_loop' enables multicast loop (if player and server in one host) … … 8 8 9 9 -- SSDP announcement interval 10 cfg.ssdp_notify_interval= 510 cfg.ssdp_notify_interval=15 11 11 12 12 -- SSDP announcement age … … 23 23 24 24 -- silent mode - no logs, no pid file 25 cfg.embedded= true25 cfg.embedded=false 26 26 27 27 -- 'cfg.debug' enables SSDP debug output to stdout (if cfg.daemon=false) … … 33 33 34 34 -- downstream interface for builtin multicast proxy (comment 'cfg.udpxy_url' for processing 'udp://@...' playlists) 35 cfg.mcast_interface=' any'35 cfg.mcast_interface='eth1' 36 36 37 37 -- 'cfg.proxy' enables proxy for injection DLNA headers to stream … … 48 48 cfg.dlna_notify=true 49 49 50 -- UPnP/DLNA subscribe ttl 51 cfg.dlna_subscribe_ttl=1800 52 50 53 -- group by 'group-title' 51 54 cfg.group=true 52 55 53 56 -- sort files 54 cfg.sort_files= true57 cfg.sort_files=false 55 58 56 59 -- Device name 57 --cfg.name='Titan UPnP-Server'58 60 cfg.name=io.popen("uname -n"):read("*l")..'-xupnpd' 59 61 60 62 -- static device UUID, '60bd2fb3-dabe-cb14-c766-0e319b54c29a' for example or nil 61 -- cfg.uuid='60bd2fb3-dabe-cb14-c766-0e319b54c29a'62 63 cfg.uuid='' 63 64 64 65 65 -- max url cache size … … 73 73 74 74 -- feeds update interval (seconds, 0 - disabled) 75 cfg.feeds_update_interval= 360075 cfg.feeds_update_interval=0 76 76 cfg.playlists_update_interval=0 77 77 … … 80 80 { 81 81 -- { './playlists/mozhay.m3u', 'Mozhay.tv' }, 82 { '/media/hdd/movie', 'Aufnahmen' }82 -- { './localmedia', 'Local Media Files' } 83 83 -- { './private', 'Private Media Files', '127.0.0.1;192.168.1.1' } -- only for 127.0.0.1 and 192.168.1.1 84 { '/media/hdd/movie', 'Aufnahmen' } 84 85 } 85 86 … … 87 88 feeds= 88 89 { 89 --{ 'vimeo', 'channel/hd', 'Vimeo HD Channel' },90 --{ 'vimeo', 'channel/hdxs', 'Vimeo Xtreme sports' },91 --{ 'vimeo', 'channel/mtb', 'Vimeo MTB Channel' },92 --{ 'youtube', 'channel/top_rated', 'YouTube Top Rated' },90 { 'vimeo', 'channel/hd', 'Vimeo HD Channel' }, 91 { 'vimeo', 'channel/hdxs', 'Vimeo Xtreme sports' }, 92 { 'vimeo', 'channel/mtb', 'Vimeo MTB Channel' }, 93 { 'youtube', 'channel/top_rated', 'YouTube Top Rated' }, 93 94 -- { 'youtube', 'Drift0r', 'Drift0r' }, 94 95 -- { 'youtube', 'XboxAhoy', 'XboxAhoy' }, … … 101 102 102 103 -- log ident, pid file end www root 103 cfg.version='1.03 1'104 cfg.version='1.033' 104 105 cfg.log_ident=arg[1] or 'xupnpd' 105 106 cfg.pid_file='/var/run/'..cfg.log_ident..'.pid'
Note: See TracChangeset
for help on using the changeset viewer.