summarylogtreecommitdiffstats
path: root/air-video-server.install
blob: 6a318ab9f43fb3b0a1d06d62227db0f8318d2b06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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
}