diff options
author | Joeny Ang | 2015-07-01 15:12:01 +0800 |
---|---|---|
committer | Joeny Ang | 2015-07-01 15:12:01 +0800 |
commit | 10dd46fd5c005e5855e9c59dda833b103a75b842 (patch) | |
tree | d79f10e970eb3fdc6807e0d8cde2e2abfdb1f390 /air-video-server.install | |
download | aur-air-video-server.tar.gz |
Initial import
Diffstat (limited to 'air-video-server.install')
-rw-r--r-- | air-video-server.install | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/air-video-server.install b/air-video-server.install new file mode 100644 index 000000000000..6a318ab9f43f --- /dev/null +++ b/air-video-server.install @@ -0,0 +1,66 @@ +post_install() { + cat << END_OF_MESSAGE +--------------------------- +Necessary additional setup: +--------------------------- +1. To manually start the server: + +Copy /usr/share/air-video-server/air-video-server.properties to +~/.air-video-server/air-video-server.properties and add your +video folders (see Properties file section below). + +Then run "air-video-server" from the command line. + +2. To autostart the server upon logging into your GNOME account: + +GNOME 2.x: +To start the server every time you logon to your GNOME account, go to +Preferences -> Startup Applications -> Startup Programs tab and enable +Air Video Server. + +GNOME 3.0 to 3.10: +Run "gnome-session-properties" from the command line, go to Startup Programs +tab and enable Air Video Server. + +GNOME 3.12 up: +Copy /usr/share/air-video-server/air-video-server.desktop to +~/.config/autostart folder. + +3. To autostart the server as a daemon upon bootup (requires 'root' access): + +initscripts: +Add air-video-server to your /etc/rc.conf DAEMONS=() line. + +systemd: +run "systemctl enable air-video-server.service" from the command line. + +The properties will be read from /etc/conf.d/air-video-server. + +--------------- +Properties file +--------------- +The folders format is: <label1>:<path1>,<label2>:<path2>,…,<labelN>:<pathN> +Leave the other options as they are. + +END_OF_MESSAGE +} + +post_upgrade() { + cat << UPGRADE_MESSAGE +------------------------------ +Important Upgrade Information: +------------------------------ +If the Air Video client app shows that certain media files are 'invalid', +your thumbnail cache has been corrupted due to a dependency package +version incompatibility. + +The solution is to clear out the thumbnail cache. Run the following at +the command line: + +rm -rv ~/.air-video-server + +Note: You will need to login as 'root' and run the above command if the +server is started as a daemon. + +UPGRADE_MESSAGE +} |