summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable-0.28/mythtv/recordings
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-10-25 14:39:48 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-10-25 14:39:48 (GMT)
commit927a8f226e532ba2187e8a9c9292453c3896f571 (patch)
tree4cc01d92c820214a4e5249575eb7f5ccd6c142bb /abs/core/mythtv/stable-0.28/mythtv/recordings
parentbbedb55df828349b496c283c16c1e6a8f6a1f713 (diff)
downloadlinhes_pkgbuild-927a8f226e532ba2187e8a9c9292453c3896f571.zip
linhes_pkgbuild-927a8f226e532ba2187e8a9c9292453c3896f571.tar.gz
linhes_pkgbuild-927a8f226e532ba2187e8a9c9292453c3896f571.tar.bz2
mythtv & mythplugins: update to latest -fixes
recordings: move dirs that are not category_types into TV Shows
Diffstat (limited to 'abs/core/mythtv/stable-0.28/mythtv/recordings')
-rw-r--r--abs/core/mythtv/stable-0.28/mythtv/recordings11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core/mythtv/stable-0.28/mythtv/recordings b/abs/core/mythtv/stable-0.28/mythtv/recordings
index c1fe28a..1c588f3 100644
--- a/abs/core/mythtv/stable-0.28/mythtv/recordings
+++ b/abs/core/mythtv/stable-0.28/mythtv/recordings
@@ -42,6 +42,17 @@ then
then
rsync -a "$cattype/" "$tmprecdir/Sports"
rm -r "$cattype"
+ else
+ #ignore Movies, TV Shows, Sports. Move all others to TV Shows
+ if [[ $cattype != "$tmprecdir/Movies" ]] && [[ $cattype != "$tmprecdir/TV Shows" ]] && [[ $cattype != "$tmprecdir/Sports" ]]
+ then
+ if [ ! -d "$tmprecdir/TV Shows" ]
+ then
+ mkdir "$tmprecdir/TV Shows"
+ fi
+ rsync -a "$cattype" "$tmprecdir/TV Shows"
+ rm -r "$cattype"
+ fi
fi
done