Skip to content

yavdr/vdr-addon-avahi-linker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vdr-addon-avahi-linker
======================

common media dirs for avahi nfs-shares (using autofs) and local files

Set media directory an vdr recording directory in /etc/avahi-linker/default.cfg

```
Usage: avahi-linker [options]

Options:
  -h, --help            show this help message and exit
  -v LOG_LEVEL, --loglevel=LOG_LEVEL
                         possible values for LOGLEVEL:
                        [DEBUG|INFO|WARNING|ERROR|CRITICAL]
  -l LOGFILE, --log=LOGFILE
                        log file
```

Writing avahi-service files
Add the directories to your /etc/exports

Example for a vdr recording dir announcement:
/etc/avahi/services/vdr-rec.service

```
<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">Recordings on %h</name> ## Name
<service>
       <type>_nfs._tcp</type>
       <port>2049</port>
       <txt-record>path=/srv/vdr/video</txt-record> ## path to shared Folder
       <txt-record>subtype=vdr</txt-record> ## subtype
</service>
</service-group>
```

Example for a movie video dir announcement:
/etc/avahi/services/video-movies.service
```
<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">Movies on %h</name> ## Name
<service>
       <type>_nfs._tcp</type>
       <port>2049</port>
       <txt-record>path=/srv/video/Filme</txt-record> ## path to shared Folder
       <txt-record>subtype=video</txt-record> ## subtype
       <txt-record>category=movies</txt-record> ## category
</service>
</service-group>
```

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published