From 0e7005fcc7483c01aa102fbea358c5ac65a48d62 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 6 Apr 2010 16:13:08 +0200 Subject: hello world --- apt.sh | 441 + docs/HISTORY | 1461 + docs/README | 173 + docs/TODO | 5 + docs/help.txt | 106 + extra/VDR Player.desktop | 19 + extra/burn-bg.sh | 22 + extra/channelswitch | 93 + extra/dvb-bootsplash/dvb-bootsplash | 26 + extra/dvb-bootsplash/install-dvb-bs.sh | 30 + extra/ffmpeg-links | 25 + extra/fstab | 15 + extra/install-vlc.sh | 57 + extra/keymap | 974 + extra/lilo.conf | 131 + extra/make-new-makeconfig | 16 + extra/powerbtn.sh | 23 + extra/rc-update.sh | 49 + extra/remote-event.sh | 52 + extra/remote.conf | 124 + extra/symsalabim | 82 + extra/vdrcommander | 211 + extra/x-vdr.desktop | 19 + extra/xhost | 5 + extra/xine-mplayer-sh/mplayer.sh | 63 + extra/xine-vdr.desktop | 22 + functions | 1100 + gpl.txt | 108 + plugins.sh | 84 + plugins/admin/admin/admin.conf | 204 + plugins/admin/admin/admin.sh | 15 + plugins/admin/admin/setadm.sh | 26 + plugins/admin/admin/setadmval.sh | 119 + plugins/admin/admin/setvdr.sh | 109 + plugins/admin/plugin.sh | 54 + plugins/adzap/plugin.sh | 54 + plugins/alcd/plugin.sh | 64 + plugins/alcd/scripts/activy | 22 + plugins/alcd/scripts/activy.sh | 9 + plugins/alcd/scripts/activy_keys.sh | 49 + plugins/alcd/scripts/activy_lcdoff.sh | 27 + plugins/alcd/scripts/activy_msg.sh | 7 + plugins/alcd/scripts/activy_pb.sh | 11 + plugins/analogradio/plugin.sh | 52 + plugins/arghdirector/patches/arghdirector.diff | 11 + plugins/arghdirector/patches/mainmenuentry.diff | 32 + plugins/arghdirector/plugin.sh | 51 + plugins/atmo/plugin.sh | 54 + plugins/audiorecorder/plugin.sh | 53 + plugins/autosort/_plugin.sh | 57 + plugins/autosort/autosort-0.1.3-configdir.diff | 112 + plugins/autosort/plugin.sh | 56 + .../patches/autotimeredit-0.1.8-vdr153.diff | 21 + .../patches/autotimeredit-0.1.8-vdr157.diff | 90 + .../autotimeredit/patches/autotimeredit-0.1.8.diff | 84 + plugins/autotimeredit/plugin.sh | 52 + plugins/avards/plugin.sh | 52 + plugins/avolctl/plugin.sh | 52 + plugins/beep/plugin.sh | 52 + .../bitstreamout/patches/bitstreamout-0.85.diff | 25 + plugins/bitstreamout/plugin.sh | 52 + plugins/burn/plugin.sh | 116 + plugins/calc/patches/calc-0.0.1-rc5.diff | 78 + plugins/calc/plugin.sh | 52 + plugins/cdda/patches/cdda-0.1.0-span-0.0.4.diff | 179 + plugins/cdda/patches/cdda-0.1.0.patch | 39 + .../cdda/patches/p1/cdda-0.1.0-gettext-i18n.diff | 5132 ++++ plugins/cdda/plugin.sh | 53 + plugins/chanman/patches/chanman-0.0.7_i18n.diff | 333 + plugins/chanman/plugin.sh | 52 + plugins/channelblocker/plugin.sh | 52 + plugins/channellists/plugin.sh | 59 + plugins/channelswitcher/plugin.sh | 52 + .../p1/chanorg-0.0.6-fix-and-gettext-i18n.diff | 3348 +++ plugins/chanorg/plugin.sh | 53 + plugins/cinebars/plugin.sh | 51 + plugins/clock/plugin.sh | 51 + plugins/console/patches/console-0.6.0.diff | 152 + .../console/patches/console-0.6.0_vdr-1.5.1.diff | 33 + plugins/console/plugin.sh | 52 + plugins/control/patches/control-0.0.2a.patch | 72 + .../control/patches/control-0.0.2a_uint64_t.patch | 69 + plugins/control/plugin.sh | 51 + plugins/coverviewer/plugin.sh | 66 + plugins/csf/plugin.sh | 52 + .../cutalot/patches/cutalot-0.0.2a_vdr-1.5.1.diff | 12 + plugins/cutalot/plugin.sh | 52 + plugins/decruft/patches/p1/decruft-0.0.4.diff | 85 + plugins/decruft/plugin.sh | 55 + plugins/digicam/plugin.sh | 73 + .../director/patches/director-0.2.8_vdr153.diff | 11 + plugins/director/plugin.sh | 51 + plugins/dummydevice/plugin.sh | 52 + plugins/dvd/dvd-cvs20071024_speedcontrol.diff | 123 + plugins/dvd/plugin.sh | 54 + plugins/dvdconvert/dvdconvert/dvd2dvd.sh | 1559 + plugins/dvdconvert/dvdconvert/dvd2vdr.sh | 1386 + plugins/dvdconvert/dvdconvert/dvdconvert.sh | 31 + plugins/dvdconvert/dvdconvert/getadmval.sh | 16 + plugins/dvdconvert/dvdconvert/setadmval.sh | 26 + plugins/dvdconvert/dvdconvert/start_dvd2dvd.sh | 63 + plugins/dvdconvert/dvdconvert/start_dvd2vdr.sh | 57 + .../patches/dvdconvert-1.0.2_versnum-fix.diff | 39 + plugins/dvdconvert/plugin.sh | 161 + .../patches/vdr-dvdselect-0.7a-spezial.diff | 206 + plugins/dvdselect/plugin.sh | 50 + .../dvdswitch/patches/dvdswitch-0.1.3-1.5.4.diff | 19 + .../patches/p1/dvdswitch-0.1.3-gettext-i18n.diff | 11830 ++++++++ plugins/dvdswitch/plugin.sh | 52 + plugins/dxr3/plugin.sh | 73 + plugins/epgsearch/epgsearchmenu.conf | 42 + plugins/epgsearch/epgsearchmenu_graphtft.conf | 42 + plugins/epgsearch/plugin.sh | 69 + plugins/epgsync/plugin.sh | 52 + plugins/exec/plugin.sh | 51 + plugins/extb/extb-poweroff.conf | 96 + plugins/extb/extb-poweroff.pl | 272 + plugins/extb/plugin.sh | 57 + plugins/extrecmenu/dvdarchive.sh | 116 + .../extrecmenu/patches/extrecmenu-1.2_gcc43.diff | 10 + plugins/extrecmenu/patches/extrecmenu-1.2_pin.diff | 29 + plugins/extrecmenu/plugin.sh | 59 + plugins/femon/plugin.sh | 58 + plugins/fepg/plugin.sh | 52 + .../patches/ffnetdev-snapshot-20080723-gcc43.diff | 73 + plugins/ffnetdev/plugin.sh | 53 + plugins/filebrowser/commands.conf | 9 + .../patches/filebrowser-0.0.6-1.5.4.diff | 127 + plugins/filebrowser/plugin.sh | 65 + .../freecell/patches/p1/freecell-0.0.2-1.5.4.diff | 19 + plugins/freecell/patches/p1/freecell-0.0.2.diff | 174 + plugins/freecell/plugin.sh | 60 + plugins/fritzbox/plugin.sh | 52 + plugins/games/patches/games-0.6.2-vdr-1.3.48.diff | 34 + plugins/games/plugin.sh | 51 + .../patches/graphlcd-0.1.5_span-0.0.4.diff | 364 + .../graphlcd/patches/graphlcd-0.1.5_vdr-1.5.3.diff | 19 + plugins/graphlcd/plugin.sh | 75 + .../patches/p1/graphtft-0.3.3-ffmpeg-svn.diff | 30 + plugins/graphtft/plugin.sh | 98 + plugins/image/imagecmds.conf | 25 + plugins/image/imageplugin.sh | 165 + plugins/image/magickplugin.sh | 166 + plugins/image/patches/image-0.3.0_ffmpeg.diff | 10 + plugins/image/patches/image-0.3.0_plug-man.diff | 36 + plugins/image/plugin.sh | 75 + plugins/ipod/plugin.sh | 52 + plugins/iptv/iptv/iptvstream.sh | 47 + plugins/iptv/iptv/vlcstream.sh | 3 + plugins/iptv/plugin.sh | 54 + plugins/launcher/plugin.sh | 52 + plugins/lcdproc/lcdproc-0.0.10-jw6_cf631.diff | 74 + plugins/lcdproc/old/lcdproc-0.0.10-span-x.diff | 876 + plugins/lcdproc/old/lcdproc-0.0.10-umlaute.diff | 123 + plugins/lcdproc/plugin.sh | 52 + plugins/lcr/plugin.sh | 52 + plugins/live/plugin.sh | 55 + plugins/loadepg/plugin.sh | 55 + plugins/mailbox/patches/mailbox-0.4.0-debian.diff | 27 + plugins/mailbox/plugin.sh | 57 + plugins/manual/plugin.sh | 58 + plugins/mediamvp/config.mak | 23 + plugins/mediamvp/httpradio.conf | 25 + plugins/mediamvp/mvploader | Bin 0 -> 16689 bytes plugins/mediamvp/mvploader.txt | 1 + plugins/mediamvp/mvprss.conf | 4 + .../patches/mediamvp-0.1.6-libmvpimage-fix.diff | 46 + plugins/mediamvp/plugin.sh | 79 + plugins/mediamvp/runmvp | 44 + plugins/menuorg/menuorg.xml | 116 + plugins/menuorg/plugin.sh | 55 + plugins/mlcd/patches/mlcd-0.0.4a.diff | 132 + plugins/mlcd/plugin.sh | 52 + plugins/mlist/plugin.sh | 52 + plugins/mousemate/plugin.sh | 52 + plugins/mp3/examples/README | 211 + plugins/mp3/examples/image_convert.sh.example | 80 + plugins/mp3/examples/mount.sh.example | 34 + plugins/mp3/examples/mp3sources.conf.example | 4 + plugins/mp3/examples/mplayer.sh.example | 48 + plugins/mp3/examples/network.sh.example | 19 + plugins/mp3/patches/mp3-0.9.15-span-0.0.4.diff | 145 + plugins/mp3/patches/mp3-with_oss.diff | 11 + plugins/mp3/plugin.sh | 90 + plugins/mp3/tracklist-fix.diff | 33 + plugins/muggle/muggle-server.diff | 11 + plugins/muggle/patches/muggle-sqlite.diff | 14 + plugins/muggle/plugin.sh | 83 + plugins/music/getcover.pl | 113 + plugins/music/oldpatches/_plugin.sh | 131 + plugins/music/oldpatches/have_iconpatch.diff | 11 + plugins/music/oldpatches/have_osdmod.diff | 11 + .../oldpatches/music-0.2.0-mplayer_vdr150.diff | 30 + .../music/oldpatches/music-0.2.0_scrollmode.diff | 68 + plugins/music/oldpatches/music-0.2.0_types.diff | 11 + plugins/music/oldpatches/music-0.2.0_vdr153.diff | 33 + plugins/music/oldpatches/no_ffcard.diff | 11 + plugins/music/oldpatches/with_mplayer.diff | 11 + plugins/music/patches/config.c.diff | 11 + plugins/music/patches/icons.c.diff | 10 + plugins/music/patches/imagecache.h.diff | 36 + plugins/music/plugin.sh | 100 + plugins/netconfig/plugin.sh | 54 + plugins/newsticker/patches/newsticker-gcc41.diff | 13 + plugins/newsticker/plugin.sh | 51 + plugins/noepgmenu/plugin.sh | 52 + ...dr-nordlichtsepg-0.9-test1-progressbar_fix.diff | 33 + .../vdr-nordlichtsepg-0.9-test1-utf8fix.diff | 84 + plugins/nordlichtsepg/plugin.sh | 52 + plugins/osdadjust/plugin.sh | 52 + plugins/osdout/plugin.sh | 52 + .../osdpip/patches/osdpip-0.0.10-ffmpeg-svn.diff | 57 + plugins/osdpip/patches/osdpip-0.0.10_ffmpeg.diff | 26 + plugins/osdpip/plugin.sh | 52 + plugins/osdserver/file-browser.sh | 160 + plugins/osdserver/plugin.sh | 51 + plugins/osdteletext/plugin.sh | 55 + plugins/osdtest256/plugin.sh | 51 + .../patches/picselshow-0.0.2_vdr150.diff | 51 + plugins/picselshow/plugin.sh | 61 + .../pilot/patches/pilot-0.0.8_channelcheck.diff | 11 + plugins/pilot/plugin.sh | 52 + .../patches/pilotskin-0.0.2_channelcheck.diff | 11 + plugins/pilotskin/plugin.sh | 52 + plugins/pim/plugin.sh | 51 + plugins/pin/plugin.sh | 61 + plugins/playlist/patches/playlist-0.0.2-1.5.7.diff | 36 + plugins/playlist/patches/playlist-0.0.2-1.7.3.diff | 72 + .../playlist/patches/playlist-0.0.2-makefile.diff | 33 + plugins/playlist/patches/playlist-0.0.2.patch | 83 + plugins/playlist/plugin.sh | 52 + .../patches/p1/podcatcher-0.1.1_gcc43.diff | 34 + plugins/podcatcher/plugin.sh | 56 + plugins/powermate/plugin.sh | 52 + .../prefermenu-0.6.6-1.5.3+SetAreas-bugfix.diff | 74 + plugins/prefermenu/plugin.sh | 52 + plugins/premiereepg/patches/premiereepg-0.0.8.diff | 10 + plugins/premiereepg/plugin.sh | 51 + plugins/proxy/plugin.sh | 52 + plugins/pvrinput/_plugin.sh | 52 + .../patches/p1/pvrinput-2008-12-24_p1.diff | 30 + .../pvrinput/patches/pvrinput-2008-12-24_p0.diff | 60 + plugins/pvrinput/plugin.sh | 53 + plugins/radio/patches/radio-0.2.4_vdr-1.7.2.diff | 13 + plugins/radio/patches/vdr-radio-0.2.4.diff | 22 + plugins/radio/plugin.sh | 54 + plugins/recstatus/plugin.sh | 51 + .../p1/reelchannelscan-0.4.3-gettext-i18n.diff | 5933 ++++ .../patches/reelchannelscan-0.4.3-vdr-1.5.10.diff | 31 + .../patches/reelchannelscan-0.4.3.diff | 18 + .../patches/reelchannelscan-0.4.3_gcc43.diff | 36 + plugins/reelchannelscan/plugin.sh | 56 + plugins/remote/plugin.sh | 51 + .../remoteosd/patches/remoteosd-readconfig.diff | 13 + plugins/remoteosd/plugin.sh | 51 + plugins/remotetimers/plugin.sh | 52 + plugins/ripit/patches/ripit-0.0.2-preset.diff | 32 + plugins/ripit/plugin.sh | 56 + plugins/rotor/patches/rotor-0.1.4_s2api.diff | 79 + plugins/rotor/plugin.sh | 52 + plugins/rssreader/plugin.sh | 54 + plugins/screenshot/plugin.sh | 52 + plugins/setup/plugin.sh | 58 + plugins/setup/setup/help/setup_actplugins.hlp | 2 + plugins/setup/setup/help/setup_cicam.hlp | 11 + plugins/setup/setup/help/setup_dvb.hlp | 7 + plugins/setup/setup/help/setup_editmenu.hlp | 3 + plugins/setup/setup/help/setup_epg.hlp | 22 + plugins/setup/setup/help/setup_lnb.hlp | 12 + plugins/setup/setup/help/setup_misc.hlp | 8 + plugins/setup/setup/help/setup_osd.hlp | 23 + plugins/setup/setup/help/setup_record.hlp | 44 + plugins/setup/setup/help/setup_replay.hlp | 7 + plugins/setup/setup/sysconfig | 12 + plugins/setup/setup/vdr-menu.1.xml | 119 + plugins/setup/setup/vdr-menu.de_DE.xml | 131 + plugins/setup/setup/vdr-menu.xml | 119 + plugins/setup/setup/vdr-setup.1.xml | 67 + plugins/setup/setup/vdr-setup.xml | 67 + .../skinelchi/patches/skinelchi-0.2.0_vdr173.diff | 31 + plugins/skinelchi/plugin.sh | 58 + .../skinelchi-0.2.0-alpha3_no-avards.diff | 11 + plugins/skinenigmang/do_not_use_avards.diff | 11 + plugins/skinenigmang/do_not_use_epgsearch.diff | 9 + plugins/skinenigmang/do_not_use_mailbox.diff | 9 + plugins/skinenigmang/patches/have_magick.diff | 11 + plugins/skinenigmang/plugin.sh | 101 + plugins/skinreel/plugin.sh | 52 + plugins/skinsoppalusikka/plugin.sh | 60 + .../patches/p1/sleeptimer-0.7-gettext_ru_po.diff | 1656 ++ .../patches/sleeptimer-0.6-vdr-1.3.32.diff | 7 + .../patches/sleeptimer-0.6-vdrshutdown.diff | 12 + plugins/sleeptimer/plugin.sh | 53 + plugins/sndctl/plugin.sh | 56 + .../patches/softdevice-0.5.0-ffmpeg-svn.diff | 177 + plugins/softdevice/plugin.sh | 73 + .../patches/p1/solitaire-0.0.2-1.5.4.diff | 19 + plugins/solitaire/patches/p1/solitaire-0.0.2.patch | 129 + plugins/solitaire/plugin.sh | 54 + plugins/span/plugin.sh | 51 + plugins/spider/plugin.sh | 53 + plugins/sportng/plugin.sh | 54 + plugins/streamdev/plugin.sh | 76 + .../streamdev-cvs040409_xbmc-v5-ext69.patch | 1475 + plugins/streamplayer/plugin.sh | 51 + plugins/submenu/MainMenu.conf | 57 + plugins/submenu/patches/submenu-0.0.2.diff | 82 + plugins/submenu/plugin.sh | 54 + plugins/submenu/submenu-0.0.2.diff | 82 + plugins/subtitles/plugin.sh | 51 + plugins/sudoku/plugin.sh | 52 + plugins/svdrpext/plugin.sh | 51 + plugins/svdrpservice/plugin.sh | 52 + .../sysinfo/patches/sysinfo-0.1.0a-fontfix.diff | 199 + plugins/sysinfo/patches/sysinfo-0.1.0a-gcc43.diff | 35 + plugins/sysinfo/plugin.sh | 59 + .../taste/patches/taste-cvs20070626_vdr153.diff | 14 + plugins/taste/plugin.sh | 51 + .../p1/text2skin-1.1-cvs_ext-0.10_vdr154.diff | 63 + ...in-1.1-cvs_ext-0.10-20070620.3-vdr-1.5.7-1.diff | 94 + plugins/text2skin/patches/text2skin_gcc43.diff | 36 + plugins/text2skin/plugin.sh | 74 + .../skins/DeepBlue-0.1.3-extra-logos.tar.gz | Bin 0 -> 1903 bytes plugins/text2skin/skins/install-skins.sh | 57 + plugins/text2skin/text2skin-1.1-cvs-locale.diff | 377 + .../timeline/patches/timeline-1.0.141-1.5.0.diff | 25 + .../patches/timeline-1.0.141-vdr-1.5.3.diff | 42 + plugins/timeline/plugin.sh | 52 + plugins/touchtft/plugin.sh | 52 + plugins/ttxtsubs/channelsettings.dat | 4 + plugins/ttxtsubs/plugin.sh | 52 + plugins/tvm2vdr/plugin.sh | 60 + plugins/tvm2vdr/tvm2vdr_channelmap.conf.dvb-c | 45 + .../tvonscreen/patches/tvonscreen-1.0-fixes.diff | 122 + .../patches/tvonscreen-1.0.141-1.5.3.diff | 173 + plugins/tvonscreen/plugin.sh | 51 + plugins/tvtv/plugin.sh | 52 + .../undelete/patches/undelete-0.0.6-vdr-1.5.7.diff | 14 + plugins/undelete/plugin.sh | 52 + plugins/vcd/patches/vcd-0.9-makefile.diff | 12 + plugins/vcd/plugin.sh | 51 + plugins/vdr_plugins/do_not_delete_this_folder | 7 + plugins/vdrcd/plugin.sh | 51 + plugins/vdrrip/plugin.sh | 68 + plugins/vdrrip/queuehandler.sh.conf | 71 + .../patches/vdrtvtime-0.0.1e_vdr-1.5.2.diff | 48 + plugins/vdrtvtime/plugin.sh | 51 + plugins/vodcatcher/plugin.sh | 55 + plugins/vodcatcher/vodcatchersources.conf | 22 + plugins/vompserver/plugin.sh | 61 + plugins/vompserver/vompserver/vomp.conf | 35 + plugins/wapd/patches/wapd-0.8.diff | 24 + plugins/wapd/plugin.sh | 51 + .../weatherng/patches/weatherng-0.0.10-gcc43.diff | 36 + plugins/weatherng/plugin.sh | 72 + plugins/weatherng/weatherng.sh | 76 + plugins/wirbelscan/plugin.sh | 52 + plugins/xine/plugin.sh | 66 + plugins/xine/xineplayer.sh | 44 + plugins/xineliboutput/plugin.sh | 72 + plugins/xxvautotimer/plugin.sh | 60 + .../patches/p1/yaepg-0.0.2.2-gettext-i18n.diff | 1625 ++ plugins/yaepg/patches/yaepg-0.0.2.2_vdr-1.4.7.diff | 13 + plugins/yaepg/plugin.sh | 53 + plugins/zaphistory/plugin.sh | 52 + presets/all-plugins-off | 144 + presets/all-plugins-on | 144 + presets/reset-dirs | 23 + utilities/LCDproc/LCDd.conf | 787 + utilities/LCDproc/_LCDd.conf | 791 + utilities/LCDproc/lcdd | 47 + utilities/LCDproc/lcdexec.conf | 75 + utilities/LCDproc/utilitie.sh | 109 + utilities/a_vidix | 1 + utilities/dvb/liplianindvb/dvb-driver.sh | 102 + utilities/dvb/mantis/dvb-driver.sh | 102 + utilities/dvb/multiproto/dvb-driver.sh | 102 + utilities/dvb/multiproto_plus/dvb-driver.sh | 102 + utilities/dvb/s2-liplianin/dvb-driver.sh | 102 + utilities/dvb/v4l-dvb/dvb-driver.sh | 102 + utilities/dvb/v4l-dvb/v4l-dvb-header-fix.diff | 155 + utilities/dvb/v4l-dvb/v4l-dvb_include-fix.diff | 10 + utilities/em8300/em8300 | 6 + utilities/em8300/ldm | 17 + utilities/em8300/rmm | 14 + utilities/em8300/utilitie.sh | 155 + utilities/ffmpeg/utilitie.sh | 169 + utilities/genindex/utilitie-test.sh | 81 + .../graphlcd_base/graphlcd-base-0.1.5-gcc43.patch | 312 + utilities/graphlcd_base/graphlcd.conf | 459 + utilities/graphlcd_base/utilitie.sh | 130 + utilities/kernel_update/utilitie-test.sh | 100 + utilities/libdvd/utilitie-libdvdnav.sh | 95 + utilities/libdvd/utilitie-libdvdread.sh | 95 + utilities/lirc/lirc/lircd.conf | 73 + utilities/lirc/lirc/lircd.conf.hauppauge | 199 + utilities/lirc/lirc/lircd.conf.rcx115 | 83 + utilities/lirc/lirc/lircd.conf.technisat | 73 + utilities/lirc/lirc/lircd.conf.vivcontrol6 | 63 + utilities/lirc/lirc/lircmd.conf | 5 + utilities/lirc/lirc/lircrc | 142 + utilities/lirc/lirc_init | 130 + utilities/lirc/utilitie.sh | 214 + utilities/m2vrequantizer/utilitie-test.sh | 81 + utilities/mplayer/mplayer.sh | 607 + utilities/mplayer/mplayer.sh.conf | 147 + utilities/mplayer/utilitie.sh | 243 + utilities/noad/noad_0.6.1_all-patches.diff | 120 + utilities/noad/utilitie.sh | 102 + utilities/projectx/utilitie.sh | 81 + utilities/tcmplex_panteltje/utilitie-test.sh | 81 + utilities/tvmovie2vdr/scripts/config.pl | 67 + utilities/tvmovie2vdr/utilitie-test.sh | 80 + .../vdradmin/patches/vdradmin-am-autoinstall.diff | 25 + utilities/vdradmin/utilitie.sh | 190 + utilities/vdradmin/vdradmin-am | 105 + utilities/vdrconvert/utilitie-test.sh | 142 + utilities/vdrconvert/vdrconvert | 95 + utilities/vdrconvert/vdrconvert.env | 255 + utilities/vdrfonts/utilitie.sh | 59 + utilities/vdrsync/utilitie-test.sh | 81 + utilities/vidix/utilitie.sh | 106 + utilities/x264/utilitie-x264.sh | 118 + utilities/xine_lib/patches/xine-lib-ffmpeg.diff | 16 + utilities/xine_lib/patches/xine-lib.patch | 4983 ++++ utilities/xine_lib/utilitie.sh | 223 + utilities/y4mscaler/utilitie.sh | 82 + vdr/conf/_xinitrc | 139 + vdr/conf/channels.conf | 128 + vdr/conf/channels.conf.dvb-c_unity-media | 168 + vdr/conf/channels.conf.dvb-s_astra | 128 + vdr/conf/keymacros.conf | 22 + vdr/conf/noad-exclude-channels.conf | 53 + vdr/conf/remote.conf | 180 + vdr/conf/shutdown.conf | 68 + vdr/extensions/vdr-1.6.0-2-ext_dvb-api.diff | 14 + vdr/extensions/vdr-1.6.0-2_extensions.diff | 27399 ++++++++++++++++++ .../vdr-1.7.0-ext_h264-s2ng-speedup.diff | 5483 ++++ vdr/extensions/vdr-1.7.0_extensions.diff | 28873 +++++++++++++++++++ vdr/extensions/vdr-1.7.5_extensions.diff | 23830 +++++++++++++++ vdr/install-vdr.sh | 987 + vdr/make-conf.sh | 215 + vdr/patchlevel.conf | 60 + vdr/scripts/README.DE_burn-bc | 142 + vdr/scripts/burn-bc | 838 + vdr/scripts/runvdr | 247 + vdr/scripts/runvdr-old | 319 + vdr/scripts/timerrep.sh | 63 + vdr/scripts/vdr | 130 + vdr/scripts/vdr-no-shutdown | 12 + vdr/scripts/vdr2root | 244 + vdr/scripts/vdrmount | 35 + vdr/scripts/vdrnoad | 99 + vdr/scripts/vdrplayer | 279 + vdr/scripts/vdrreaddvd | 31 + vdr/scripts/vdrreccmds | 32 + vdr/scripts/vdrsettime | 8 + vdr/scripts/vdrsetup | 1896 ++ vdr/scripts/vdrshutdown | 214 + vdr/scripts/vdrwritedvd | 17 + vdr/scripts/x-lcd | 26 + vdr/vdr-1.7.5-ext_s2apiwrapper-0.5.diff | 475 + x-vdr.conf | 885 + x-vdr.sh | 2028 ++ 464 files changed, 168517 insertions(+) create mode 100644 apt.sh create mode 100644 docs/HISTORY create mode 100644 docs/README create mode 100644 docs/TODO create mode 100644 docs/help.txt create mode 100644 extra/VDR Player.desktop create mode 100644 extra/burn-bg.sh create mode 100644 extra/channelswitch create mode 100644 extra/dvb-bootsplash/dvb-bootsplash create mode 100644 extra/dvb-bootsplash/install-dvb-bs.sh create mode 100644 extra/ffmpeg-links create mode 100644 extra/fstab create mode 100644 extra/install-vlc.sh create mode 100644 extra/keymap create mode 100644 extra/lilo.conf create mode 100644 extra/make-new-makeconfig create mode 100644 extra/powerbtn.sh create mode 100644 extra/rc-update.sh create mode 100644 extra/remote-event.sh create mode 100644 extra/remote.conf create mode 100644 extra/symsalabim create mode 100644 extra/vdrcommander create mode 100644 extra/x-vdr.desktop create mode 100644 extra/xhost create mode 100644 extra/xine-mplayer-sh/mplayer.sh create mode 100644 extra/xine-vdr.desktop create mode 100644 functions create mode 100644 gpl.txt create mode 100644 plugins.sh create mode 100644 plugins/admin/admin/admin.conf create mode 100644 plugins/admin/admin/admin.sh create mode 100644 plugins/admin/admin/setadm.sh create mode 100644 plugins/admin/admin/setadmval.sh create mode 100644 plugins/admin/admin/setvdr.sh create mode 100644 plugins/admin/plugin.sh create mode 100644 plugins/adzap/plugin.sh create mode 100644 plugins/alcd/plugin.sh create mode 100644 plugins/alcd/scripts/activy create mode 100644 plugins/alcd/scripts/activy.sh create mode 100644 plugins/alcd/scripts/activy_keys.sh create mode 100644 plugins/alcd/scripts/activy_lcdoff.sh create mode 100644 plugins/alcd/scripts/activy_msg.sh create mode 100644 plugins/alcd/scripts/activy_pb.sh create mode 100644 plugins/analogradio/plugin.sh create mode 100644 plugins/arghdirector/patches/arghdirector.diff create mode 100644 plugins/arghdirector/patches/mainmenuentry.diff create mode 100644 plugins/arghdirector/plugin.sh create mode 100644 plugins/atmo/plugin.sh create mode 100644 plugins/audiorecorder/plugin.sh create mode 100644 plugins/autosort/_plugin.sh create mode 100644 plugins/autosort/autosort-0.1.3-configdir.diff create mode 100644 plugins/autosort/plugin.sh create mode 100644 plugins/autotimeredit/patches/autotimeredit-0.1.8-vdr153.diff create mode 100644 plugins/autotimeredit/patches/autotimeredit-0.1.8-vdr157.diff create mode 100644 plugins/autotimeredit/patches/autotimeredit-0.1.8.diff create mode 100644 plugins/autotimeredit/plugin.sh create mode 100644 plugins/avards/plugin.sh create mode 100644 plugins/avolctl/plugin.sh create mode 100644 plugins/beep/plugin.sh create mode 100644 plugins/bitstreamout/patches/bitstreamout-0.85.diff create mode 100644 plugins/bitstreamout/plugin.sh create mode 100644 plugins/burn/plugin.sh create mode 100644 plugins/calc/patches/calc-0.0.1-rc5.diff create mode 100644 plugins/calc/plugin.sh create mode 100644 plugins/cdda/patches/cdda-0.1.0-span-0.0.4.diff create mode 100644 plugins/cdda/patches/cdda-0.1.0.patch create mode 100644 plugins/cdda/patches/p1/cdda-0.1.0-gettext-i18n.diff create mode 100644 plugins/cdda/plugin.sh create mode 100644 plugins/chanman/patches/chanman-0.0.7_i18n.diff create mode 100644 plugins/chanman/plugin.sh create mode 100644 plugins/channelblocker/plugin.sh create mode 100644 plugins/channellists/plugin.sh create mode 100644 plugins/channelswitcher/plugin.sh create mode 100644 plugins/chanorg/patches/p1/chanorg-0.0.6-fix-and-gettext-i18n.diff create mode 100644 plugins/chanorg/plugin.sh create mode 100644 plugins/cinebars/plugin.sh create mode 100644 plugins/clock/plugin.sh create mode 100644 plugins/console/patches/console-0.6.0.diff create mode 100644 plugins/console/patches/console-0.6.0_vdr-1.5.1.diff create mode 100644 plugins/console/plugin.sh create mode 100644 plugins/control/patches/control-0.0.2a.patch create mode 100644 plugins/control/patches/control-0.0.2a_uint64_t.patch create mode 100644 plugins/control/plugin.sh create mode 100644 plugins/coverviewer/plugin.sh create mode 100644 plugins/csf/plugin.sh create mode 100644 plugins/cutalot/patches/cutalot-0.0.2a_vdr-1.5.1.diff create mode 100644 plugins/cutalot/plugin.sh create mode 100644 plugins/decruft/patches/p1/decruft-0.0.4.diff create mode 100644 plugins/decruft/plugin.sh create mode 100644 plugins/digicam/plugin.sh create mode 100644 plugins/director/patches/director-0.2.8_vdr153.diff create mode 100644 plugins/director/plugin.sh create mode 100644 plugins/dummydevice/plugin.sh create mode 100644 plugins/dvd/dvd-cvs20071024_speedcontrol.diff create mode 100644 plugins/dvd/plugin.sh create mode 100755 plugins/dvdconvert/dvdconvert/dvd2dvd.sh create mode 100755 plugins/dvdconvert/dvdconvert/dvd2vdr.sh create mode 100755 plugins/dvdconvert/dvdconvert/dvdconvert.sh create mode 100755 plugins/dvdconvert/dvdconvert/getadmval.sh create mode 100755 plugins/dvdconvert/dvdconvert/setadmval.sh create mode 100755 plugins/dvdconvert/dvdconvert/start_dvd2dvd.sh create mode 100755 plugins/dvdconvert/dvdconvert/start_dvd2vdr.sh create mode 100644 plugins/dvdconvert/patches/dvdconvert-1.0.2_versnum-fix.diff create mode 100755 plugins/dvdconvert/plugin.sh create mode 100644 plugins/dvdselect/patches/vdr-dvdselect-0.7a-spezial.diff create mode 100644 plugins/dvdselect/plugin.sh create mode 100644 plugins/dvdswitch/patches/dvdswitch-0.1.3-1.5.4.diff create mode 100644 plugins/dvdswitch/patches/p1/dvdswitch-0.1.3-gettext-i18n.diff create mode 100644 plugins/dvdswitch/plugin.sh create mode 100644 plugins/dxr3/plugin.sh create mode 100644 plugins/epgsearch/epgsearchmenu.conf create mode 100644 plugins/epgsearch/epgsearchmenu_graphtft.conf create mode 100644 plugins/epgsearch/plugin.sh create mode 100644 plugins/epgsync/plugin.sh create mode 100644 plugins/exec/plugin.sh create mode 100644 plugins/extb/extb-poweroff.conf create mode 100644 plugins/extb/extb-poweroff.pl create mode 100644 plugins/extb/plugin.sh create mode 100644 plugins/extrecmenu/dvdarchive.sh create mode 100644 plugins/extrecmenu/patches/extrecmenu-1.2_gcc43.diff create mode 100644 plugins/extrecmenu/patches/extrecmenu-1.2_pin.diff create mode 100644 plugins/extrecmenu/plugin.sh create mode 100644 plugins/femon/plugin.sh create mode 100644 plugins/fepg/plugin.sh create mode 100644 plugins/ffnetdev/patches/ffnetdev-snapshot-20080723-gcc43.diff create mode 100644 plugins/ffnetdev/plugin.sh create mode 100644 plugins/filebrowser/commands.conf create mode 100644 plugins/filebrowser/patches/filebrowser-0.0.6-1.5.4.diff create mode 100644 plugins/filebrowser/plugin.sh create mode 100644 plugins/freecell/patches/p1/freecell-0.0.2-1.5.4.diff create mode 100644 plugins/freecell/patches/p1/freecell-0.0.2.diff create mode 100644 plugins/freecell/plugin.sh create mode 100644 plugins/fritzbox/plugin.sh create mode 100644 plugins/games/patches/games-0.6.2-vdr-1.3.48.diff create mode 100644 plugins/games/plugin.sh create mode 100644 plugins/graphlcd/patches/graphlcd-0.1.5_span-0.0.4.diff create mode 100644 plugins/graphlcd/patches/graphlcd-0.1.5_vdr-1.5.3.diff create mode 100644 plugins/graphlcd/plugin.sh create mode 100644 plugins/graphtft/patches/p1/graphtft-0.3.3-ffmpeg-svn.diff create mode 100755 plugins/graphtft/plugin.sh create mode 100644 plugins/image/imagecmds.conf create mode 100644 plugins/image/imageplugin.sh create mode 100644 plugins/image/magickplugin.sh create mode 100644 plugins/image/patches/image-0.3.0_ffmpeg.diff create mode 100644 plugins/image/patches/image-0.3.0_plug-man.diff create mode 100644 plugins/image/plugin.sh create mode 100644 plugins/ipod/plugin.sh create mode 100644 plugins/iptv/iptv/iptvstream.sh create mode 100644 plugins/iptv/iptv/vlcstream.sh create mode 100644 plugins/iptv/plugin.sh create mode 100644 plugins/launcher/plugin.sh create mode 100644 plugins/lcdproc/lcdproc-0.0.10-jw6_cf631.diff create mode 100644 plugins/lcdproc/old/lcdproc-0.0.10-span-x.diff create mode 100644 plugins/lcdproc/old/lcdproc-0.0.10-umlaute.diff create mode 100644 plugins/lcdproc/plugin.sh create mode 100644 plugins/lcr/plugin.sh create mode 100644 plugins/live/plugin.sh create mode 100644 plugins/loadepg/plugin.sh create mode 100644 plugins/mailbox/patches/mailbox-0.4.0-debian.diff create mode 100644 plugins/mailbox/plugin.sh create mode 100644 plugins/manual/plugin.sh create mode 100644 plugins/mediamvp/config.mak create mode 100644 plugins/mediamvp/httpradio.conf create mode 100755 plugins/mediamvp/mvploader create mode 100644 plugins/mediamvp/mvploader.txt create mode 100644 plugins/mediamvp/mvprss.conf create mode 100644 plugins/mediamvp/patches/mediamvp-0.1.6-libmvpimage-fix.diff create mode 100644 plugins/mediamvp/plugin.sh create mode 100644 plugins/mediamvp/runmvp create mode 100644 plugins/menuorg/menuorg.xml create mode 100644 plugins/menuorg/plugin.sh create mode 100644 plugins/mlcd/patches/mlcd-0.0.4a.diff create mode 100644 plugins/mlcd/plugin.sh create mode 100644 plugins/mlist/plugin.sh create mode 100644 plugins/mousemate/plugin.sh create mode 100644 plugins/mp3/examples/README create mode 100644 plugins/mp3/examples/image_convert.sh.example create mode 100644 plugins/mp3/examples/mount.sh.example create mode 100644 plugins/mp3/examples/mp3sources.conf.example create mode 100644 plugins/mp3/examples/mplayer.sh.example create mode 100644 plugins/mp3/examples/network.sh.example create mode 100644 plugins/mp3/patches/mp3-0.9.15-span-0.0.4.diff create mode 100644 plugins/mp3/patches/mp3-with_oss.diff create mode 100644 plugins/mp3/plugin.sh create mode 100644 plugins/mp3/tracklist-fix.diff create mode 100644 plugins/muggle/muggle-server.diff create mode 100644 plugins/muggle/patches/muggle-sqlite.diff create mode 100644 plugins/muggle/plugin.sh create mode 100644 plugins/music/getcover.pl create mode 100644 plugins/music/oldpatches/_plugin.sh create mode 100644 plugins/music/oldpatches/have_iconpatch.diff create mode 100644 plugins/music/oldpatches/have_osdmod.diff create mode 100644 plugins/music/oldpatches/music-0.2.0-mplayer_vdr150.diff create mode 100644 plugins/music/oldpatches/music-0.2.0_scrollmode.diff create mode 100644 plugins/music/oldpatches/music-0.2.0_types.diff create mode 100644 plugins/music/oldpatches/music-0.2.0_vdr153.diff create mode 100644 plugins/music/oldpatches/no_ffcard.diff create mode 100644 plugins/music/oldpatches/with_mplayer.diff create mode 100644 plugins/music/patches/config.c.diff create mode 100644 plugins/music/patches/icons.c.diff create mode 100644 plugins/music/patches/imagecache.h.diff create mode 100644 plugins/music/plugin.sh create mode 100644 plugins/netconfig/plugin.sh create mode 100644 plugins/newsticker/patches/newsticker-gcc41.diff create mode 100644 plugins/newsticker/plugin.sh create mode 100644 plugins/noepgmenu/plugin.sh create mode 100644 plugins/nordlichtsepg/patches/vdr-nordlichtsepg-0.9-test1-progressbar_fix.diff create mode 100644 plugins/nordlichtsepg/patches/vdr-nordlichtsepg-0.9-test1-utf8fix.diff create mode 100644 plugins/nordlichtsepg/plugin.sh create mode 100644 plugins/osdadjust/plugin.sh create mode 100644 plugins/osdout/plugin.sh create mode 100644 plugins/osdpip/patches/osdpip-0.0.10-ffmpeg-svn.diff create mode 100644 plugins/osdpip/patches/osdpip-0.0.10_ffmpeg.diff create mode 100644 plugins/osdpip/plugin.sh create mode 100644 plugins/osdserver/file-browser.sh create mode 100644 plugins/osdserver/plugin.sh create mode 100644 plugins/osdteletext/plugin.sh create mode 100644 plugins/osdtest256/plugin.sh create mode 100644 plugins/picselshow/patches/picselshow-0.0.2_vdr150.diff create mode 100644 plugins/picselshow/plugin.sh create mode 100644 plugins/pilot/patches/pilot-0.0.8_channelcheck.diff create mode 100644 plugins/pilot/plugin.sh create mode 100644 plugins/pilotskin/patches/pilotskin-0.0.2_channelcheck.diff create mode 100644 plugins/pilotskin/plugin.sh create mode 100644 plugins/pim/plugin.sh create mode 100644 plugins/pin/plugin.sh create mode 100644 plugins/playlist/patches/playlist-0.0.2-1.5.7.diff create mode 100644 plugins/playlist/patches/playlist-0.0.2-1.7.3.diff create mode 100644 plugins/playlist/patches/playlist-0.0.2-makefile.diff create mode 100644 plugins/playlist/patches/playlist-0.0.2.patch create mode 100644 plugins/playlist/plugin.sh create mode 100644 plugins/podcatcher/patches/p1/podcatcher-0.1.1_gcc43.diff create mode 100644 plugins/podcatcher/plugin.sh create mode 100644 plugins/powermate/plugin.sh create mode 100644 plugins/prefermenu/patches/prefermenu-0.6.6-1.5.3+SetAreas-bugfix.diff create mode 100644 plugins/prefermenu/plugin.sh create mode 100644 plugins/premiereepg/patches/premiereepg-0.0.8.diff create mode 100644 plugins/premiereepg/plugin.sh create mode 100644 plugins/proxy/plugin.sh create mode 100644 plugins/pvrinput/_plugin.sh create mode 100644 plugins/pvrinput/patches/p1/pvrinput-2008-12-24_p1.diff create mode 100644 plugins/pvrinput/patches/pvrinput-2008-12-24_p0.diff create mode 100644 plugins/pvrinput/plugin.sh create mode 100644 plugins/radio/patches/radio-0.2.4_vdr-1.7.2.diff create mode 100644 plugins/radio/patches/vdr-radio-0.2.4.diff create mode 100644 plugins/radio/plugin.sh create mode 100644 plugins/recstatus/plugin.sh create mode 100644 plugins/reelchannelscan/patches/p1/reelchannelscan-0.4.3-gettext-i18n.diff create mode 100644 plugins/reelchannelscan/patches/reelchannelscan-0.4.3-vdr-1.5.10.diff create mode 100644 plugins/reelchannelscan/patches/reelchannelscan-0.4.3.diff create mode 100644 plugins/reelchannelscan/patches/reelchannelscan-0.4.3_gcc43.diff create mode 100644 plugins/reelchannelscan/plugin.sh create mode 100644 plugins/remote/plugin.sh create mode 100644 plugins/remoteosd/patches/remoteosd-readconfig.diff create mode 100644 plugins/remoteosd/plugin.sh create mode 100644 plugins/remotetimers/plugin.sh create mode 100644 plugins/ripit/patches/ripit-0.0.2-preset.diff create mode 100644 plugins/ripit/plugin.sh create mode 100644 plugins/rotor/patches/rotor-0.1.4_s2api.diff create mode 100644 plugins/rotor/plugin.sh create mode 100644 plugins/rssreader/plugin.sh create mode 100755 plugins/screenshot/plugin.sh create mode 100644 plugins/setup/plugin.sh create mode 100644 plugins/setup/setup/help/setup_actplugins.hlp create mode 100644 plugins/setup/setup/help/setup_cicam.hlp create mode 100644 plugins/setup/setup/help/setup_dvb.hlp create mode 100644 plugins/setup/setup/help/setup_editmenu.hlp create mode 100644 plugins/setup/setup/help/setup_epg.hlp create mode 100644 plugins/setup/setup/help/setup_lnb.hlp create mode 100644 plugins/setup/setup/help/setup_misc.hlp create mode 100644 plugins/setup/setup/help/setup_osd.hlp create mode 100644 plugins/setup/setup/help/setup_record.hlp create mode 100644 plugins/setup/setup/help/setup_replay.hlp create mode 100644 plugins/setup/setup/sysconfig create mode 100755 plugins/setup/setup/vdr-menu.1.xml create mode 100644 plugins/setup/setup/vdr-menu.de_DE.xml create mode 100755 plugins/setup/setup/vdr-menu.xml create mode 100755 plugins/setup/setup/vdr-setup.1.xml create mode 100755 plugins/setup/setup/vdr-setup.xml create mode 100644 plugins/skinelchi/patches/skinelchi-0.2.0_vdr173.diff create mode 100644 plugins/skinelchi/plugin.sh create mode 100644 plugins/skinelchi/skinelchi-0.2.0-alpha3_no-avards.diff create mode 100644 plugins/skinenigmang/do_not_use_avards.diff create mode 100644 plugins/skinenigmang/do_not_use_epgsearch.diff create mode 100644 plugins/skinenigmang/do_not_use_mailbox.diff create mode 100644 plugins/skinenigmang/patches/have_magick.diff create mode 100755 plugins/skinenigmang/plugin.sh create mode 100644 plugins/skinreel/plugin.sh create mode 100644 plugins/skinsoppalusikka/plugin.sh create mode 100644 plugins/sleeptimer/patches/p1/sleeptimer-0.7-gettext_ru_po.diff create mode 100644 plugins/sleeptimer/patches/sleeptimer-0.6-vdr-1.3.32.diff create mode 100644 plugins/sleeptimer/patches/sleeptimer-0.6-vdrshutdown.diff create mode 100644 plugins/sleeptimer/plugin.sh create mode 100644 plugins/sndctl/plugin.sh create mode 100644 plugins/softdevice/patches/softdevice-0.5.0-ffmpeg-svn.diff create mode 100755 plugins/softdevice/plugin.sh create mode 100644 plugins/solitaire/patches/p1/solitaire-0.0.2-1.5.4.diff create mode 100644 plugins/solitaire/patches/p1/solitaire-0.0.2.patch create mode 100644 plugins/solitaire/plugin.sh create mode 100644 plugins/span/plugin.sh create mode 100644 plugins/spider/plugin.sh create mode 100644 plugins/sportng/plugin.sh create mode 100755 plugins/streamdev/plugin.sh create mode 100644 plugins/streamdev/streamdev-cvs040409_xbmc-v5-ext69.patch create mode 100644 plugins/streamplayer/plugin.sh create mode 100644 plugins/submenu/MainMenu.conf create mode 100644 plugins/submenu/patches/submenu-0.0.2.diff create mode 100644 plugins/submenu/plugin.sh create mode 100644 plugins/submenu/submenu-0.0.2.diff create mode 100644 plugins/subtitles/plugin.sh create mode 100644 plugins/sudoku/plugin.sh create mode 100644 plugins/svdrpext/plugin.sh create mode 100644 plugins/svdrpservice/plugin.sh create mode 100644 plugins/sysinfo/patches/sysinfo-0.1.0a-fontfix.diff create mode 100644 plugins/sysinfo/patches/sysinfo-0.1.0a-gcc43.diff create mode 100644 plugins/sysinfo/plugin.sh create mode 100644 plugins/taste/patches/taste-cvs20070626_vdr153.diff create mode 100644 plugins/taste/plugin.sh create mode 100644 plugins/text2skin/patches/p1/text2skin-1.1-cvs_ext-0.10_vdr154.diff create mode 100644 plugins/text2skin/patches/text2skin-1.1-cvs_ext-0.10-20070620.3-vdr-1.5.7-1.diff create mode 100644 plugins/text2skin/patches/text2skin_gcc43.diff create mode 100644 plugins/text2skin/plugin.sh create mode 100644 plugins/text2skin/skins/DeepBlue-0.1.3-extra-logos.tar.gz create mode 100644 plugins/text2skin/skins/install-skins.sh create mode 100644 plugins/text2skin/text2skin-1.1-cvs-locale.diff create mode 100644 plugins/timeline/patches/timeline-1.0.141-1.5.0.diff create mode 100644 plugins/timeline/patches/timeline-1.0.141-vdr-1.5.3.diff create mode 100644 plugins/timeline/plugin.sh create mode 100644 plugins/touchtft/plugin.sh create mode 100644 plugins/ttxtsubs/channelsettings.dat create mode 100644 plugins/ttxtsubs/plugin.sh create mode 100644 plugins/tvm2vdr/plugin.sh create mode 100644 plugins/tvm2vdr/tvm2vdr_channelmap.conf.dvb-c create mode 100644 plugins/tvonscreen/patches/tvonscreen-1.0-fixes.diff create mode 100644 plugins/tvonscreen/patches/tvonscreen-1.0.141-1.5.3.diff create mode 100644 plugins/tvonscreen/plugin.sh create mode 100644 plugins/tvtv/plugin.sh create mode 100644 plugins/undelete/patches/undelete-0.0.6-vdr-1.5.7.diff create mode 100644 plugins/undelete/plugin.sh create mode 100644 plugins/vcd/patches/vcd-0.9-makefile.diff create mode 100644 plugins/vcd/plugin.sh create mode 100755 plugins/vdr_plugins/do_not_delete_this_folder create mode 100644 plugins/vdrcd/plugin.sh create mode 100644 plugins/vdrrip/plugin.sh create mode 100755 plugins/vdrrip/queuehandler.sh.conf create mode 100644 plugins/vdrtvtime/patches/vdrtvtime-0.0.1e_vdr-1.5.2.diff create mode 100644 plugins/vdrtvtime/plugin.sh create mode 100644 plugins/vodcatcher/plugin.sh create mode 100644 plugins/vodcatcher/vodcatchersources.conf create mode 100644 plugins/vompserver/plugin.sh create mode 100644 plugins/vompserver/vompserver/vomp.conf create mode 100644 plugins/wapd/patches/wapd-0.8.diff create mode 100644 plugins/wapd/plugin.sh create mode 100644 plugins/weatherng/patches/weatherng-0.0.10-gcc43.diff create mode 100644 plugins/weatherng/plugin.sh create mode 100644 plugins/weatherng/weatherng.sh create mode 100644 plugins/wirbelscan/plugin.sh create mode 100644 plugins/xine/plugin.sh create mode 100644 plugins/xine/xineplayer.sh create mode 100755 plugins/xineliboutput/plugin.sh create mode 100644 plugins/xxvautotimer/plugin.sh create mode 100644 plugins/yaepg/patches/p1/yaepg-0.0.2.2-gettext-i18n.diff create mode 100644 plugins/yaepg/patches/yaepg-0.0.2.2_vdr-1.4.7.diff create mode 100644 plugins/yaepg/plugin.sh create mode 100644 plugins/zaphistory/plugin.sh create mode 100644 presets/all-plugins-off create mode 100644 presets/all-plugins-on create mode 100644 presets/reset-dirs create mode 100644 utilities/LCDproc/LCDd.conf create mode 100644 utilities/LCDproc/_LCDd.conf create mode 100644 utilities/LCDproc/lcdd create mode 100644 utilities/LCDproc/lcdexec.conf create mode 100644 utilities/LCDproc/utilitie.sh create mode 120000 utilities/a_vidix create mode 100644 utilities/dvb/liplianindvb/dvb-driver.sh create mode 100644 utilities/dvb/mantis/dvb-driver.sh create mode 100644 utilities/dvb/multiproto/dvb-driver.sh create mode 100644 utilities/dvb/multiproto_plus/dvb-driver.sh create mode 100644 utilities/dvb/s2-liplianin/dvb-driver.sh create mode 100644 utilities/dvb/v4l-dvb/dvb-driver.sh create mode 100644 utilities/dvb/v4l-dvb/v4l-dvb-header-fix.diff create mode 100644 utilities/dvb/v4l-dvb/v4l-dvb_include-fix.diff create mode 100644 utilities/em8300/em8300 create mode 100644 utilities/em8300/ldm create mode 100644 utilities/em8300/rmm create mode 100644 utilities/em8300/utilitie.sh create mode 100755 utilities/ffmpeg/utilitie.sh create mode 100644 utilities/genindex/utilitie-test.sh create mode 100644 utilities/graphlcd_base/graphlcd-base-0.1.5-gcc43.patch create mode 100644 utilities/graphlcd_base/graphlcd.conf create mode 100644 utilities/graphlcd_base/utilitie.sh create mode 100644 utilities/kernel_update/utilitie-test.sh create mode 100644 utilities/libdvd/utilitie-libdvdnav.sh create mode 100644 utilities/libdvd/utilitie-libdvdread.sh create mode 100644 utilities/lirc/lirc/lircd.conf create mode 100644 utilities/lirc/lirc/lircd.conf.hauppauge create mode 100644 utilities/lirc/lirc/lircd.conf.rcx115 create mode 100644 utilities/lirc/lirc/lircd.conf.technisat create mode 100644 utilities/lirc/lirc/lircd.conf.vivcontrol6 create mode 100644 utilities/lirc/lirc/lircmd.conf create mode 100644 utilities/lirc/lirc/lircrc create mode 100644 utilities/lirc/lirc_init create mode 100644 utilities/lirc/utilitie.sh create mode 100644 utilities/m2vrequantizer/utilitie-test.sh create mode 100644 utilities/mplayer/mplayer.sh create mode 100644 utilities/mplayer/mplayer.sh.conf create mode 100644 utilities/mplayer/utilitie.sh create mode 100644 utilities/noad/noad_0.6.1_all-patches.diff create mode 100644 utilities/noad/utilitie.sh create mode 100644 utilities/projectx/utilitie.sh create mode 100755 utilities/tcmplex_panteltje/utilitie-test.sh create mode 100755 utilities/tvmovie2vdr/scripts/config.pl create mode 100644 utilities/tvmovie2vdr/utilitie-test.sh create mode 100644 utilities/vdradmin/patches/vdradmin-am-autoinstall.diff create mode 100644 utilities/vdradmin/utilitie.sh create mode 100644 utilities/vdradmin/vdradmin-am create mode 100644 utilities/vdrconvert/utilitie-test.sh create mode 100644 utilities/vdrconvert/vdrconvert create mode 100644 utilities/vdrconvert/vdrconvert.env create mode 100644 utilities/vdrfonts/utilitie.sh create mode 100644 utilities/vdrsync/utilitie-test.sh create mode 100644 utilities/vidix/utilitie.sh create mode 100644 utilities/x264/utilitie-x264.sh create mode 100644 utilities/xine_lib/patches/xine-lib-ffmpeg.diff create mode 100644 utilities/xine_lib/patches/xine-lib.patch create mode 100644 utilities/xine_lib/utilitie.sh create mode 100644 utilities/y4mscaler/utilitie.sh create mode 100644 vdr/conf/_xinitrc create mode 100644 vdr/conf/channels.conf create mode 100644 vdr/conf/channels.conf.dvb-c_unity-media create mode 100644 vdr/conf/channels.conf.dvb-s_astra create mode 100644 vdr/conf/keymacros.conf create mode 100644 vdr/conf/noad-exclude-channels.conf create mode 100644 vdr/conf/remote.conf create mode 100644 vdr/conf/shutdown.conf create mode 100644 vdr/extensions/vdr-1.6.0-2-ext_dvb-api.diff create mode 100644 vdr/extensions/vdr-1.6.0-2_extensions.diff create mode 100644 vdr/extensions/vdr-1.7.0-ext_h264-s2ng-speedup.diff create mode 100644 vdr/extensions/vdr-1.7.0_extensions.diff create mode 100644 vdr/extensions/vdr-1.7.5_extensions.diff create mode 100644 vdr/install-vdr.sh create mode 100644 vdr/make-conf.sh create mode 100644 vdr/patchlevel.conf create mode 100644 vdr/scripts/README.DE_burn-bc create mode 100644 vdr/scripts/burn-bc create mode 100644 vdr/scripts/runvdr create mode 100644 vdr/scripts/runvdr-old create mode 100644 vdr/scripts/timerrep.sh create mode 100644 vdr/scripts/vdr create mode 100644 vdr/scripts/vdr-no-shutdown create mode 100644 vdr/scripts/vdr2root create mode 100644 vdr/scripts/vdrmount create mode 100644 vdr/scripts/vdrnoad create mode 100644 vdr/scripts/vdrplayer create mode 100644 vdr/scripts/vdrreaddvd create mode 100644 vdr/scripts/vdrreccmds create mode 100644 vdr/scripts/vdrsettime create mode 100644 vdr/scripts/vdrsetup create mode 100644 vdr/scripts/vdrshutdown create mode 100644 vdr/scripts/vdrwritedvd create mode 100644 vdr/scripts/x-lcd create mode 100644 vdr/vdr-1.7.5-ext_s2apiwrapper-0.5.diff create mode 100644 x-vdr.conf create mode 100644 x-vdr.sh diff --git a/apt.sh b/apt.sh new file mode 100644 index 0000000..4d123e6 --- /dev/null +++ b/apt.sh @@ -0,0 +1,441 @@ +#!/bin/sh + +# x-vdr (Installations-Skript fuer einen VDR mit Debian als Basis) +# von Marc Wernecke - www.zulu-entertainment.de +# 24.03.2009 + +# defaults +HAVE_64bit=$(uname -m | grep x86_64) +install_usefull_stuff="off" +ffmpeg="off" # on=source und off=deb +libdvd="off" # on=source und off=deb +sources_list="/etc/apt/sources.list" + +[ -f ./x-vdr.conf ] || exit 1 +source ./x-vdr.conf +[ -f ./setup.conf ] && source ./setup.conf +source ./functions + +[ "$1" = "--upgrade" ] && APT_UPGRADE="on" + +KERNEL=`uname -r` +DIR=`pwd` +EXITCODE=0 + +# create error file +error_file="$SOURCEDIR/x-vdr/.error" +echo "apt.sh" > $error_file + +# verify_input +COPYLIST=`verify_input "$COPYLIST"` +burn=`verify_input "$burn"` +coverviewer=`verify_input "$coverviewer"` +ffmpeg=`verify_input "$ffmpeg"` +mplayer=`verify_input "$mplayer"` +projectx=`verify_input "$projectx"` +xine_lib=`verify_input "$xine_lib"` + +# parsix only +if [ "$LINUXVERSION" = "parsix" ] || [ -f /etc/parsix-version ]; then + COPYLIST="off" +fi + +# start +cd $SOURCEDIR +if [ ! -d $SOURCEDIR/x-vdr ]; then ln -vnfs $DIR x-vdr ; fi + +if [ "$COPYLIST" = "on" ]; then + [ -f "$sources_list" ] || echo "# $sources_list" > $sources_list + + if [ `grep -cw 'ubuntu' $sources_list` -gt 0 ] || [ "$LINUXVERSION" = "ubuntu" ]; then # ubuntu only + LINUXVERSION="ubuntu" + ubuntu_version="hardy" + [ `grep -cw 'hardy' $sources_list` -gt 0 ] && ubuntu_version="hardy" && log "found ubuntu-${ubuntu_version}" + [ `grep -cw 'intrepid' $sources_list` -gt 0 ] && ubuntu_version="intrepid" && log "found ubuntu-${ubuntu_version}" + [ `grep -cw 'jaunty' $sources_list` -gt 0 ] && ubuntu_version="jaunty" && log "found ubuntu-${ubuntu_version}" + + medibuntu="deb http://de.packages.medibuntu.org/ $ubuntu_version free non-free" + if [ `grep -cw "^deb http://.*.packages.medibuntu.org/ $ubuntu_version free non-free" $sources_list` -eq 0 ]; then + log "adding '$medibuntu' to $sources_list" + var=`grep -m 1 "deb http://.*.packages.medibuntu.org/ $ubuntu_version free non-free" $sources_list` + if [ -n "$var" ]; then + sed -i $sources_list -e s?"$var"?"$medibuntu"?g + else + echo "$medibuntu" >> $sources_list + echo "" >> $sources_list + fi + wget -q http://de.packages.medibuntu.org/medibuntu-key.gpg -O- | apt-key add - + fi + + else # debian, kanotix and sidux + + if [ "$LINUXVERSION" = "sidux" ]; then # && [ `grep -cw 'sidux' $sources_list` -gt 0 ] + sources_list="/etc/apt/sources.list.d/debian.list" + [ -f "$sources_list" ] || echo "# debian" > $sources_list + debian_sid="deb http://ftp.de.debian.org/debian/ sid main contrib non-free" + if [ `grep -cw "^deb http://ftp.*debian.org/debian/ sid main contrib non-free" $sources_list` -eq 0 ]; then + var=`grep -m 1 "deb http://ftp.*debian.org/debian/ sid" $sources_list` + if [ -n "$var" ]; then + sed -i $sources_list -e s?"$var"?"$debian_sid"?g + else + echo "$debian_sid" >> $sources_list + echo "" >> $sources_list + fi + fi + + sources_list="/etc/apt/sources.list.d/sidux.list" + [ -f "$sources_list" ] || echo "# sidux" > $sources_list + sidux_deb="deb http://sidux.com/debian/ sid main contrib non-free firmware fix.main fix.contrib fix.non-free" + sidux_deb_src="deb-src http://sidux.com/debian/ sid main contrib non-free firmware fix.main fix.contrib fix.non-free" + if [ `grep -cw "^$sidux_sid" $sources_list` -eq 0 ]; then +# var=`grep -m 1 "deb.*http://sidux.com/debian/ sid" $sources_list` +# if [ -n "$var" ]; then +# sed -i $sources_list -e s?"$var"?"$sidux_sid"?g +# else +# echo "$sidux_sid" >> $sources_list +# fi + echo "$sidux_sid" >> $sources_list + echo "#${sidux_deb_src}" >> $sources_list + echo "" >> $sources_list + fi + sources_list="/etc/apt/sources.list.d/multimedia.list" + [ -f "$sources_list" ] || echo "# debian-multimedia" > $sources_list + fi + + # debian-multimedia > sources.list + if [ `grep -cw 'debian-multimedia' $sources_list` -eq 0 ]; then + echo "" >> $sources_list + echo "# debian-multimedia" >> $sources_list + fi + +# multi_etch="deb http://www.debian-multimedia.org etch main" +# if [ `grep -cw "^$multi_etch" $sources_list` -eq 0 ]; then +# var=`grep -m 1 "$multi_etch" $sources_list` +# if [ -n "$var" ]; then +# sed -i $sources_list -e s?"$var"?"$multi_etch"?g +# else +# echo "$multi_etch" >> $sources_list +# echo "" >> $sources_list +# fi +# fi + + multi_sid="deb http://www.debian-multimedia.org sid main" + if [ `grep -cw "^$multi_sid" $sources_list` -eq 0 ]; then + var=`grep -m 1 "$multi_sid" $sources_list` + if [ -n "$var" ]; then + sed -i $sources_list -e s?"$var"?"$multi_sid"?g + else + echo "$multi_sid" >> $sources_list + echo "" >> $sources_list + fi + fi + + # gpg keyserver + key_list=`apt-key list` + # debian + if [ `grep -cw '^deb.*http://ftp.de.debian.org/debian' $sources_list` -gt 0 ]; then + if [ `echo $key_list | grep -cw 6070D3A1` -eq 0 ]; then + gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 6070D3A1 + apt-key add /root/.gnupg/pubring.gpg + fi + fi + # debian-multimedia + if [ `grep -cw '^deb http://www.debian-multimedia.org' $sources_list` -gt 0 ]; then + if [ `echo $key_list | grep -cw 1F41B907` -eq 0 ]; then + gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 1F41B907 + apt-key add /root/.gnupg/pubring.gpg + fi + fi + # gpg-end + fi +fi + +cd $DIR + + +### update cache +apt-get update + + +### kick-list -> +if [ "$INSTALL_MODE" = "force" ]; then + apt_remove "$(apt-cache search vdr | cut -d" " -f1 | grep ^vdr)" + apt_remove "$(apt-cache search vdr | cut -d" " -f1 | grep [x\-]vdr)" +fi + +apt_remove "$(apt-cache search vdr | cut -d" " -f1 | grep sidux)" + +### get-list -> +apt_install "dialog xdialog rxvt" # -> x-vdr + +# debian +if [ "$LINUXVERSION" = "debian" ]; then + apt_install "localepurge" + apt_install "rcconf" + apt_install "modconf" + apt_install "alsa-base" # -> bitstreamout + apt_install "ssh ethtool etherwake wireless-tools pump" # network-tools + apt_install "ttf-bitstream-vera" + apt_install "lynx unzip tofrodos" + apt_install "shared-mime-info" # -> xine-ui +fi + +# sidux +#if [ "$LINUXVERSION" = "sidux" ]; then +#fi + +# ubuntu +if [ "$LINUXVERSION" = "ubuntu" ]; then + libdvd="on" # on=source und off=deb +fi + +apt_install "linux-headers-`uname -r`" # -> module - dvb, dxr3, lirc ... +[ -L /usr/src/linux ] && rm -f /usr/src/linux +if [ ! -d /usr/src/linux ]; then + cd /usr/src + ln -vfs /usr/src/linux-headers-`uname -r` linux + cd $DIR +fi + +unfreeze_rc +apt_install "at" # -> system, vdr +freeze_rc + +if [ "$projectx" = "on" ] || [ "$coverviewer" = "on" ] ; then # -> projectx (java libs) + apt_install "sun-java6-plugin" + apt_install "libcommons-net-java" + apt_remove "sun-j2re1.4" +# apt_install "libxp6" +# apt_install "libxtst6" +fi + +if [ -n "$HAVE_64bit" ]; then + apt_install "w64codecs" # -> mplayer, xine +else + apt_install "w32codecs" # -> mplayer, xine +fi + +apt_install "mc" # -> x-vdr +apt_install "setserial" # -> lirc +apt_install "dvb-utils" +apt_install "nvram-wakeup" # -> system, vdr (optional) +apt_install "wakeonlan" # -> system (optional) + +apt_install "gcc g++" +apt_install "autoconf" # -> system +apt_install "automake1.9" # -> system +apt_install "fontconfig" # -> system +apt_install "libtool" # -> system +apt_install "libjpeg62-dev" # -> system +apt_install "libcap-dev" # -> system +apt_install "libc6 libc6-dev" # -> system +apt_install "cvs" # -> x-vdr +apt_install "mercurial" # -> x-vdr +apt_install "subversion" # -> x-vdr +apt_install "git-core" # -> x-vdr + +apt_install "build-essential" # -> x-vdr +apt_install "checkinstall" # -> x-vdr +apt_install "yasm texi2html" +apt_install "equivs" # -> x-vdr + +apt_install "imagemagick" +apt_install "libmagick++9-dev" + +apt_install "libmp3lame-dev" # -> ffmpeg, mplayer +apt_install "libasound2-dev" # -> lirc +apt_install "libflac-dev libflac++-dev libogg-dev" # -> mplayer, xine !!! zur Zeit nicht verfuegbar: liboggflac-dev +apt_install "libmad0-dev libtag1-dev libvorbis-dev libwrap0-dev" # -> mp3, muggle, podcatcher +apt_install "libfaac-dev" # -> ffmpeg-svn und ??? +apt_install "libfaad-dev" # -> ffmpeg-svn, xine ? +apt_install "libxvidcore4-dev" # -> ffmpeg-svn +#apt_install "libdts-dev" # -> now we use internal dts with xine-lib-hg + +apt_install "libaa1 libaa1-dev libaa-bin libgtk2.0-dev libgtk2-perl" +apt_install "libogg-vorbis-header-pureperl-perl libvorbis-dev libvorbis0a libvorbisenc2" +apt_install "libtheora-dev" +apt_install "libfftw3-dev" # -> span + + +# ffmpeg spezial +if [ "$ffmpeg" = "on" ]; then + if [ "`apt_installed ffmpeg`" != "xvdr" ]; then + cd $SOURCEDIR/x-vdr/utilities/ffmpeg + chmod 744 ./utilitie.sh + log "Starte ffmpeg..." + ./utilitie.sh || EXITCODE=1 + fi +else + apt_install "ffmpeg" + apt_install "libavcodec-dev libavutil-dev libpostproc-dev libavformat-dev libswscale-dev" +fi + +# libdvd spezial +if [ "$libdvd" = "on" ]; then + if [ "`apt_installed libdvdread4`" != "xvdr" ]; then + log "Starte dvdread..." + cd $SOURCEDIR/x-vdr/utilities/libdvd + chmod 744 ./utilitie-libdvdread.sh + ./utilitie-libdvdread.sh + fi + + if [ "`apt_installed libdvdnav4`" != "xvdr" ]; then + log "Starte dvdnav..." + cd $SOURCEDIR/x-vdr/utilities/libdvd + chmod 744 ./utilitie-libdvdnav.sh + ./utilitie-libdvdnav.sh + fi +else + apt_install "libdvdread-dev libdvdnav-dev" +fi + +#apt_install "transcode" + +apt_install "liba52-0.7.4-dev vobcopy" +apt_install "mpeg2dec libmpeg2-4-dev" +apt_install "libfreetype6-dev" # freetype2 +apt_install "libcompress-zlib-perl" +apt_install "dvd+rw-tools mkisofs" +apt_install "lame sox toolame" +apt_install "libfame-dev libmpeg3-dev" +apt_install "dvdauthor" +apt_install "imlib-base imlib11-dev libimlib2-dev" # imlib-progs +apt_install "libid3tag0-dev" # -> mp3 +apt_install "libsndfile1-dev nasm" # -> mp3 +apt_install "mp3cd" # -> music +apt_install "ripit id3 id3v2" # -> ripit +apt_install "libevent-dev" +apt_install "netpbm" +apt_install "cddb" +apt_install "libcdio-dev" +apt_install "libcdio-paranoia-dev" # -> xine +apt_install "libdirectfb-dev libdfb++-dev" # -> softdevice +apt_install "libxv-dev libxvmc-dev" # -> softdevice +apt_install "libxt-dev" # -> softdevice +apt_install "libxxf86vm-dev" # -> softdevice + +apt_install "libquicktime-dev" +apt_install "libmjpegtools-dev" +apt_install "mjpegtools" +apt_install "y4mscaler" + +apt_install "sqlite3" # -> muggle +apt_install "libsqlite3-dev" # -> muggle +apt_install "ogmtools" # -> vdrrip +apt_install "libgphoto2-2-dev" # -> digicam +apt_install "libboost-dev libgd2-xpm-dev" # -> burn +#apt_install "libiax-dev" # -> asterisk +[ "$mailbox" = "on" ] && apt_install "libc-client-dev" # -> mailbox +apt_install "libcurl4-openssl-dev" # -> tvtv, rssreader, podcatcher +apt_install "libxml2-dev" # -> vdrtvtime, podcatcher +apt_install "libxml++2.6-dev libsigc++-2.0-dev libglibmm-2.4-dev" # -> menuorg, podcatcher +apt_install "libxtst-dev" # -> vdrtvtime +apt_install "libtntnet-dev" # -> live +apt_install "libgtop2-dev" # -> graphtft +apt_install "sharutils" # -> burn-bc (snapshot) +apt_install "netcat" # -> osdserver +apt_install "libhildonmime0" # -> xine-lib / xine-ui (update-mime-database) +apt_install "libvcdinfo-dev" # -> xine-lib (hg) +apt_install "libextractor-dev" # -> xineliboutput +apt_install "libdbus-glib-1-dev" # -> xineliboutput (cvs) +apt_install "libxslt1-dev" # -> tvm2vdr +apt_install "input-utils" # -> fuer Bert ;) +apt_install "libsox-fmt-all" # -> SoX is the swiss army knife of sound processing. +apt_install "mp3gain" # -> dvdconvert +#apt_install "mysql-server-5.0" # -> xxv +#apt_install "libmysqlclient15-dev" # -> xxvautotimer +#apt_install "libpopt-dev libsdl-sound1.2-dev" + +# usefull stuff +if [ "$install_usefull_stuff" = "on" ]; then + + if [ "`apt_installed kde`" != "not installed" ]; then + apt_install "k9copy" + apt_install "konq-plugins" + apt_install "k3b libk3b3-extracodecs" + apt_install "libgnome2-perl synaptic" + fi + + if [ "`apt_installed nautilus`" != "not installed" ]; then + apt_install "nautilus-gksu nautilus-image-converter nautilus-open-terminal" + apt_install "nautilus-script-audio-convert nautilus-script-manager" + fi + + apt_install "iceweasel iceweasel-l10n-de iceweasel-itsalltext" + apt_install "flashplugin-nonfree" + apt_install "fontforge fontforge-doc" + apt_install "easytag" + apt_install "vlc" +fi + + +# cdfs spezial +if [ ! -d "/usr/src/modules/cdfs" ]; then + apt_install "cdfs-src" + cd /usr/src + tar xjf cdfs.tar.bz2 + cd /usr/src/modules/cdfs/2.6 + make + make install + mkdir /media/cdfs +fi + +# vdr-burn / dvdconvert spezial +if [ "$burn" = "on" ] || [ "$dvdconvert" = "on" ]; then + # vdrsync + TEST=`which vdrsync.pl` + if [ "$TEST" ]; then + log "found $TEST" + else + cd $SOURCEDIR/x-vdr/utilities/vdrsync + chmod 0744 ./utilitie-test.sh + ./utilitie-test.sh + fi + + # genindex + TEST=`which genindex` + if [ "$TEST" ]; then + log "found $TEST" + else + cd $SOURCEDIR/x-vdr/utilities/genindex + chmod 0744 ./utilitie-test.sh + ./utilitie-test.sh + fi + + # m2vrequantizer + TEST=`which requant` + if [ "$TEST" ]; then + log "found $TEST" + else + cd $SOURCEDIR/x-vdr/utilities/m2vrequantizer + chmod 0744 ./utilitie-test.sh + ./utilitie-test.sh + fi + + # tcmplex-panteltje + TEST=`which tcmplex-panteltje` + if [ "$TEST" ]; then + log "found $TEST" + else + cd $SOURCEDIR/x-vdr/utilities/tcmplex_panteltje + chmod 0744 ./utilitie-test.sh + ./utilitie-test.sh + fi +fi + +echo "" +apt-get moo +echo "" + +# timezone +dpkg-reconfigure tzdata + +# final check +case $EXITCODE in + 0 ) log "SUCCESS - apt.sh" ;; + * ) log "ERROR - apt.sh"; exit ;; +esac + +# delete error file +[ -f $error_file ] && rm -f $error_file +exit 0 diff --git a/docs/HISTORY b/docs/HISTORY new file mode 100644 index 0000000..35f2a43 --- /dev/null +++ b/docs/HISTORY @@ -0,0 +1,1461 @@ +# x-vdr (Installations-Skript fuer einen VDR mit Debian als Basis) +# von Marc Wernecke - www.zulu-entertainment.de +# 13.04.2009 + +21.07.2005 x-vdr-0.0.1 +erste Version + +22.07.2005 x-vdr-0.0.2 +Fehler beim games-plugin gefixt + +Erste Anpassungen fuer kanotix-vdr1.2 umgesetzt: +Vom xine-plugin zum xine-net-plugin gewechselt +Kleinen Setup-Dialog in die x-vdr.sh eingebaut +first-update.sh (bloeder name ;) fuer das erste Update von kanotix-vdr zu Kanotix mit VDR +vdr-config dateien angepasst. +x-vdr.conf angepasst + +23.07.2005 x-vdr-0.0.2a +Update auf graphlcd-base-0.1.2-pre6.tgz und Link gefixt. +mp3sources.conf angepasst + +24.07.2005 x-vdr-0.0.3 +neu dabei channelscan-plugin +und screenshot-plugin +Versionen von xinelib1, xine-ui und xine-plugin werden im Setup Dialog gewaehlt. +graphlcd-plugin gefixt und update auf +Fehler im Setup-Dialog behoben + +26.07.2005 x-vdr-0.0.3a +Update auf BigPatch-Final +Kleiner Aenderungen + +27.07.2005 x-vdr-0.0.3b +Angefangen und dann doch ... + +27.07.2005 x-vdr-0.4.0 +... gaaanz viel ueberarbeitet +erste Versuche ein install.log erstellen zulassen :) +neu dabei osdteletext- und mediamvp-plugin +Neuer Versionen-Code + +27.07.2005 x-vdr-0.4.1 +x-vdr.log jetzt in /var/log/x-vdr.log +xine-plugin sollte jetzt auch mit der ct version gehen + +30.07.2005 x-vdr-0.4.2 +README ein wenig erweitert +update auf femon-0.9.1 +utilities ueberarbeitet +functionen fuer utilities +xine-net jetzt mit variabler IP-Adresse +Klitzekleinen Fehler in apt.sh behoben + +01.08.2005 x-vdr-0.4.3 +vdr init-script ueberarbeitet +runvdr ueberarbeitet +burn-plugin sollte es nun auch tun +Setup-Dialog erweitert + +01.08.2005 x-vdr-0.4.4 +Hoffendlich alle Bugs gefunden! + +05.08.2005 x-vdr-0.4.5 + Setup-Dialog weiter ausgebaut. + Update beim mp3-plugin NEU: nach dem Eintragen von: /dev/cdrom /cdfs cdfs ro,noauto,user 0 0 + in der /etc/fstab koennen nun Audio-CDs abgespielt werden !!!Die abschliessende leer Zeile in der fstab nicht vergessen ;) + update beim dvd plugin + neue libs in apt.sh und first-update.sh + screenshot funktioniert jetzt, die Bilder liegen in /tmp + uninstall-vdr.sh gibt es nicht mehr - dafuer NEU: + ./install-vdr.sh alive + ./install-vdr.sh backup + ./install-vdr.sh clean + ./install-vdr.sh clean-src + ./install-vdr.sh clean-vdr + + Script fuer Skins nun mit log-funktion + + Experiment !!!!! + In der x-vdr.conf kann nun DOALLWEB=1 gesetzt werden. Dann es wird erstmal alles nur geladen (apt-get wird aufgefuehrt) und nicht installiert. + Die Funktion ist ungetestet !!!!!! + +06.08.2005 x-vdr-0.4.6 +NEU: vdradmin-am +kleiner fixes + +09.08.2005 x-vdr-0.4.7pre1 +Die MediaMVP ans laufen gebracht :) +Update auf vdr-1.3.28 +Setup-Dialog +kleinere fixes + +10.08.2005 x-vdr-0.4.7pre2 +Am Setup-Dialog und der apt.sh gearbeitet + +10.08.2005 x-vdr-0.4.7pre3 +Ganz bloeden Fehler in der Update Funktion behoben + +11.08.2005 x-vdr-0.4.7 +NEU: Radio-Plugin +x-vdr.sh fix + +12.08.2005 x-vdr-0.4.8 +Bugfix - Danke an kalium aus dem vdr-portal fuer das aufspueren + +13.08.2005 x-vdr-0.4.9pre1 +NEU: vdrsettime - Zeit ueber Transponder einstellen +Update auf vdr-1.3.28-bigpatch-test2 +Update xine +Update Plugin xine-0.7.5 +Update Plugin burn-0.0.6g +Viele, viele kleine Korekturen und der Versuch, das Script wieder ein bisschen zu ordnen. + +15.08.2005 x-vdr-0.4.9pre2 +Update auf vdr-1.3.29 +Update auf vdr-1.3.29-bigpatch-test1 +kleine Korektur an der Update Funktion + +17.08.2005 x-vdr-0.4.9pre3 +Update Plugin xine-net-0.7.5 +Update Plugin osdteletext-0.5.1 + +17.08.2005 x-vdr-0.4.9pre4 +Neues Plugin vdr-ffnetdev-0.0.3 + +kwrite /usr/local/bin/runvdr + PLUGINS="$PLUGINS -Pffnetdev" + hinzufuegen. + + #PLUGINS="$PLUGINS -P'xine -r'" + auskommentieren + +Danke sagen bei peter_weber69 aus dem vdr-portal + +18.08.2005 x-vdr-0.4.9pre5 +Update -> xine-lib_for_xine-0.7.5-network +Update -> xine-ui_for_xine-0.7.5-network + +19.08.2005 x-vdr-0.4.9pre6 +xine-lib_for_xine-0.7.5-network -> Voruebergehend NUR FESTE IP bzw. 127.0.0.1 +xine-lib_for_xine-0.7.4-network, xine-ui_for_xine-0.7.4-network, vdr-xine-network-0.7.4 erstmal mit ins tar gepackt +So kann optional auch xine-net-0.7.4 installiert werden. + +26.08.2005 x-vdr-0.4.9pre7 +Fix acpi-wakeup in vdr2root und vdrshutdown +NEU bei den Utilities -> acpi-wakeup-0.1 +Fix kanotix-vdr-first-update-xine-bug :)) + +29.08.2005 x-vdr-0.4.9pre8 +TEST: dxr3 Plugin und em8300 Module +NEU: Plugin image-0.2.3 +Update: Plugin epgsearch-0.9.6 +Update: Plugin radio-0.0.7e +Update: Plugin streamdev auf cvs vom 29.08.2005 +Update: Plugin text2skin auf cvs vom 29.08.2005 + +29.08.2005 x-vdr-0.4.9pre9 +Kleiner fix in der first-update.sh bzl. xine-0.7.5 + +29.08.2005 x-vdr-0.4.9 +vdr init script gefixed +Update: Plugin ffnetdev-0.0.4 +Parameter fuer das dxr3-plugin werden nun mit in die Make.config geschrieben (x-vdr/functions -> make_makeconfig) +dxr3 und em8300 ueber Menu auswaehlbar +graphlcd und graphlcd-base ueber Menu auswaehlbar + +31.08.2005 x-vdr-0.4.10pre1 +Update auf vdr-1.3.31 + bigpatch + submenu-patch +Update auf femon-0.9.3 +Update auf radio-0.0.7f + +05.09.2005 x-vdr-0.4.10pre2 +Update auf burn-0.0.6i-pre2 +Update auf epgsearch-0.9.7 +Kleine fixes in der runvdr und den runvdr templates + +12.09.2005 x-vdr-0.4.10pre3 +Update auf vdr-1.3.31-bigpatch-test7_with_LiveBuffer +New nordlichtsepg-0.2 +Update auf burn-0.0.6i +Update auf radio-0.0.8b +Update auf xine-0.7.6 + +13.09.2005 x-vdr-0.4.10pre4 +Update auf radio-0.0.8c +Update auf xine-network-0.7.6 + +15.09.2005 x-vdr-0.4.10 +x-vdr-0.4.10pre4 wird zu x-vdr-0.4.10 +Update auf nordlichtsepg-0.3 +Downgrade auf burn-0.0.6g + +15.09.2005 x-vdr-0.4.11pre1 +Update auf vdr-1.3.32 + bigpatch + submenu-patch +Neue function zum patchen von Plugins +Es wird nicht mehr mit VFAT=1 compiliert!!! +Diese Option steht seit vdr-1.3.32 als Komando zur Verfuegung und kann in der runvdr angegeben werden. +Extra plugin patches fuer 1.3.32 +- vdr-1.3.32-channelscan-0.0.4b.diff +- vdr-1.3.32-osdpip-0.0.8.diff +- vdr-1.3.32-pilot-0.0.8.diff +- vdr-1.3.32-sleeptimer-0.6.diff +- vdr-1.3.32-streamdev-cvs.diff + +17.09.2005 x-vdr-0.4.11 +x-vdr-0.4.10 wird zu x-vdr-0.4.11 +Fixes in x-vdr/extra/sources.list und x-vdr/extra/preferences + +17.09.2005 x-vdr-0.4.12pre1 +x-vdr-0.4.11pre1 wird zu x-vdr-0.4.12pre1 +Fixes in x-vdr/extra/sources.list und x-vdr/extra/preferences +mplayer script zum test mit beigelegt. +Fuer mplayer muss die runvdr ergaenzt werden: +PLUGINS="$PLUGINS -P'mplayer -m $VDRSCRIPTDIR/vdrmount -M $VDRSCRIPTDIR/mplayer.sh'" + +17.09.2005 x-vdr-0.4.12pre2 +Update auf vdr-1.3.33 + bigpatch + submenu-patch +Update auf channelscan-0.0.5 +Scripte fuer dvdselect geaendert +TEST: New Plugin vdrcd-0.0.10.1 +TEST: mplayer Installation ueber Setup-Dialog +apt.sh und first-update.sh fuer mplayer angepasst + +06.10.2005 x-vdr-0.4.12 +Update auf vdr-1.3.34 + bigpatch + submenu-patch +Update dxr3-plugin und em8300 module (fuer Overlay kann in der ldm activate_loopback=1 gesetzt werden) +Update streamdev auf cvs-20051006 +Update text2skin auf cvs-20051006 +fixes in der runvdr und den runvdr-templates +fixes in apt.sh und firstupdate.sh +fix in vdrwritedvd, vdrreaddvd und vdr2root + +06.10.2005 x-vdr-0.4.13 +ACHTUNG: Wichtige Bugfixes in vdrwritedvd, vdrreaddvd und vdr2root +Mehr hat sich nicht geaendert aber diese Skripte sollten aufjedenfall getauscht werden! + +08.10.2005 x-vdr-0.4.14 +BUGFIX fuer xine 0.7.6 (die patches in .../xine/xine-0.7.6 wurden nicht gefunden!) +Update auf vdradmin-0.97-am3.4.1 +Nur fuer kanotix-vdr +- first-update.sh ueberarbeitet +- neue kanotix-vdr sources.list und preferences +- mjpegtools werden nun kompiliert + +21.10.2005 x-vdr-0.4.15 +NEU: Laeuft mit Kanotix 2005-04-LITE (getestet mit RC12) +Update auf bigpatch_test2 +Update auf screenshot-0.0.7 +Update auf radio-0.0.8d +TEST: Plugin vdrsoftdevice +TEST: Plugin rotor (siehe README in x-vdr/plugins/rotor) +NEU: Bei den Web Adressen fuer die Plugins und Utilities koennen nun Mirrors angegeben werden. +NEU: apt.sh ueberprueft das installieren der libs und beendet x-vdr bei einem Fehler +NEU fuer kanotix-vdr1.2: first-update.sh ist rausgeflogen. apt.sh entfernt den "kanotix-vdr" beim ersten Durchgang automatisch und laed dann die libs. + +Folgende Scripte fuer den VDR ueberarbeitet: +- vdr +- vdr2root +- vdrshutdown + shutdown.conf (acpi-wakeup funktioniert nun ohne unix2iso8601) +- settime + +Folgende Scripte fuer x-vdr VDR ueberarbeitet: +- apt.sh +- x-vdr.sh +- functions +- install-vdr.sh +- install-skins.sh + +27.10.2005 x-vdr-0.4.16 +NEU: Laeuft mit Kanotix 2005-04-LITE (getestet mit RC13) +install-vdr.sh -> INS_USER angepasst + +02.11.2005 x-vdr-0.4.17 +Update auf vdr-1.3.35 + bigpatch + submenu-patch +Update auf radio-0.0.8e +Update auf vdradmin-0.97-am3.4.2rc2 +runvdr -> mplayer mit xine +apt.sh -> libs fuer vdrburn auf stable gesetzt und lirc gefixt + +05.11.2005 x-vdr-0.4.18 +apt.sh -> Bug mit falschen "SUCCESS" Meldungen behoben. + -> update von imlib1 auf imlib11-dev + -> update von libmagick++6-dev auf libmagick++9-dev + -> das hat zu Folge das die libs fuer vdrburn (libmjpegtools0, libmjpegtools-dev, transcode, mjpegtools) wieder aus sid + kommen und vdrburn wahrscheinlich nicht funktioniert. + Wegen dem Update der mjpegtools sollte y4mscaler auch neu uebersetzt werden. + Dafuer vor dem Ausfuehren der apt.sh /usr/bin/y4mscaler und /usr/local/src/y4mscaler* loeschen. + +11.11.2005 x-vdr-0.4.19 +Update auf vdr-1.3.36 + bigpatch-test2 + submenu-patch +dxr3 und em8300 -> installer ueberarbeitet, neue ldm und rmm, aufruf des plugins in der runvdr gefixed +Update auf burn-0.0.6k +Update auf femon-0.9.4 +Update auf streamdev-cvs-20051108.tar.gz +Update auf text2skin-cvs-20051108.tar.gz +Update auf vdradmin-0.97-am3.4.2rc3 + +12.11.2005 x-vdr-0.4.20 +Update auf vdradmin-0.97-am3.4.2rc4 +apt.sh -> bei einem ERROR wird nun abgefragt ob das Skript beendet werden soll + -> fuer kanotix 2005-04 wird nun auch die "normale" Lirc Version installiert + +13.11.2005 x-vdr-0.4.21 +Update auf bigpatch-test3 +Update auf burn-0.0.009 +Update auf femon-0.9.5 +TEST: Plugin vdrsoftdevice-0.2.1 + -> damit das Plugin uebersetzt wird muss es in die x-vdr.conf eingetragen werden. + -> dann noch in die runvdr: PLUGINS="$PLUGINS -P'softdevice -vo xv:'" + +21.11.2005 x-vdr-0.4.22 +Laeuft mit Kanotix 2005-04-LITE (getestet mit RC17) +Update auf bigpatch-test3a +Update auf image-0.2.4 +Update auf nordlichtsepg-0.4 +NEU: Plugin mp3-0.9.13-MKIII +TEST: Plugin softdevice-0.2.1 -> Damit das Plugin funktioniert, muss nach der Installation in /etc/default/vdr VDRUSER="root" gesetzt werden. + +18.02.2006 x-vdr-0.4.23 +Skripte aufgeraeumt und kleinere fixes fuer Kanotix 2005-04-LITE (final) +Versionen die aelter als Kanotix 2005-04 sind, werden nicht mehr unterstuetzt. +Update auf vdr-1.3.42 + bigpatch-build16 + settime + vdr-submenu-0.7-1.3.42 +Updates bei Plugins: + dxr3-0.2.5 + epgsearch-0.9.12 + femon-0.9.7 + mp3-0.9.14 + nordlichtsepg-0.6 + radio-0.0.9 + remote-0.3.5 + softdevice-0.2.2 + streamdev-cvs-20060215 + text2skin-cvs-20060215 +Updates bei Utilities: + em8300-0.15.2 + lirc-0.8.0 + mplayer-1.0pre7try2 + vdradmin-am-3.4.3rc3 + y4mscaler-9.0 + +19.02.2006 x-vdr-0.4.24 +Neue Funktion zum patchen des vdr mit patch -p1 +Patches die mit dieser Option ausgefuehrt werden muessen, einfach nach x-vdr/vdr/patches/p1 kopieren. +Update auf bigpatch-build19 + settime + vdr-submenu +BP-Build19.diff habe ich in zwei Teile geteilt, BP-Build19-no-libsi.diff und /p1/BP19-libsi.diff + +Da sich das Debian-Paket nicht installieren laesst, koennen die mjpegtools-1.8.0 nun kompiliert werden. +cd /usr/local/src/x-vdr/utilities/mjpegtools +chmod 0755 install.sh +install.sh + +Leider funktionieren dann das screenshot-plugin und der Fernseher in vdradmin trotzdem nicht zusammen mit dem xine-plugin :( +Dafuer geht die Cover-Anzeige in mp3-MKIII wieder. + +19.02.2006 x-vdr-0.4.25 +mjpegtools werden jetzt mit apt-get aus debian-marillat (unstable) installiert. +Kleinere Erweiterungen im Setup-Dialog und bei den Utilities + +19.02.2006 x-vdr-0.4.26 +Update auf vdr-1.3.43 + bigpatch-test1 + settime + submenu + +20.02.2006 x-vdr-0.4.27 +Neuer Skin: vdrskin-enigma-0.4pre7 +Updates bei Plugins: + vdr-channelscan-0.0.5a + vdr-dvd-snapshot-20060121 + vdr-games-0.6.2 + +20.02.2006 x-vdr-0.4.28 +Update auf vdr-muggle-0.1.9 # muss von Hand in der x-vdr.conf und in der runvdr eingetragen werden! +TEST: vdr-dvdswich-0.0.3 # muss von Hand in der runvdr eingetragen werden! +Zwei kleine Bugs beim lirc-installer behoben (fuer Com2 wurden falsche Werte in /etc/modprobe.d/lirc eingetragen +und in /etc/default/lirc war der Pfad zur lircmd.conf falsch) + +22.02.2006 x-vdr-0.4.29 +Update auf vdr-xine-0.7.7 +Update auf xine-lib-cvs-20060212215500 und xine-ui-cvs-20060212215500 + +22.02.2006 x-vdr-0.4.30 +Die apt.sh hat einen "ERROR" gemeldet. Grund dafuer waren die nicht mehr verfuegbaren: +libavcodeccvs-dev libavutilcvs-dev libpostproccvs-dev +Habe das dann erstmal so geaendert: +libavcodeccvs51-dev libavutilcvs49-dev libpostproccvs51-dev + +26.02.2006 x-vdr-0.4.31 +Update auf vdr-1.3.43 + bigpatch-test2 + settime + submenu +Update auf ffnetdev-0.1.0 +Update auf nordlichtsepg-0.7 +Neuer DL-Mirror fuer screenshot +Fix fuer xine-net (vdr-xine-0.7.6-compatibility.patch) + +28.02.2006 x-vdr-0.4.32 +Update auf vdr-1.3.44 + bigpatch-test1 + settime + submenu +Der vdr wird jetzt mit gcc-4.0.3 uebersetzt (mplayer aber noch mit gcc-3.3) +Update auf vdr-epgsearch-0.9.13 +Fix fuer Noad (wurde nicht automatisch installiert) +Fix fuer mjpegtools (in apt.sh) - libquicktime0 und libquicktime-dev werden jetzt mit apt-get aus debian-sid installiert. + +05.03.2006 x-vdr-0.4.33 +Update auf bigpatch-test2 +Update auf vdr-epgsearch-0.9.14a +Update auf vdr-dvdswitch-0.1.1 (die Scripte fuer das Einlesen und Schreiben und die entsprechende Anpassung in der vdr2root habe ich noch nicht fertig) +-> Das Plugin muss in der runvdr und in der x-vdr.conf aktiviert werden. +Neu: vompserver-0.2.1 + client (am besten vor der Installation die Mac-Adresse aendern -> /x-vdr/plugins/vomp/vomp-00-00-00-00-00-00.conf) +-> Das Plugin muss in der runvdr aktiviert werden. +Neu: vdr-graphtft-0.0.8 -> Das Plugin muss in der runvdr aktiviert werden. +SUCCESS-Meldungen fuer xine geaendert. +Neue channels.conf +Update auf vdradmin-am-3.4.3 (laeuft nicht richtig mit vdr-1.3.44) + +07.03.2006 x-vdr-0.4.34 +Update auf vdr-screenshot-0.0.8 +Fix und Erweiterung fuer text2skin -> text2skin_extensions-0.8.diff + +08.03.2006 x-vdr-0.4.35 +Update auf vdradmin-am-3.4.4beta + +12.03.2006 x-vdr-0.4.36 +Getestet mit KANOTIX-2006-CeBIT-RC3 +Update auf vdr-femon-0.9.8 +Update auf vdr-xine-network-0.7.7-1 +-> xine und xine-network werden jetzt mit dem selben Skript erzeugt. Auswahl in der x-vdr.conf bzw. setup.conf 0=nein, 1=xine , 2=xine-network (0/1/2) +Fix: vdr-vompserver-0.2.1 -> Neue download-adresse eingetragen +Neu: vdr-skinsoppalusikka-0.0.3 +Neu: vdr-undelete-0.0.5 + +22.03.2006 x-vdr-0.4.37 +Kleinere Korekturen an der README +Kleinere Korekturen an der runvdr +Update auf screenshot-0.0.9 +Update auf undelete-0.0.6 +Update auf nordlichtsepg-0.8 +Update auf weatherng-0.0.8-pre1 (neuer Aufruf in der runvdr) +Update auf vdr-vompserver-0.2.2 +Update auf vdradmin-am-3.4.4beta2 +Update auf xine-0.7.8 (mit xine-lib-cvs-20060319194500 + xine-ui-cvs-20060319194500) + +30.03.2006 x-vdr-0.4.38 +Update auf vdr-1.3.45 mit bigpatch-test1 + settime + submenu +Update auf vdr-nordlichtsepg-0.8a +Update auf vdr-skinsoppalusikka-0.0.6 +Fix fuer dxr3 -> dxr3-0.2.5.patch +Neu vdr-sudoku-0.1.1 + +02.04.2006 x-vdr-0.4.39 +Update auf vdr-rotor-0.1.4 +Update auf vdr-skinsoppalusikka-0.0.7 +Fix fuer vdr-softdevice -> neue Makefile + +11.04.2006 x-vdr-0.5pre1 +Alles anders und vieles neu :) + +13.04.2006 x-vdr-0.5pre2 +Update auf vdr-1.3.46 mit bigpatch-spezial + settime + submenu +Fix fuer die runvdr -> laden der em8300 Module + +18.04.2006 x-vdr-0.5pre3 +Update auf vdr-1.3.47 mit bigpatch-spezial + settime + submenu +Patches fuer burn und streamdev (die Plugins kompilieren - Funktion ist aber ungetestet) +Update auf vdr-epgsearch-0.9.15 +Update auf vdr-screenshot-0.0.10 +Update auf vdr-skinsoppalusikka-0.2.0 +Update auf vdr-xine-0.7.9 +Update auf em8300-0.15.3 +Neue vdr/setup.conf +Neue vdr/remote.conf +Und ein bisschen kosmetik... + +Fehler: ffnetdev laesst sich nicht mit vdr-1.3.47 uebersetzen + +23.04.2006 x-vdr-0.5pre4 +Aenderungen an apt.sh, functions, x-vdr.sh +Update auf vdr-1.3.48 mit bigpatch-test1 + settime + submenu + api +Update auf vdr-dvd-snapshot-20060404 +Update auf vdr-epgsearch-0.9.16 +Update auf vdr-femon-0.9.10 +Update auf vdr-image-0.2.6 +Update auf vdr-radio-0.1.1 +Update auf vdr-skinsoppalusikka-0.4.0 +Update auf vdr-softdevice-snapshot-20060404 +Update auf vdr-streamdev-snapshot-20060404 +TEST: vdr-burn-0.1.0-pre8 +TEST: vdrrip-0.3.0 + +25.04.2006 x-vdr-0.5pre5 +Aenderungen an functions, x-vdr.sh, install-vdr.sh und runvdr +Neue VDR-Update Funktionen +Update auf vdr-burn-0.1.0-pre9 +Update auf vdr-sudoku-0.1.2 +Fix fuer ffnetdev + +26.04.2006 x-vdr-0.5pre6 +Aenderungen an functions, x-vdr.sh +Neue VDR-Backup Funktionen +Fix fuer xine_lib/utilitie.sh (beim nachtraeglichen installieren wird xine jetzt erst mit apt-get entfernt) + +28.04.2006 x-vdr-0.5pre7 +Update auf vdr-1.3.49 mit bigpatch-test1 + settime + submenu + api +Update auf vdr-graphlcd-snapshot-20060404.tgz +Update auf vdr-graphlcd-base-snapshot-20060404.tgz +Update auf vdr-graphlcd-media-snapshot-20060404.tgz +Update auf vdr-muggle-0.1.10 +Dateien werden nicht mehr von http://gentoo.fh-luh.de/files/ geladen + +30.04.2006 x-vdr-0.5.0 +Update auf vdr-1.4.0 mit bigpatch-test1 + settime + submenu + api +Update auf vdr-channelscan-0.1.0 +Update auf vdr-mp3-0.9.15pre9 +Neu: vdr-extrecmenu-0.10-test2 +Aenderungen an functions, x-vdr.sh, x-vdr.conf, runvdr und diversen vdr-configs +Plugin-Auswahl geaendert +Backup - Fehler beim zurueckspielen der Sourcen behoben + +08.05.2006 x-vdr-0.5.1 +Aenderungen an functions, x-vdr.sh, x-vdr.conf und runvdr +-> Parameter fuer x-vdr.sh koennen jetzt zusammen gesetzt werden zB: x-vdr -d /root/x-vdr -i +-> das Menu wird jetzt mit Xdialog dargestellt (falls xdialog installiert ist und X laeuft). Wer weiter dialog benutzen moechte: --no-xdialog oder kurz: -n +Fix fuer apt.sh -> libdvdread-dev +Fix fuer vdr-graphlcd-0.1.3 -> ppdev0: negotiated back to compatibility mode because user-space forgot +Update auf vdr-burn-0.1.0-pre10 +Update auf vdr-dvdswitch-0.1.2 +Update auf vdr-dxr3-0.2.6 +Update auf vdr-extrecmenu-0.10 +Update auf vdr-femon-1.0.0 +Update auf vdr-remote-0.3.7 +Update auf vdr-skinsoppalusikka-1.0.0 +Neu: vdr-pilotskin-0.0.2 +Neu: vdr-director-0.2.6 + +09.05.2006 x-vdr-0.5.2 +Aenderungen an apt.sh, functions, x-vdr.sh, x-vdr.conf, install-vdr.sh und runvdr +-> ueberpruefen der on/off settings aus x-vdr.conf und setup.conf +Neue Option -> wenn vor einem Update das alte x-vdr Verzeichnis in x-vdr_old umbenannt wird, sucht das Skript dort nach Plugins und Utilities + +10.05.2006 x-vdr-0.5.3 +Aenderungen an x-vdr.sh -> Da bei einigen Xdialog Probleme gemacht hat, ist jetzt wieder dialog als standard eingetragen. Ich Versuche aber weiter herraus zu finden was das sein koennte. Getestet werden kann mit: x-vdr.sh -x + +18.05.2006 x-vdr-0.5.4 +Aenderungen an apt.sh, functions, x-vdr.sh und install-vdr.sh +- Diverse neue Funktionen und andere Basteleien +- x-vdr kann jetzt vom User (nicht root) mit der Maus gestartet werden :) +- root muss sich dafuer einen Link setzen (~/x-vdr/x-vdr.sh -x) +Update auf vdr-1.4.0-1 mit bigpatch-test1 + settime + submenu + api +Update auf vdr-burn-0.1.0-pre13 + +27.05.2006 x-vdr-0.5.5 +Aenderungen an functions, x-vdr.sh und runvdr +Neu: vdr-mp3ng-0.0.9 +Update auf vdr-vompserver-0.2.3 + +17.06.2006 x-vdr-0.5.6 +Update auf vdr-1.4.0-3 mit bigpatch + settime + submenu + api +Aenderungen an apt.sh, functions, x-vdr.sh und install-vdr.sh +Update auf xine-lib-cvs-20060616093600 und xine-ui-cvs-20060616093600 +Update auf vdr-burn-0.1.0-pre18 +Update auf vdr-director-0.2.8 +Update auf vdr-epgsearch-0.9.17b +Update auf vdr-extrecmenu-0.12 +Update auf vdr-mp3ng-0.0.9a +Update auf vdr-vompserver-0.2.4 +Update auf vdr-xineliboutput-0.99rc5 +Patches fuer channelscan, graphtft, mp3ng, newsticker, osdpip + +19.06.2006 x-vdr-0.5.7 +Update auf vdr-1.4.1-1 mit bigpatch + settime + submenu + api +Adresse fuer debian-marillat in der apt.sh geaendert. (Die alte Adresse muss von Hand aus /etc/apt/sources.list entfernt werden.) + +06.07.2006 x-vdr-0.5.8 +Update auf vdr-1.4.1-1 mit bigpatch(ohne lnb-sharing) + settime + submenu + api +Aenderungen an apt.sh, x-vdr.sh und install-vdr.sh +Update auf vdr-burn-0.1.0-pre20 +Update auf vdr-epgsearch-0.9.17c +Update auf vdr-screenshot-0.0.11 +Update auf vdr-tvonscreen-1.0.141 +Fix fuer muggle +Update auf MPlayer-1.0pre8 + +07.07.2006 x-vdr-0.5.9 +Leider sind beim packen von x-vdr-0.5.8 ein paar Verzeichnisse verschwunden. +Darum jetzt noch mal komplett + +12.07.2006 x-vdr-0.5.10 +Aenderungen an functions und runvdr +Update auf vdr-skinsoppalusikka-1.0.1 +Update auf vdr-softdevice-0.2.3a +Fix fuer burn-0.1.0-pre20 -> genindex wird jetzt installiert wenn es nicht gefunden wird +Kleinere fixes fuer graphlcd, graphtft und install-skins.sh + +18.07.2006 x-vdr-0.6.0 +Aenderungen an x-vdr.sh, functions,install-vdr.sh, install-skins.sh, mplayer/utilitie.sh, +graphlcd/plugin.sh, graphtft/plugin.sh, screenshot/plugin.sh, vompserver/plugin.sh + +Die Sourcen werden jetzt zentral in x-vdr/files/* gespeichert. +Damit bei einem Update von 0.5.10 keine Dateien erneut geladen werden muessen, wird zusaetzlich in dem jeweiligen Plugin oder Utilitie Verzeichnis gesucht. Dafuer kann x-vdr-0.5.10 mit dieser Version ueberschrieben werden. +Die Funktion "x-vdr_old" habe ich wieder entfernt. +Es gibt eine neue Funktion im Installations Menu - "Einzelnes Plugin bearbeiten" +Im wesendlichen werden hier die Befehle --clean, --make und --remake der jeweiligen plugin.sh fuer das Plugin angeboten. +Dazu kann das Plugin-Verzeichnis im Browser geoeffnet und bearbeitet werden. +Als Anpassung an Parsix funktionieren Browser und Editor jetzt auch mit gnome. + +24.07.2006 x-vdr-0.6.1 +Bugfix -> In /usr/local/src wurde anstatt des Symlinks zu x-vdr, ein Verzeichnis "x-vdr" angelegt. +Aenderungen an x-vdr.sh, x-vdr.conf, functions und install-vdr.sh +Aenderungen an runvdr, vdr2root und vdrnoad +Neu: Unterstuetzung fuer parsix-0.81 (http://parsix.org) +Neu: audiorecorder (0.1.0-pre4) - floods your disc with music +Update auf vdr-femon-1.0.1 +Fix fuer graphlcd (neuer patch) +Fix fuer muggle (libmysqlclient12-dev -> libmysqlclient15-dev) +Neu: ProjectX fuer burn +ffmpeg: Fix fuer libavcodeccvs51-3:20060720-0.1 (x-vdr/extra/ffmpeg.diff wird innerhalb der apt.sh angewendet) +Optional kann jetzt auch die aktuelle Version aus dem SVN installiert werden. +Dafuer einfach, vor der Installation, in apt.sh oder x-vdr.conf ffmpeg="on" eintragen. + +Folgende Dateien werden jetzt dynamisch mit x-vdr/vdr/make-conf.sh erstellt +x-vdr/vdr/conf + -commands.conf + -reccmds.conf + -setup.conf +Wer eigene Versionen benutzen moechte kann diese in x-vdr/vdr/conf ablegen +Das Skript erstellt die Dateien erst und ueberschreibt diese dann - falls in x-vdr/vdr/conf vorhanden + +Aenderung an der Verzeichnis Struktur: + - es werden keine Symlinks mehr zu Verzeichnissen wie $VIDEODIR, $MUSICDIR etc. angelegt + - aus diesem Grund muessen die neuen Versionen von runvdr, vdr2root und vdrnoad verwendet werden + +Weiter werden, bei folgenden Plugins bzw. Utilities, Teile der Konfiguration durch x-vdr erzeugt - wenn diese nicht im jeweiligen Verzeichnis liegen + -image (imagesources.conf) + -mediamvp (picturesources.conf) + -mp3 (mp3sources.conf, mplayersources.conf) + -mp3ng (mp3sources.conf, mplayersources.conf) + -vdradmin-am (vdradmind.conf) + +Aenderung an runvdr und /etc/default/vdr: +Die Plugin-Optionen und die DVB-Module werden jetzt nicht mehr in der runvdr sondern in /etc/default/vdr gespeichert. + +Neu: x-vdr/extra/symsalabim (Skript zum anlegen von Symlinks zu dem ganzen VDR Kram) +Kann erst nach der Installation verwendet werden! +Dem Skript kann als Parameter das Verzeichnis uebergeben werden, in dem die Symlinks erzeugt werden sollen. +cd /usr/local/src/x-vdr/extra +./symsalabim ~/symlinks +... erstellt im Heimatverzeichnis ein Verzeichnis "symlinks" und erzeugt darin dann die Symlinks +Wird kein Parameter uebergeben, wird das momentane Verzeichnis verwendet. +cd ~ +/usr/local/src/x-vdr/extra/symsalabim +... erstellt im Heimatverzeichnis ein Verzeichnis "vdrsyms" und darin dann die Symlinks + +31.07.2006 x-vdr-0.6.2 +Aenderung an functions und x-vdr.sh - Einstellungen in /etc/default/vdr, setup.conf und x-vdr.conf sind jetzt alle mit "" Ausrufezeichen +Aenderung an der runvdr - VDR Settings aus /etc/default/vdr werden bei einem Neustart erneut eingelesen +Bugfix: "./../functions: line 88: [: missing `]'" - Danke an Chris fuers melden. +Update auf vdr-radio-0.1.3 +Zwei neue Plugins: admin und console +Fuer admin habe ich Skripte und Conf an x-vdr angepasst. +Leider dauert das Speichern der Einstellungen so 10-15 Sekunden. Bis jetzt koennen Verzeichnisse geaendert werden. Plugins aktiviert oder deaktiviert werden. Plugin Argumente angepasst werden. +Fix fuer graphtft -> laeuft jetzt mit ffmpeg-0.4.9 und damit ist auch die Ausgabe ueber eine FF moeglich. +Alle Utilities ueberarbeitet - "*" wildcard beim uninstall entfernt, um das loeschen anderer Versionen zu unterbinden +Diverse Plugins ueberarbeitet. + +07.08.2006 x-vdr-0.6.3 +Update auf vdr-1.4.1-3 mit bigpatch(ohne lnb-sharing) + settime + submenu + api +Aenderungen an install-vdr.sh - Patches in x-vdr/vdr/patches werden jetzt immer mit "patch -f -p 1" angewendet. +Update auf xineliboutput-1.0.0pre1 +Neue channels.conf +admin-plugin - Skripte geaendert, das Speichern der Einstellungen dauert nun deutlich weniger als 10 Sekunden + +14.08.2006 x-vdr-0.6.4 +Update auf vdr-1.4.1-4 mit bigpatch(ohne lnb-sharing) + settime + submenu + api +Aenderungen an x-vdr.conf - tvonscreen pfad zu logos eingetragen +Update auf vdr-epgsearch-0.9.17d +Fix fuer skinelchi - vdr-skinelchi-0.1.1pre2.PatchCollection.diff + +Aenderungen fuer dvdselect und dvdswitch + - Update auf vdr-dvdswitch-0.1.3 + - vdr2root, vdrreaddvd und vdrwritedvd angepasst + - vdrreaddvd und vdrwritedvd werden jetzt durch install-vdr.sh installiert und nicht mehr durch die plugins + +Code cleaning... + +15.08.2006 x-vdr-0.6.5 +Update auf vdr-radio-0.1.4 +Loesungen fuer Probleme mit der Lautstaerkeregelung: + - graphlcd (Lautstaerke wurde nicht richtig angezeigt(vdr-graphlcd-volume.diff)) + - mp3 (Update auf vdr-mp3-0.9.15pre14) + - mp3ng (Aenderung aus mp3-0.9.15pre14 in player-mplayer.c eingebaut (mp3ng-volume.diff)) + +Admin-Plugin + - setvdr.sh aendert nun auch die *sources.conf fuer mp3-, mplayer- und image-plugin + +16.08.2006 x-vdr-0.6.6 +text2skin + - neue Version: vdr-text2skin-1.1-cvs_ext-0.8.tgz + - Bugfix fuer "Absturz bei WH-Timern" -> x-vdr/plugins/text2skin/patches/text2skin-wh_timer.diff + - Bugfix fuer "keine Schrift mit Enigma" -> x-vdr/plugins/text2skin/patches/p1/text2skin-font.diff + +18.08.2006 x-vdr-0.6.7 +admin-plugin + - Durch falsch gesetzte Rechte auf das Verzeichnis x-vdr/plugins/admin/admin wurden die Skripte und die Konfig + fuer das Plugin nicht nach /var/lib/vdr/plugins kopiert. + +19.08.2006 x-vdr-0.6.8 +burn - transcode in der apt.sh auf unstable gesetzt + +20.08.2006 x-vdr-0.6.9 +Update auf vdr-1.4.1-5 mit bigpatch(ohne lnb-sharing) + settime + submenu + api +Aenderungen an functions, x-vdr.sh, x-vdr.conf und runvdr +Neu: premiereepg (0.0.6) - Parses extended Premiere EPG data +burn - falsche ERROR Meldungen fuer genindex, requant und vdrsync.pl beseitigt +mplayer - Skin Blue wurde nicht installiert -> Skin im Skript auf Version 1.6 umgestellt +Kleinere Korrekturen fuer folgende Plugins (plugin.sh): + - admin (plus neue admin.conf) + - control + - epgsearch + - ffnetdev + - mp3 + - mp3ng + - pilot + +27.08.2006 x-vdr-0.6.10 +Update auf vdr-1.4.2 mit bigpatch(ohne lnb-sharing) + settime + submenu + api +Aenderungen an x-vdr.sh, x-vdr.conf, apt.sh, functions, runvdr und diversen anderen +Neu: LCDproc 0.5.0 +Neue Plugins: + - cdda (0.1.0) - music cd player + - filebrowser (0.0.6) - Plugin to browse through files and execute actions on them + - fussball (0.0.3b) - Zeigt die 1.Bundesliga Fussball Ergebnisse an + - lcdproc (0.0.10) - LCDproc output +Update auf xineliboutput-1.0.0pre3 (und plugin.sh ueberarbeitet) +mp3ng -> wird nun mit OSS unterstuetzung gebaut +MPlayer-1.0pre8 -> fix fuer vdrrip und neue Downloadadresse + +29.08.2006 x-vdr-0.6.11 +Update des bigpatch auf Version 33.1 +Aenderungen an x-vdr.sh, x-vdr.conf, functions, runvdr, make-conf.sh und diversen anderen +Default Plugins (hello, osddemo, servicedemo, skincurses, sky, status, svdrpdemo) koennen jetzt ueber das Menu aktiviert werden +Updates bei folgenden Plugins: + - dvd-snapshot-20060828 + - graphlcd-snapshot-20060828 + - streamdev-snapshot-20060828 +Updates bei folgenden Utilities: + - graphlcd-base-snapshot-20060828 + +01.09.2006 x-vdr-0.6.12 +Aenderungen an x-vdr.sh, x-vdr.conf, functions, runvdr +Neue Plugins: + - digicam (1.0.1) - Plugin to access a digital camera + - pin (0.0.20) - Pin code plugin + - recstatus (0.0.3) - recording status monitor +Updates bei folgenden Plugins: + - filebrowser - skripte und configs werden jetzt installiert + - softdevice-cvs-20060831 +Neu: vidix-cvs-20060831 + +03.09.2006 x-vdr-0.6.13 +Update auf vdr-1.4.2-1 mit bigpatch (ohne lnb-sharing) + settime + submenu + api +Aenderungen an x-vdr.sh +Update auf: + - audiorecorder-0.1.0pre5 +Downgrade auf: + - vdr-softdevice-0.2.3a (Mit der CVS Version funktioniert die Ausgabe ueber xv nicht) + - graphlcd-base-snapshot-20060404 (Messages werden mit der neuen Version nicht angezeigt) + +09.09.2006 x-vdr-0.6.14 +Update auf vdr-1.4.2-2 mit bigpatch (bp-33.5) + settime + submenu + api +Aenderungen an x-vdr.sh -> Fix fuer "Backup zurueck spielen" (VDR wurde unter bestimmten Bedingungen nicht mehr automatisch gestartet) +Aenderungen an x-vdr.sh, x-vdr.conf, functions, runvdr -> span-plugin +Neu: span (0.0.3) - Spectrum Analyzer for music-data + -> die patches fuer cdda, mp3, graphlcd und lcdproc werden angewendet +Update auf: + - audiorecorder-0.1.0pre6 + - xine-lib-1.1.2 +Fix fuer mp3ng -> mplayer-plugin wird jetzt nicht mehr entfernt, wenn mp3=on ist. +Fix fuer admin -> streamdev-server und streamdev-client + neue Plugins ergaenzt. + +23.09.2006 x-vdr-0.6.15 +Update auf vdr-1.4.3 mit bigpatch (bp-33.7) + settime + submenu + api + lnb sharing (optional) +Aenderungen an x-vdr.sh, x-vdr.conf, apt.sh, install-vdr.sh und make-conf.sh +Plugin Updates: +- vdr-burn-0.1.0-pre21 -> apt.sh (libboost-dev libgd2-xpm-dev) +- vdr-femon-1.1.0 +- vdr-mp3-0.9.15 +- vdr-pin-0.1.0 +- vdr-skinsoppalusikka-1.0.2 +- vdr-softdevice-cvs-20060923 + +08.10.2006 x-vdr-0.6.16 +Update auf vdr-1.4.3-1 mit bigpatch (bp-33.8) + settime + submenu + api + lnb sharing (optional) +ACHTUNG: Die Patche fuer den VDR (/x-vdr/vdr/patches) sind umbenannt worden. Dies ist bei einem Update zu beruecksichtigen. +Plugin Updates: +- vdr-epgsearch-0.9.18 +- vdr-pin-0.1.1 +- vdr-xineliboutput-1.0.0pre5 +Update auf VDRAdmin-AM v3.4.7 + +09.10.2006 x-vdr-0.6.17 +Bugfix -> fehlenden Patch fuer das Submenu-Plugin ergaenzt. + -> lnbs_after_bp-33.7.diff wieder aus x-vdr/vdr/patches entfernt. Wer den Patch nutzen moechte findet diesen in x-vdr/vdr +Plugin Update: +- vdr-softdevice-0.3.0 + +10.10.2006 x-vdr-0.6.18 +Update auf vdr-1.4.3-1 mit bigpatch (bp-33.9) + settime + submenu + api + lnb sharing (optional) +-> Fix fuer vdr-1.4.3-1 eingebaut +Neuen Menupunkt "VDR Patchlevel" im "Installationsmenu" eingebaut +-> Patche koennen an und ab gewaehlt werden +-> lnbs_after_bp-33.7.diff liegt jetzt in x-vdr/vdr/patches-all und ueber das Menu aktiviert werden +-> damit das "VDR Patchlevel Menu" auch in der "Dialog gefuehrten Installation" erscheint, kann x-vdr.sh mit dem Parameter -p gestartet werden + +13.10.2006 x-vdr-0.7.0 +Anpassungen an KANOTIX 2006-01-RC4 +- neue init-skripte fuer vdr und vdradmin-am +- neue runvdr und vdr2root +- fix fuer lirc +- fix fuer mplayer (bei fehlenden lirc sourcen) +- fix fuer vdr-graphlcd(span-patched) und gcc-4.1 +- vidix wird jetzt als erstes utilitie uebersetzt +- alle deutschen umlaute ersetzt und ein bisschen aufgeraeumt +TODO: +- dual installation ist noch experimental +- cdfs geht noch nicht +- dxr3 ist ungetestet + +15.10.2006 x-vdr-0.7.1 +Update auf vdr-1.4.3-2 mit bigpatch (bp-33.10) + api + settime + submenu + lnb sharing (optional) +Kleine Korrektur bei burn-bc + +18.10.2006 x-vdr-0.7.2 +Update auf vdr-1.4.3-2 mit bigpatch (bp-33.11) + api + settime + submenu + lnb sharing (optional) +Aenderungen an x-vdr.sh -> USELIRC-Schalter +Aenderungen an install-vdr.sh -> USELIRC-Schalter und autopatch fuer subtitles-plugin +Fix f�r Lirc mit Kernel 2.6.18 -> lirc/utilitie.sh, mplayer/utilitie.sh +Update auf lirc-0.8.1pre2 +Fix bei den init-skripten fuer vdr und vdradmin-am +Kleinere Korrekturen an vdrshutdown +Neue Plugins: +-> subtitles-0.4.0 (fuer das Plugin muss der VDR neu erstellt werden, der notwendige Patch wird automatisch eingespielt) +-> ripit-0.0.1a (muss von Hand eingerichtet und in der x-vdr.conf angeschaltet werden) + +22.10.2006 x-vdr-0.7.3 +Update auf vdr-1.4.3-3 mit bigpatch (bp-33.12) + api + settime + submenu + lnb sharing (optional) +Korrekturen an folgenden Skripten: runvdr, vdr, vdradmin-am, vdrshutdown und shutdown.conf +vidix -> symlink zu /usr/lib/libdha-0.4.so wird jetzt automatisch angelegt + +30.10.2006 x-vdr-0.7.4 +Update auf vdr-1.4.3-4 mit bigpatch (bp-33.13) + api + settime + submenu + lnb sharing (optional) +Fix fuer vdrshutdown -> Timer wurden nicht gesetzt (Dank an kay1234@vdr-portal fuer die Meldung!) +Fix fuer b2c2_flexcop_pci in der runvdr +Update auf vdr-epgsearch-0.9.19 +Update auf vdr-premiereepg-0.0.7 +Neues Plugin -> playlist-0.0.2rc3 +Lirc installer ueberarbeitet + +01.11.2006 x-vdr-0.7.5 +Aenderungen an x-vdr.sh und x-vdr.conf -> VFAT-Schalter +Aenderung an install-vdr.sh -> autopatch fuer graphtft +Update auf graphtft-0.0.10a +Update auf vdradmin-am-3.5.0beta +admin-plugin -> fehlende Plugins ergaenzt + +03.11.2006 x-vdr-0.7.6 +Update auf vdr-1.4.3-4 mit bigpatch (bp-33.14) + api + settime + submenu + lnb sharing (optional) +bigpatch -> Fix fuer Audio/Video Repacker +�nderungen an x-vdr.sh, x-vdr.conf, functions, install-vdr.sh und runvdr +runvdr -> Fix fuer KEYB_TTY="" (Danke an wundertuete@vdr-portal fuer die Meldung) +Neues Plugin: ttxtsubs-0.0.5 +Update auf graphtft-0.0.12 +Update auf vdradmin-am-3.5.0rc + +05.11.2006 x-vdr-0.7.7 +Update auf vdr-1.4.4 mit bigpatch (bp-33.15) + api + settime + lnb sharing (optional) +install-vdr.sh -> update auf vdr-1.4.4 und autopatch fuer submenu-plugin +functions -> Fix fuer make_autostart (Fehler bei vdradmin-am) +epgsearch-plugin -> Fix f�r graphtft-patch +graphtft-plugin -> Patch fuer VDR umbenannt +radio-plugin -> Hintergrundbild wird jetzt aus den Plugin-Sourcen kopiert + +19.11.2006 x-vdr-0.7.8 +Update auf vdr-1.4.4 mit bigpatch (bp-33.16) + lnb sharing (optional) +- bzw. auf vdr-1.4.4 mit vdr-1.4.4_extensions.diff (alle Patche optional) +bigpatch -> Settime-Patch, Update auf liemikuutio-1.13, Fix fuer AV-Repacker +x-vdr.sh -> Test ob dialog installiert ist und /bin/sh auf /bin/bash zeigt + -> Neue Funktion "Konfiguration speichern" in "Einzelnes Plugin bearbeiten"... + -> Neue Backup-Funktion + -> Neue Patchlevel-Funktion +vdradmin -> VDRUSER darf jetzt in /etc/vdradmin schreiben +Plugin-Updates: +- extrecmenu-0.12a +- graphtft-0.0.14 +- remote-0.3.8 +- ripit-0.0.2 +- softdevice-0.3.1 +- xineliboutput-1.0.0pre6 +Utilitie-Updates: + - em8300-snapshot-20061117 + - vdradmin-am-3.5.0 + +21.11.2006 x-vdr-0.7.9 +apt.sh -> Fix fuer libfaad2-dev +bigpatch (bp-33.17) -> Fix fuer DVDCHAPJUMP +install-vdr.sh -> Fix fuer BIGPATCH mit DVDCHAPJUMP +-x-vdr.sh -> Plugin Funktion ueberarbeitet +Plugin-Updates: + - text2skin-1.1-cvs_ext-0.9a (mit DeepBlue und Neu: Enigma-0.4pre8) + +12.12.2006 x-vdr-0.7.10 +Update auf vdr-1.4.4-2 mit bigpatch (bp-33.18) + lnb sharing (optional) +- bzw. auf vdr-1.4.4-2 mit vdr-1.4.4_extensions.diff (alle Patche optional) +Total viele neue Plugins (Danke f�r die Vorarbeit an wino@vdr-portal) +Diverse kleinere Bugs behoben und gaaanz viel geaendert!! +intern: +Bei der ersten Installation werden durch die apt.sh jetzt nur noch Pakete installiert die wirklich fehlen. Wenn es sich vermeiden laesst, werden keine Pakete aktuallisiert. Im System Menu kann aber mit Punkt '4' 'System aktualisieren (apt.sh)' eine Aktuallisierung aller in der apt.sh eingetragenen Pakete durchgefuehrt werden. +Der Forschrittsbalken f�r die Plugin-Vorbereitungen ist raus geflogen. Die Funktionen zum erstellen der Plugins sind in ein eigenes Skript (plugins.sh) gewandert. Damit koennen die Plugins in nur einem rxvt Fenster erstellt werden und eine uebersichtliches Logging ist m�glich. +kanotix: +getestet mit kanotix-2006-01-RC4 (KANOTIX-2006-01-RC4.iso) +parsix: +getestet mit parsix-0.85-2 (parsix_085-test-2.iso) +ubuntu: +getestet mit ubuntu-6.10 (ubuntu-6.10-desktop-i386.iso) + +17.12.2006 x-vdr-0.7.11 +EXTENSIONS ist jetzt das Default-Patchlevel +Update auf vdr-extensions.diff Version 3 (jetzt mit noepgmenu-plugin) +Update auf vdr-reelchannelscan-0.4.0 +Update auf vdr-xine-0.7.10 (mit xine-lib-1.1.3) +Downgrade zu vdr-burn-0.1.0-pre21 mit 90_i18n-fix.patch +Doppelten mplayer Eintrag in der x-vdr.conf entfernt + +23.12.2006 x-vdr-0.7.12 +Ein paar interne Aenderungen und ... +Plugin-Updates: +- vdr-atmo-0.1.1 +- vdr-mousemate-0.1.3pre4 +- vdr-xineliboutput-cvs-20061223 + +31.12.2006 x-vdr-0.7.13 +Update des VDR-Extensions Patch auf Version 4 (jetzt mit cuttime-vdr-1.4.0.diff) +Update auf vdr-radio-0.2.0 +Fix fuer vdr-streamplayer-0.1.3 +News: +# x-vdr laeuft nun auch mit sidux +# vdrplayer ersetzt vdrxine und kann jetzt zum starten von xine, xine-network, vdr-sxfe (xineliboutput), ShmClient (softdevice) oder tvtime (FF-Karte) benutzt werden. Das Skript kann auch einen X Server starten. Damit das auch der vdruser darf, habe ich bei mir in /etc/X11/Xwrapper.config "allowed_users" auf "anybody" gesetzt (allowed_users=anybody). In x-vdr/extra liegt ein Desktop-Button fuer den vdrplayer. Um zB tvtime aus dem OSD zustarten, um auf dem Projektor einen Film zu schauen, kann ein Eintrag in die commands.conf eingefuegt werden: +- Tvtime starten? : echo "/usr/bin/vdrplayer --player tvtime"|at now +- Tvtime beenden? : echo "/usr/bin/vdrplayer --exit"|at now +- Tvtime und X-Server beenden? : echo "/usr/bin/vdrplayer --killall"|at now +Der Eintrag kann aber auch fuer zB Xine benutzt werden, dann allerdings nur zum neustarten :) +- VDR Player neustarten? : echo "/usr/bin/vdrplayer --player xine"|at now +oder fuer vdr-sxfe: +- VDR Player neustarten? : echo "/usr/bin/vdrplayer --player vdr-sxfe --ip 127.0.0.1"|at now +# nvram-wakeup kann jetzt (endlich) auch mit grub eingesetzt werden. +Dafuer muessen die neuen Versionen von vdr2root, vdrshutdown und shutdown.conf verwendet werden! +In vdr2root wird "grub-set-default 2" ausgeloest. Der Eintrag in /boot/grub/menu.lst muss also der dritte sein (Zaehlweise dort ist 0,1,2) oder vdr2root muss angepasst werden. +Falls der VDR mit dem "halt" nicht aufwacht (wie bei mir), kann eventuell ein poweroff-kernel helfen. Dazu den Kernel am besten nach /boot kopierern und den Eintrag in /boot/grub/menu.lst ensprechend anpassen: +title Poweroff +root (hd0,0) +savedefault 0 +#kernel /boot/bzImage.2.6.9.poweroff root=/dev/hda1 ro quiet +halt + +03.01.2007 x-vdr-0.7.14 +Die em8300-module und das dxr3-plugin laufen jetzt mit sidux ... +utilitie.sh fuer em8300 ueberarbeitet und das laden der Module aus der runvdr genommen +Erste Gehversuche mit tvmovie2vdr und vdrconvert +Neues Plugin: +- vdr-pvrinput-0.1.1 (da ich keine passende Hardware habe, konnte ich die Funktion nicht testen) +Plugin Updates: +- vdr-dxr3-0.2.7-cvs +- vdr-extrecmenu-0.12c +- vdr-image-0.2.7 +- vdr-mousemate-0.1.3 +- vdr-tvtv-0.3.2 + +05.01.2007 x-vdr-0.7.15 +Update auf vdr-1.4.4-3 mit VDR-Extensions Patch v6 (alle Patche optional) +- bzw. auf vdr-1.4.4-3 mit Bigpatch (bp-33.19) + lnb sharing (optional) +Neues Plugin: vdr-setup-0.3.1 (Das Plugin ist nicht konfiguriert. Wird das Plugin augewaehlt, wird das Submenu-Plugin abgeschaltet.) +Neue Komandos beim vdrplayer (--reset, --help und --version) + +07.01.2007 x-vdr-0.7.16 +Update auf vdr-1.4.5 mit VDR-Extensions-Patch-8 (alle Patche optional) +- bzw. auf vdr-1.4.5 mit Bigpatch (bp-33.20) + lnb sharing (optional) +Plugin Updates: + - vdr-pin-0.1.5 +Plugin Konfiguration -> jetzt koennen auch die "zweit-plugins" wie streamdev-client oder mplayer konfiguriert werden. +setup-plugin -> neue Konfiguration (die sysconfig muss selber in die runvdr eingebunden werden), Patch gegen die fehlenden Plugins in der Pluginauswahl + +08.01.2007 x-vdr-0.7.17 +Update auf VDR-Extensions-Patch-9 +Im Paket ist jetzt noch eine zweite Version des VDR-Extensions-Patch, angepasst an die neue VDR Developer Version 1.5.0 +Ganz kleine �nderung am Patch f�r das neue Setup-Plugin + +10.01.2007 x-vdr-0.7.18 +Update auf VDR-Extensions-Patch-11 -> TimerMenu, SwitchTimer, ValidInput + +13.01.2007 x-vdr-0.7.19 +Fehlenden Eintrag f�r DOLBYINREC im Patchlevel Men� erg�nzt. +Plugin Updates: +- vdr-avolctl-0.3b +- vdr-pin-0.1.5a + +17.01.2007 x-vdr-0.7.20 +Update auf VDR-Extensions-Patch-12 -> CutterBandwidthLimit & CutterQueue_and_CutterAutoDelete & LiveBuffer ... +Update auf Bigpatch 33.21 -> kleinere Fixes +Plugin Updates: +- vdr-admin-0.6.0 +- vdr-extb-0.2.14 +- vdr-femon-1.1.1 +- vdr-graphtft-0.0.15 +- vdr-pin-0.1.5b +- vdr-streamdev-snapshot-20070117 +- vdr-xineliboutput-1.0.0pre7 + +23.01.2007 x-vdr-0.7.21 +Update auf VDR-Extensions-Patch-13 -> update auf sortrec_v3 & optrename-1.13, fix fuer graphtft, Aenderung am Make.config.template +epgsearch -> patch fuer das pin-plugin aktualisiert + +27.01.2007 x-vdr-0.7.22 +Update auf VDR-Extensions-Patch-14 -> livebuffer, jumpplay und subtitles funktionieren nun auch zusammen, neu dabei ist der dvbplayer5 patch +Update auf vdradmin-am-3.5.3 +osdpip -> Patch beigelegt der das automatische schliessen des PIP verhindert + +11.02.2007 x-vdr-0.7.23 +Update auf vdr-1.4.5-1 mit VDR-Extensions-Patch-19 +Der Bigpatch wird nicht mehr unterstuetzt. +Update auf +- vdr-epgsearch-0.9.20 +- vdr-extrecmenu-0.13 +- vdr-graphlcd-0.1.4 (graphlcd-base) +- vdr-graphtft-0.0.16 +- vdr-pin-0.1.7 +- vdr-subtitles-0.5.0 +- vdr-touchtft-0.0.3 +- vdr-tvtv-0.3.3 +- vdr-vompserver-0.2.6 +- vdr-wirbelscan-0.0.2 + +13.02.2007 x-vdr-0.7.24 +Update auf VDR-Extensions-Patch-20 +Kleine Aenderung an der x-vdr.sh +Fix fuer audiorecorder +Fix fuer vdrrip + +22.02.2007 x-vdr-0.7.25 +Update auf VDR-Extensions-Patch-22 +Neu: skinenigmang-0.0.2 +Update auf dvd-snapshot-20070222 +Update auf streamdev-snapshot-20070221 +Update bei em8300 und dem dxr3-plugin +Update beim mplayer-skin und der mplayer.sh (0.8.7) + +11.03.2007 x-vdr-0.7.26 +Update auf vdr-1.4.6 mit VDR-Extensions-Patch-23 +Update auf vdr-skinenigmang-0.0.3 +Update auf vdr-graphlcd-0.1.5 (mit graphlcd-base-0.1.5) +Update auf lcdproc-0.5.1 +Fix fuer xine_lib mit neuem Patch fuer xine_ui +Neues Menu zum Installieren der DVB-Firmware und ein paar kleinere Aenderungen... + +19.03.2007 x-vdr-0.7.27 +Aenderungen am Firmware-Menu +Die Extensions-Patche sind jetzt in einem eigenen Verzeichnis abgelegt. Patche aus diesem Verzeichnis, die auf vdr-$VDRVERSION-ext*_*.diff passen, werden nach dem Extensions-Patch ausgefuehrt. +Dual-Installation entfernt +Fix fuer vdrshutdown +epgsearech - E-Mail Benachrichtigung +xine-lib -> patch gegen "xine: pcm.c:933: snd_pcm_state: Assertion `pcm' failed." eingebaut +Update von fussball zu sport-0.0.1 +Updates bei: +filebrowser-0.0.6b +span-0.0.4 +softdevice-snapshot-20070319 +xineliboutput-1.0.0rc1 +und diverse Plugins an vdr-1.5.1 angepasst + +Neue Plugins: +vdr-arghdirector-0.2.6a +vdr-epgsync-0.0.2 +vdr-remoteosd-0.0.2 +vdr-remotetimers-0.0.1 +vdr-remoteosd-0.0.2 +vdr-svdrpext-0.0.1 +vdr-svdrpservice-0.0.3 +vdr-vcd-0.7 + +01.04.2007 x-vdr-0.7.28 +Update auf VDR-Extensions-Patch-24 +Update auf lirc-0.8.1 +Plugin-Updates auf: +- softdevice-snapshot-20070330 +- span-0.0.5 +- toutchtft-0.0.4 +Neuer span-patch fuer graphlcd +Neuer Patch f�r mp3ng (ersetzt alle anderen Patche) + +23.04.2007 x-vdr-0.7.29 +Update auf VDR-Extensions-Patch-25 +Anpassungen in der apt.sh +Fix f�r utilities/ffmpeg +Neues Skript zum starten von projectx +Neues Plugin music-0.1.0_wip +Neues Plugin vdrtvtime-0.0.1e +Update auf skinenigmang-0.0.4 +Update auf softdevice-0.4.0 + +02.05.2007 x-vdr-0.7.30 +Update auf vdr-1.4.6-1 mit VDR-Extensions-Patch-26 +apt.sh fuer ubuntu/feisty angepasst +vdrplayer fuer vdrtvtime ergaenzt +Utilitie Updates auf... +- MPlayer-1.0rc1 +- vidix-1.0.0 +Plugin Updates auf... +- admin-0.6.2 +- alcd-1.2.2 +- epgsearch-0.9.21 +- skinsoppalusikka-1.0.4 +Plugin Erweiterungen bei ... +extrecmenu-0.13 -> MainMenuHooks +image-0.2.7 -> Bilder mit anderen Plugins angezeigen +submenu-0.0.2 -> asprintf Patch +muggle-0.1.11 -> image_convert.sh +music-0.1.0_wip -> Patch fuer vdr-1.5.2 +vdrtvtime-0.0.1e -> Patch fuer vdr-1.5.2 + +13.05.2007 x-vdr-0.7.31 +Update auf vdr-1.4.7 mit VDR-Extensions-Patch-27 +REPLACEMENUS aus der install-vdr.sh entfernt und die neuen Patche des Ext27 eingebaut +Update auf digicam-1.0.2 (das Plugin laesst sich z.Z. trotzdem nicht uebersetzen) +Update auf vdr-text2skin-1.1-cvs_ext-0.10-patched-20070513 + +13.05.2007 x-vdr-0.7.32 +Update auf VDR-Extensions-Patch-28 + +11.06.2007 x-vdr-0.7.33 +Update auf VDR-Extensions-Patch-30 +Utilitie Updates auf... +- xine-lib-1.1.6 +Plugin Updates auf... +- burn-0.1.0-cvs20070530 +- epgsearch-0-9.22 +- femon-1.1.3 +- graphtft-0.0.20 +- music-0.2.0 (mit coverviewer und picselshow) +- pin-0.1.9 +- reelchannelscan-0.4.3 +- skinenigmang-0.0.5rc2 +- span-0.0.6 +- streamdev-20070509 +Neue Plugins ... +- avards-0.1.1-beta2 +- live-0.1.0-cvs20070607 +- loadepg-0.1.9 + +24.06.2007 x-vdr-0.7.34 +Update auf VDR-Extensions-Patch-32 +Plugin Updates auf... +- dxr3-0.2.7 (mit em8300-0.16.2) +- epgsearch-0.9.23-beta1 +- graphtft-0.1.3.alpha (mit neuen Patches fuer epgsearch und extrecmenu) +- mp3-0.10.0 +- spider-0.1.4 +- diverse Patches fuer vdr-1.5.5 + +08.07.2007 x-vdr-0.7.35 +Update auf VDR-Extensions-Patch-34 +Kleine Aenderungen an burn-bc, runvdr und vdr2root +Mehr Plugin-Patches fuer vdr-1.5.5 +Plugin Updates auf... +- graphtft-0.1.5.alpha +- mousemate-0.1.4pre1 +- skinenigmang-0.0.5 +- taste-cvs20070626 +Downgrade auf text2skin-1.1-cvs_ext-0.10 +Neu dabei ist fritzbox-0.0.4 + +11.11.2007 x-vdr-0.7.36 +vdr-1.4.7 oder vdr-1.5.11 mit VDR-Extensions-Patch-37 +Die Pluginliste in der runvdr und die Menues zum Auswaehlen der Plugins werden jetzt dynamisch erstellt. +So vereinfacht sich das Einbinden neuer Plugins und es ist ausreichend, ein Verzeichnis (mit angepasster plugin.sh) zu erstellen. Danach sollte das neue Plugin im x-vdr Menue zur Auswahl stehen. +Zum konfigurieren des VDRs ueber das OSD ist ein neues Skript "vdrsetup" im Paket. vdrsetup laeuft mit dem osdserver-plugin und benoetigt einen Eintrag in der sudoers. +Es ist jetzt aber auch moeglich, die sysconfig des setup-plugins in der runvdr zu laden und die Konfiguration des VDRs ueber das Plugin vorzunehmen. +Dazu gibt es noch ein paar kleinere Erweiterungen, so kann zB die VDR Version im Installations Menue geaendert werden, LANG kann in der x-vdr.conf definiert werden, usw... + +Plugin Updates auf... +- avards-0.1.1 +- epgsearch-0.9.24-beta6 +- extrecmenu-1.1 +- femon-1.1.4 bzw. femon-1.2.2 +- fritzbox-0.0.8 +- graphtft-0.1.9.alpha +- iptv-0.0.4 (neu) +- mailbox-0.5.0 +- menuorg-0.3 (neu) +- mlist-0.0.4 +- mp3-0.10.1 +- osdserver-0.1.1 +- pilot-0.0.9 +- pilotskin-0.3.0 +- premiereepg-0.0.8 +- pim-0.0.7-rc2 +- radio-0.2.4 +- remote-0.4.0 +- skinenigmang-0.0.5 (cvs 20071024) +- skinsoppalusikka-1.0.5 bzw. skinsoppalusikka-1.1.2 +- spider-0.2.0 +- streamplayer-0.1.4 +- vompserver-0.2.7 +- weatherng-0.0.8-pre3 +- wirbelscan-0.0.3_20070903 +- xine-0.8.0 +Utilitie Updates auf... +- vdradmin-am-3.6.0 +- xine-lib und xine-ui aus dem cvs (2007-08-29) + +15.11.2007 x-vdr-0.7.37 +Erweiterung fuer ttxtsubs und volctrl im VDR-Extensions-Patch-38 +Plugin Updates auf... +- fritzbox-0.0.9 +- ttxtsubs-0.0.5-raastinrauta-edition (nur vdr-1.5.11) + +25.11.2007 x-vdr-0.7.38 +Update auf vdr-1.4.7/1.5.12 mit VDR-Extensions-Patch-40 +Plugin Updates auf... +- graphtft-0.1.13.alpha +- live-0.1.0-cvs20071124 +- noepgmenu-0.0.wareagle +Utilitie Updates auf... +- em8300-cvs20071122 +- lirc-0.8.2 +- MPlayer-1.0rc2 +Neue Version des vdrsetup Skript. + +16.12.2007 x-vdr-0.7.39 +Update auf vdr-1.4.7 mit VDR-Extensions-Patch-41 und shutdown-rewrite.patch bzw.vdr-1.5.12 mit VDR-Extensions-Patch-41 +Plugin Updates auf... +- avards-0.1.2 +- epgsearch-0.9.24-beta14 +- ffnetdev-svn20071205 +- graphtft-0.1.16.alpha +- menuorg-0.3.1 +- xineliboutput-1.0.0rc2-cvs20071128 +... und neu dabei... +- exec-0.0.2 +Skript... +- kleinere korrekturen an functions, x-vdr.sh ... +- apt.sh an das neue sidux angepasst +- fix fuer runvdr +- neue version des vdrsetup +- und vertify ist jetzt verify :) + +13.01.2008 x-vdr-0.7.40 +vdr-1.4.7 + shutdown-rewrite.patch + VDR-Extensions-Patch-43 +vdr-1.5.13 + VDR-Extensions-Patch-43 +Plugins... +- clock-0.0.8 +- fritzbox-0.0.10 +- live-0.1.0-cvs20071217 +- muggle-0.1.12 +- pim-0.0.8 +- recstatus-0.0.8-beta1 +- setup-0.3.1-zulu-edition +- skinenigmang-0.0.5+cvs20080111 +- vcd-0.8 +- vodcatcher-0.1.1-2 +- xine-0.8.1 +- xineliboutput-1.0.0rc2-cvs20080104 +Utilities... +- lirc-0.8.3pre1 +- vdradmin-am-3.6.1 +- xine-lib-1.1.9 und xine-ui-cvs-20080101171600 +Skript... +- Anpassungen an sidux 2007-04.5 - christmas special +- kleinere korrekturen an apt.sh, functions, x-vdr.sh ... +- neue runvdr & vdrsetup + +27.01.2008 x-vdr-0.7.41 +vdr-1.4.7 + shutdown-rewrite.patch + VDR-Extensions-Patch-45 +vdr-1.5.13 + VDR-Extensions-Patch-45 +vdr-1.5.14 + api-emulate-0.1.diff + VDR-Extensions-Patch-45 +- Wer passende Treber fuer dvbs2 installiert hat kann x-vdr/vdr/extensions/api-emulate-0.1.diff loeschen +VDR vom submenu-patch auf den setup-patch umgestellt +- channellists-0.0.4 +- cinebars-0.0.5 +- femon-1.1.5 / 1.2.3 +- iptv-0.0.6 +- rssreader-1.0.3 / 1.1.3 +- setup-0.3.1-zulu-edition (new) +- skinsoppalusikka-1.0.6 / 1.1.4 + +28.01.2008 x-vdr-0.7.42 +Neues Untermenue "DVB Treiber und Firmware" +fuer v4l-dvb, multiproto und Frimware +Make.config angepasst (install-vdr.sh) +install-dvb-bs.sh aktualisiert, danke an Moorviper@vdr-portal fuer den Link +Plugins... +- clock-0.0.10 +- chanman-0.0.6 + +03.03.2008 x-vdr-0.7.43 +vdr-1.4.7 + shutdown-rewrite.patch + VDR-Extensions-Patch-46 +vdr-1.5.17 + VDR-Extensions-Patch-48 +xine-lib-1.1.10.1 +diverse fixes und ein paar Plugin updates + +03.03.2008 x-vdr-0.7.44 +vdr-1.5.17 + VDR-Extensions-Patch-49 + +03.03.2008 x-vdr-0.7.45 +vdr-1.5.17 + VDR-Extensions-Patch-50 +patch fuer osdserver mit vdr >= 1.5.15 beigelegt + +11.03.2008 x-vdr-0.7.46 +vdr-1.5.17 + VDR-Extensions-Patch-52 +xine-lib + xine-ui cvs-20080310200000 +xine-0.8.2 +diverse fixes und ein paar Plugin updates + +06.04.2008 x-vdr-0.7.47 +Update auf vdr-1.6.0 + VDR-Extensions-Patch-57 +fix fuer ffmpeg-svn +diverse fixes, Plugin updates und ... + +15.04.2008 x-vdr-0.7.48 +Update auf vdr-1.6.0-1 + VDR-Extensions-Patch-59 +Neu: vdr-1.7.0 + VDR-Extensions-Patch-59 +diverse Anpassungen, Plugin updates und ... + +17.04.2008 x-vdr-0.7.49 +Link fuer vdr-1.6.0 gefixed +vdr-1.7.0-dvb-api-wrapper-0.3.diff wird jetzt automatisch ausgefuehrt + +21.04.2008 x-vdr-0.7.50 +Fix fuer api-wrapper-patch (Patch wird nur noch angewendet wenn DVB_API_VERSION_MINOR < 3) +Fix fuer xinelibout (libextractor-dev in apt.sh und Patch fuer xine-lib) +Update auf vdrplayer 0.0.4 + +24.04.2008 x-vdr-0.7.51 +Anpassungen an sidux-2008-01 +multiproto gefixed +vdr-1.7.0-ext59_h264.diff beigelegt +- um den vdr-1.7.0 mit h264 Unterstuetzung zu kompilieren muss der Patch nach x-vdr/vdr/extensions kopiert werden + und vorher der multiproto-treiber installiert werden +functions - make_plugin macht jetzt anstatt des 'make plugins' ein 'make all' im Plugin Verzeichnis + +26.04.2008 x-vdr-0.7.52 +Neues dvb-menu mit v4l-dvb, multiproto, multiproto_plus und firmware +xine-lib kommt jetzt aus dem HG +xine-lib kann jetzt wieder mit --with-external-ffmpeg erstellt werden +Fix fuer mplayer mit selbst uebersetzten DVB-Treibern +apt.sh an ubuntu angepasst +und diverse Anpassungen... + +30.04.2008 x-vdr-0.7.53 +Update auf VDR-Extensions-Patch-60 +Fix für xine-lib-hg mit ubuntu (apt.sh - libdts-dev auskommentiert) +Fix für xineliboutput (unter bestimmten Umstaenden wurde xineplug_inp_xvdr.so nicht installiert) +Beim mplayer wird jetzt immer der aktuelle snapshot installiert +/usr/local/src/vdr-1.*.* wird nur noch geloescht wenn alte und neue VDR Version identisch sind +und diverse andere Anpassungen... + +09.05.2008 x-vdr-0.7.54 +Update auf VDR-Extensions-Patch-61 +Bei der Auswahl von vdr-1.7.x wird nun abgefragt ob die multiproto Treiber installiert werden sollen. +Installations-Skripte fuer DVB-Treiber ueberarbeitet. +Update auf lirc-0.8.3pre3 +Es werden keine Sourcen mehr von gentoo.fh-luh.de/files geladen +vdrshutdown und vdrsetup erweitert +und diverse andere Anpassungen... + +19.06.2008 x-vdr-0.7.55 +Update auf vdr-1.6.0-2 / vdr-1.7.1 und VDR-Extensions-Patch-63 +Diverse Plugin Updates +Fixes bei einigen Skripten +Neue Version des vdrsetup Skript + +14.01.2009 x-vdr-0.8.0 +VDR-Versionen kleiner 1.6.0 werden nicht mehr unterstuetzt +Anpassungen an sidux-2008-04 +Update auf vdr-1.6.0-2 / vdr-1.7.2 und VDR-Extensions-Patch-65 +Updates bei den Plugins und Utilities +Bei der Auswahl von vdr-1.7.2 wird nun abgefragt ob die v4l-dvb Treiber installiert werden sollen. + +28.01.2009 x-vdr-0.8.1 +VDR-Extensions-Patch-66 für +- vdr-1.6.0-2 +- vdr-1.7.2 (es kann sein, das das ein oder andere Plugin noch nicht läuft) +- vdr-1.7.4 (diverse Plugins laufen noch nicht, ohne Livebuffer, Ttxtsubs, Syncearly usw.) +Die meisten 'utilities' werden jetzt mit checkinstall installiert. +Können also mit dpkg oder apt wieder entfernt werden. +Damit das Auflösen der Abhängigkeiten funktioniert wurde die apt.sh angepasst. +ffmpeg und x264 werden bei der Erstinstallation (falls aktiviert) aus der apt.sh herraus installiert. +apt_install und apt_remove in der functions repariert. +install.sh und sd_vdrversion in x-vdr.sh überarbeitet. +- DVB-Api Test und zuordnen der richtigen Patche sollte jetzt stabiler funktionieren. +- DVB Symlink wird nur noch bei selbst installierten Treibern erstellt. +- Make.config für die Plugins geändert: "DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" +Plugin und Utilitie Updates gab es auch ein paar... + +16.02.2009 x-vdr-0.8.2 +Getestet mit sidux-2009-01 +Update auf VDR-Extensions-Patch-67 +Die neuen DEFINES in der Make.config werden nur noch mit vdr >= 1.7.3 angewendet. +Unterstützung für vdr-1.7.0 mit H264 und S2 eingebaut. +mplayer.sh angepasst. +Neue Treiber: liplianindvb (laesst sich mit sidux-2009-01 nicht übersetzen) und s2-liplianin. +Neue 'Autostart-Funktion' fuer Xserver und Player +vdrsetup 0.0.8 - Setup für 'Autostart-Funktion' eingebaut. + - Installieren eines Plugins muss jetzt mit 'Ok' bestätigt werden. +xineliboutput-1.0.4 geht jetzt auch mit vdr-1.7.4 +Patches für vdr-1.7.2 raus genommen. +Eine Abfrage, ob der VDR mit HDTV-Unterstützung erstellt werden soll, gibt es nicht mehr. +So stehen noch vdr-1.6.0-2-ext, vdr-1.7.0-ext-h264-s2 und vdr-1.7.4-ext zu Auswahl. +Bugfix: Utilities wurden installiert, obwohl sie nicht aktiviert waren. + +04.03.2009 x-vdr-0.8.3 +Update auf VDR-Extensions-Patch-68 +Make.config erweitert ( DEFINES += -D__KERNEL_STRICT_NAMES ) +Plugins: +- updates für xineliboutput, vodcatcher, ... +- bei einem Update werden die Dateien für die VDR-Config nicht mehr überschrieben ( music, setup, etc. (noch nicht komplet!)) +Utilities: +- xine-vdpau ist jetzt voreingestellt (in der utilitie.sh kann auf auf hg oder die Version von rnissl gewechselt werden ) +- die erstellten deb-files werden jetzt im Verzeichnis des jeweiligen Utilitie gesichert +- utilitie.sh für mplayer angepasst +- utilitie.sh für x264 angepasst +- v4l-dvb wird gepatched, damit sich mplayer und Co übersetzen lassen +Diverse kleinere Anpassungen... + +05.03.2009 x-vdr-0.8.4 +ffmpeg-svn - Test für die Optionen beim 'configure' eingebaut. +burn-plugin - mit allen verfügbaren Patches eine neue Version zusammen geschustert. + +11.03.2009 x-vdr-0.8.5 +Neuer Sidux Mirror in der apt.sh +Make.config DEFINES für tvm2vdr geändert +xineliboutput aus dem cvs +Diverse Plugin updates (audiorecorder, iptv, vdrrip, ...) + +11.03.2009 x-vdr-0.8.6 +Bei xine-lib ist nun wieder die Version von rnissl voreingestellt. +Wenn ffmpeg aus dem svn installiert wird, wählt das Skript für xine automatisch die HG-Version. +xine-vdpau kann nach wie vor in der utilitie.sh aktiviert werden. +Mit vdr-1.6.0 wird xineliboutput-1.0.4 installiert, sonst die Version aus dem cvs. + +29.03.2009 x-vdr-0.8.7 +vdr-1.7.0-ext-h264-s2ng +Plugin updates +Anpassungen an ubuntu 8.10 +xine Version jetzt über das Menü wählbar + +30.03.2009 x-vdr-0.8.8 +Höhere Versions-Nummer für die ffmpeg-deb's, damit Abhängige Pakete installiert werden können. + +13.04.2009 x-vdr-0.8.9 +Update auf vdr-1.7.5 +Extensions-Patch 70 mit (vdr-1.7.0-ext-h264-s2ng-speedup) +v4l-dvb von Oliver Endriss. +Firmwaremenü mit dvb-ttpci-01.fw-fe2624 erweitert +Backup-Funktion überarbeitet. +xine-0.9.1 mit neuer xine-lib und xine-ui +Für vdr-1.7.0 wird jetzt wieder xineliboutput-1.0.4 installiert +Fix für rotor-plugin mit s2api? + diff --git a/docs/README b/docs/README new file mode 100644 index 0000000..3cd4439 --- /dev/null +++ b/docs/README @@ -0,0 +1,173 @@ +# x-vdr (Installations-Skript fuer einen VDR mit Debian als Basis) +# von Marc Wernecke - www.zulu-entertainment.de +# 05.03.2009 + +x-vdr ist ein interaktives Installations-Skript fuer einen VDR (Video Disk Recorder) mit Debian als Basis. + +Dieses Skript steht ausschliesslich fuer die private, nicht kommerzielle Nutzung zur Verfuegung. +Das Benutzen geschieht auf eigene Gefahr und es wird keine Haftung fuer Schaeden an Mensch oder Computer uebernommen. + +Viele Anregungen fuer das Skript stammen aus dem VDR-Wiki (http://www.vdr-wiki.de) +und von Mitgliedern des VDR-Portal (http://www.vdr-portal.de). + +Der VDR ist von Klaus Schmidinger (http://www.cadsoft.de/people/kls/vdr/) + +Die Plugins und Utilities sind von vielen, vielen lieben Leuten, die ihre Freizeit opfern, +damit wir so tolle Sachen mit unseren Computern machen koennen. + +Fuer Tests mit diesem Skript empfehle ich eine frische Installation einer aktuellen Debian-Distribution. +Mein Favorit dabei ist Sidux (http://www.sidux.com) + +Der notwendige Sourcecode fuer den VDR, die Plugins sowie für einige Utilites wird während der Installation aus dem Internet geladen +und auf der Festplatte (innerhalb des x-vdr Verzeichnisses) abgelegt. + +Alles was sonst noch notwendig ist (je nach Distribution 50-100 MB), wird mittels apt-get installiert. + +HaveFun + + + +STRUKTUR: +***************************************************** +Das Start-Skript ist x-vdr.sh. x-vdr.sh ruft alle andern Skripte auf. +Konfiguriert wird das ganze in x-vdr.conf und den einzelnen Skripten. +Das Setup-Menu legt eine eigene Konfigurations-Datei (setup.conf) an. +Die Skripte lesen erst die Konfigurations-Dateien und dann die Funktionen ein. +/x-vdr/x-vdr.sh +|-> /x-vdr/x-vdr.conf +|-> /x-vdr/setup.conf +|-> /x-vdr/functions + +Bei einer Erstinstallation werden die Skripte in dieser Reihenfolge aufgerufen: +/x-vdr/x-vdr.sh +|-> /x-vdr/apt.sh +|-> /x-vdr/vdr/install-vdr.sh +|-> /x-vdr/utilities/xxx/utilitie.sh +|-> /x-vdr/plugins/xxx/plugin.sh + +In apt.sh gibt es u.a. eine kick-liste, in der stehen Programme die entfernt werden. +Also mal einen Blick rein werfen ;) +Die apt.sh braucht nur bei der ersten Installation mitgestartet werden. +Bei einem Update des VDR wird die apt.sh nicht mehr aufgerufen. +Ganz Abgeschaltet werden kann sie in der x-vdr.conf mit APT=off + +Moegliche Parameter fuer x-vdr.sh sind: +--dir|-d /path/to/x-vdr -> Muss als erster Parameter uebergeben werden! + Gefolgt von einer Pfadangabe zum x-vdr Verzeichnis +--config|-c -> VDR wird nicht beendet (funktioniert nicht zusammen mit --install) +--install|-i -> entfernt alten vdr und startet eine direkte Installation +--no-xdialog|-n -> dialog verwenden +--xdialog|-x -> Xdialog verwenden +--help|-h -> Zeigt was du siehst und beendet x-vdr +--version|-v -> Zeigt die Versionsnummer und beendet x-vdr + +Einzelne Parameter muessen duch eine Leerstelle getrennt werden. + +In /usr/local/src wird ein Symlink "x-vdr" auf das x-vdr Verzeichnis angelegt. +Weiter wird in /usr/local/bin ein Symlink "x-vdr" auf x-vdr.sh angelegt. +Damit ist es moeglich, x-vdr ab dem zweiten Aufruf mit dem Befehl "x-vdr" zu starten. + + +INSTALLATION: +***************************************************** +# in den Superusermode wechseln wenn Du nicht als root angemeldet bist. +su +# neuste Version laden +wget http://www.zulu-entertainment.de/page/klick.php?d=x-vdr +# auspacken +tar xvfz x-vdr-*.tar.gz +# In das x-vdr Verzeichnis wechseln +cd x-vdr +# Skript ausfuehrbar machen +chmod 755 x-vdr.sh +# Eventuell die Konfiguration aendern. Alles wichtige kann aber auch im Setup-Dialog eingestellt werden. +mcedit x-vdr.conf +# Installation starten +./x-vdr.sh + +Das Informations Fenster mit OK schliessen. +Dann im "Startmenu" Punkt 1 (Interaktive Installation) waehlen. +Einstellungen vornehmen und Installation starten. + +Waerend apt-get das System aktualisiert muessen einige Fenster bedient werden. +Danach kann das Script unbeaufsichtigt arbeiten... + +Und bitte MIT VISUDO DIE SUDOERS BEARBEITEN!!! +Mehr dazu steht weiter unten. + + +USER: +***************************************************** +Wird x-vdr mit seinen standard Einstellungen ausgefuehrt, legt das Skript +einen neuen Benutzer "vdruser" und eine neue Gruppe "vdrgroup" an. +Weiter traegt es diesen Benutzer und die Gruppe in /etc/default/vdr ein. +VDRUSER="vdruser" +VDRGROUP="vdrgroup" + +Das VDR-Start-Skript "runvdr" liest /etc/default/vdr und startet den VDR dann als User "vdruser". +Da aber einige Funktionen nur als root ausgefuehrt werden duerfen, wird noch das extra Skript "vdr2root" benoetigt. +Es liegt nach der Installation in /usr/lib/vdr/scripts. Wer es sich vorher mal ansehen will, findet es in /x-vdr/vdr/scripts. + + +VISUDO: +***************************************************** +Damit der VDR ohne Root-Rechte funktioniert muss "vdr2root" in die /etc/sudoers eingetragen werden. +"vdrsetup" ist ein Skript zum Verwalten des mit x-vdr installierten VDRs (das osdserver plugin wird benoetigt). +"vdrmount" wird von diversen Plugins zum Einbinden der Laufwerke benutzt. +Dann muss noch /bin/ln fuer dvdselect oder dvdswitch mit dazu. + +Kurze Anleitung: +Als root eine Konsole oeffnen und "visudo" eingeben. + +Mit der Taste i kommt mensch in den EINFUEGEN Modus. +Mit den Pfeiltasten navigieren und den Eintrag wie folgt ergaenzen: + +# User privilege specification +root ALL=(ALL) ALL +vdruser ALL=NOPASSWD: /usr/lib/vdr/scripts/vdr2root, /usr/lib/vdr/scripts/vdrsetup, /usr/lib/vdr/scripts/vdrmount, /bin/ln + +Der Pfad zu vdr2root, vdrsetup und vdrmount muessen mit denn eigenen Angaben in der x-vdr.conf uebereinstimmen! +Mit der Taste ESCAPE wird der EINFUEGEN Modus wieder beendet. +Dann kann visudo mit der Eingabe von :wq also Doppelpunkt und w und q und Return beendet werden. +vi speichert daraufhin die Aenderungen. Soll vi beendet werden ohne die Aenderungen zu uebernehmen, kann dies mit :q RETURN +getan werden. + + +PATCHES: +***************************************************** +Im Verzeichnis vdr und in den plugins gibt es je ein Verzeichnis "patches". +Dateien mit den Endungen .bz2 , .patch und .diff die in einem solchen Verzeichnis liegen werden automatisch ausgefuehrt. + + +NEUES PLUGIN HINZUFUEGEN: +***************************************************** +Dafuer kann zB das femon-plugin als Vorlage genommen werden. + +cd /usr/local/src/x-vdr/plugins +cp -R femon NEUESPLUGIN +cd NEUESPLUGIN +mcedit plugin.sh + +In der plugin.sh folgendes anpassen: + +WEB="http://www.saunalahti.fi/~rahrenbe/vdr/femon/files/vdr-femon-0.9.8.tgz" +VERSION="femon-0.9.8" +LINK="femon" + +Falls keine extras notwendig sind war es das, und das Plugin kann mit: +./plugin.sh --make +installiert werden. Wird der Verzeichnisname von NEUESPLUGIN in die x-vdr.conf bei den Plugins +eingetragen, wird das neue Plugin beim naechsten mal gleich mit installiert. + +Moegliche Parameter fuer plugin.sh sind: +--clean|-c -> entfernt das Plugin +--install|-i -> entpackt das Plugin etc. +--make|-m -> wie --install aber das Plugin wird sofort uebersetzt +--remake|-r -> wie --clean und --install und --make +--status|-s -> 0=nicht gefunden, 1=gefunden +--version|-v -> Zeigt die Plugin-Version des Skripts + + + + + diff --git a/docs/TODO b/docs/TODO new file mode 100644 index 0000000..b8e4f0d --- /dev/null +++ b/docs/TODO @@ -0,0 +1,5 @@ +ToDo-List +- Code cleaning +- Dokumentation der Skripte und vernuenftige README schreiben +- english translation + diff --git a/docs/help.txt b/docs/help.txt new file mode 100644 index 0000000..9b4dba6 --- /dev/null +++ b/docs/help.txt @@ -0,0 +1,106 @@ +# x-vdr/docs/help.txt +# Stand: 09.02.2007 + + +ERSTE VDR INSTALLATION: +***************************************************** +Im "Startmenu" Punkt 1 (Interaktive Installation) waehlen. +Einstellungen vornehmen und Installation starten. +Waerend apt-get das System aktualisiert muessen einige Fenster bedient werden. Danach kann das Script unbeaufsichtigt arbeiten. +Erst wird der VDR installiert. Dann die Utilities. Als letztes die Plugins. + +Und bitte MIT VISUDO DIE SUDOERS BEARBEITEN!!! +Mehr dazu steht weiter unten bei VISUDO. + +****** UPDATE DES VDR: +Im "Startmenu" Punkt 1 (Interaktive Installation) waehlen. +x-vdr erkennt einen installierten VDR und bietet ein Update an. +Bei einem Update sind einige Menus abgestellt, da davon ausgegangen wird, das zB die Utilities schon installiert sind. + +****** PATCHLEVEL: +Hier kann bestimmt werden, welche Patches auf den VDR angewendet werden sollen. + +****** INSTALLATIONS MENU: +Utilities, Plugins und mehr... + +****** VDR-SETUP MENU: +Konfiguration des VDR bearbeiten. + +****** SYSTEM MENU: +Netzwerk, lilo und mehr... + +****** X-VDR PARAMETER: +Moegliche Parameter fuer x-vdr.sh sind: +--dir|-d /path/to/x-vdr -> Muss als erster Parameter uebergeben werden! Gefolgt von einer Pfadangabe zum x-vdr Verzeichnis +--config|-c -> VDR wird nicht beendet (funktioniert nicht zusammen mit --install) +--install|-i -> entfernt alten vdr und startet eine direkte Installation +--no-xdialog|-n -> dialog verwenden +--xdialog|-x -> Xdialog verwenden +--help|-h -> Zeigt was du siehst und beendet x-vdr +--version|-v -> Zeigt die Versionsnummer und beendet x-vdr + +Einzelne Parameter muessen duch eine Leerstelle getrennt werden. + +In /usr/local/src wird ein Symlink "x-vdr" auf das x-vdr Verzeichnis angelegt. Weiter wird in /usr/local/bin ein Symlink "x-vdr" auf x-vdr.sh angelegt. Damit ist es moeglich, x-vdr ab dem zweiten Aufruf mit dem Befehl "x-vdr" zu starten. + +****** USER: +Wird x-vdr mit seinen standard Einstellungen ausgefuehrt, legt das Skript einen neuen Benutzer "vdruser" und eine neue Gruppe "vdrgroup" an. Dann traegt es diesen Benutzer und die Gruppe in /etc/default/vdr ein. +VDRUSER="vdruser" +VDRGROUP="vdrgroup" + +Das VDR-Start-Skript "runvdr" liest /etc/default/vdr und startet den VDR dann als User "vdruser". +Da aber einige Funktionen nur als root ausgefuehrt werden duerfen, wird noch das extra Skript "vdr2root" benoetigt. +Es liegt nach der Installation in /usr/lib/vdr/scripts. Wer es sich vorher mal ansehen will, findet es in /x-vdr/vdr/scripts. + +****** VISUDO: +Damit der VDR ohne Root-Rechte funktioniert muss "vdr2root" in die /etc/sudoers eingetragen werden. +"vdrsetup" ist ein Skript zum Verwalten des mit x-vdr installierten VDRs (das osdserver plugin wird benoetigt). +"vdrmount" wird von diversen Plugins zum Einbinden der Laufwerke benutzt. +Zur Zeit muss noch /bin/ln fuer das dvd-select-plugin mit dazu. + +Kurze Anleitung: +Als root eine Konsole oeffnen und "visudo" eingeben. + +Mit der Taste i kommt mensch in den EINFUEGEN Modus. +Mit den Pfeiltasten navigieren und den Eintrag wie folgt ergaenzen: + +# User privilege specification +root ALL=(ALL) ALL +vdruser ALL=NOPASSWD: /usr/lib/vdr/scripts/vdr2root, /usr/lib/vdr/scripts/vdrsetup, /usr/lib/vdr/scripts/vdrmount, /bin/ln + +Der Pfad zu vdr2root muss mit denn eigenen Angaben in der x-vdr.conf uebereinstimmen! Mit der Taste ESCAPE wird der EINFUEGEN Modus wieder beendet. +Dann kann visudo mit der Eingabe von :wq also Doppelpunkt und w und q und Return beendet werden. vi speichert daraufhin die Aenderungen. Soll vi beendet werden ohne die Aenderungen zu uebernehmen, kann dies mit :q RETURN getan werden. + +****** PATCHES: +Im Verzeichnis vdr und in den plugins gibt es je ein Verzeichnis "patches". Dateien mit den Endungen .bz2 , .patch und .diff die in einem solchen Verzeichnis liegen werden automatisch ausgefuehrt. + +****** NEUES PLUGIN HINZUFUEGEN: +Dafuer kann zB das femon-plugin als Vorlage genommen werden. + +cd /usr/local/src/x-vdr/plugins +cp -R femon NEUESPLUGIN +cd NEUESPLUGIN +kedit plugin.sh + +In der plugin.sh folgendes anpassen: + +WEB="http://www.saunalahti.fi/~rahrenbe/vdr/femon/files/vdr-femon-0.9.8.tgz" +VERSION="femon-0.9.8" +LINK="femon" + +Falls keine extras notwendig sind war es das, und das Plugin kann mit: +./plugin.sh --make +installiert werden. Wird der Verzeichnisname von NEUESPLUGIN in die x-vdr.conf bei den Plugins eingetragen, wird das Neue beim naechsten mal gleich mit installiert. + +Weitere moegliche Parameter fuer plugin.sh sind: +--clean|-c -> entfernt das Plugin +--install|-i -> entpackt das Plugin etc. +--make|-m -> wie --install aber das Plugin wird sofort uebersetzt +--remake|-r -> wie --clean und --install und --make +--status|-s -> 0=nicht gefunden, 1=gefunden +--version|-v -> Zeigt die Plugin-Version des Skripts + + + + + diff --git a/extra/VDR Player.desktop b/extra/VDR Player.desktop new file mode 100644 index 0000000..0ad4c02 --- /dev/null +++ b/extra/VDR Player.desktop @@ -0,0 +1,19 @@ +[Desktop Entry] +Comment=VDR Player +Comment[de]=VDR Player +Encoding=UTF-8 +Exec=vdrplayer +GenericName=VDR Player +GenericName[de]=VDR Player +Icon=tv +MimeType= +Name=VDR Player +Name[de]=VDR Player +Path= +StartupNotify=false +Terminal=false +TerminalOptions= +Type=Application +X-DCOP-ServiceType= +X-KDE-SubstituteUID=false +X-KDE-Username= diff --git a/extra/burn-bg.sh b/extra/burn-bg.sh new file mode 100644 index 0000000..64271d4 --- /dev/null +++ b/extra/burn-bg.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +# CONFIG BEGIN + . /etc/default/vdr + TEMPLATEURL=http://vdr.f-x.de + TEMPLATEDIR=$VDRCONFDIR/plugins/burn + TEXT="Vorlage (burn)" +# CONFIG END + +cp $TEMPLATEDIR/menu-bg.png $TEMPLATEDIR/original.png + +wget \ + --mirror --no-directories --accept="zip" "$TEMPLATEURL" --directory-prefix="$TEMPLATEDIR/tmp" + +find "$TEMPLATEDIR" \ + -name "*.zip" -exec unzip -o -q -d "$TEMPLATEDIR" \{} \; + +find "$TEMPLATEDIR" \( ! -name 'menu-b*.png' \) \ + -name "*.png" -printf "\n$TEXT %f : cp -v \"$TEMPLATEDIR/%f\" \"$TEMPLATEDIR/menu-bg.png\";" \ + > "$TEMPLATEDIR/reccmds.conf" + +chown $VDRUSER.$VDRGROUP -R $VDRCONFDIR/plugins/burn diff --git a/extra/channelswitch b/extra/channelswitch new file mode 100644 index 0000000..26be0f3 --- /dev/null +++ b/extra/channelswitch @@ -0,0 +1,93 @@ +#!/bin/sh + +if [ -d /ramdisk ]; then # LiveCD Mode + export PFAD="/home/knoppix/vdr"; + else # after kanotix-installer + export PFAD="/var/lib/vdr"; +fi + +# Load VDR configuration +if [ -f /etc/default/vdr ] ; then + . /etc/default/vdr +else + export VDRCONFDIR="$PFAD" +fi + +export CHANNELSCONF="$VDRCONFDIR/channels.conf" + +if [ -d $VDRCONFDIR/channellists ] ; then export PFAD="$VDRCONFDIR/channellists"; fi + + +#TMP="/tmp/channelswitch.tmp" + +K1="channels.conf.sat" +K2="channels.conf.cable" +K3="channels.conf.t.berlin" +K4="channels.conf.t.braunschweig" +K5="channels.conf.t.bremen" +K6="channels.conf.t.hamburg" +K7="channels.conf.t.luebeck" +K8="channels.conf.t.hannover" +K9="channels.conf.t.kiel" +K10="channels.conf.t.koeln" +K11="channels.conf.t.duesseldorf" +K12="channels.conf.t.dortmund" +K13="channels.conf.t.frankfurt" +K14="channels.conf.t.mainz" +K15="channels.conf.t.leipzig" +K16="channels.conf.t.muenchen" +K17="channels.conf.t.nuernberg" + +#ls $PFAD channels*.conf | awk -F ' ' '{print $8}' +export KANALNR=`Xdialog --menubox "Kanalliste auswählen" 30 45 24 \ +"1)" "Sat (DVB-S)" \ +"2)" "Kabel (DVB-C)" \ +"3)" "BVB-T Berlin-Brandenburg" \ +"4)" "BVB-T Norddeutschland: Braunschweig" \ +"5)" "BVB-T Bremen/Bremerhaven/Oldenburg" \ +"6)" "BVB-T Norddeutschland: Hamburg" \ +"7)" "BVB-T Norddeutschland: Lübeck" \ +"8)" "BVB-T Norddeutschland: Hannover" \ +"9)" "BVB-T Norddeutschland: Kiel" \ +"10)" "BVB-T NRW: Köln/Bonn" \ +"11)" "BVB-T NRW: Ruhrgebiet/Düsseldorf" \ +"12)" "BVB-T NRW: Ruhrgebiet/Dortmund" \ +"13)" "BVB-T Rhein-Main-Gebiet: Frankfurt a.M." \ +"14)" "BVB-T Rhein-Main-Gebiet: Mainz" \ +"15)" "BVB-T Mitteldeutschland: Leipzig" \ +"16)" "BVB-T Süddeutschland: München" \ +"17)" "BVB-T Süddeutschland: Nürnberg" \ + 2>&1` +# 2>"$TMP" +#export KANALNR="$(<$TMP)" + +#echo $KANALNR +case $KANALNR in +"1)") cp -f "$PFAD/$K1" "$CHANNELSCONF" ;; +"2)") cp -f "$PFAD/$K2" "$CHANNELSCONF" ;; +"3)") cp -f "$PFAD/$K3" "$CHANNELSCONF" ;; +"4)") cp -f "$PFAD/$K4" "$CHANNELSCONF" ;; +"5)") cp -f "$PFAD/$K5" "$CHANNELSCONF" ;; +"6)") cp -f "$PFAD/$K6" "$CHANNELSCONF" ;; +"7)") cp -f "$PFAD/$K7" "$CHANNELSCONF" ;; +"8)") cp -f "$PFAD/$K8" "$CHANNELSCONF" ;; +"9)") cp -f "$PFAD/$K9" "$CHANNELSCONF" ;; +"10)") cp -f "$PFAD/$K10" "$CHANNELSCONF" ;; +"11)") cp -f "$PFAD/$K11" "$CHANNELSCONF" ;; +"12)") cp -f "$PFAD/$K12" "$CHANNELSCONF" ;; +"13)") cp -f "$PFAD/$K13" "$CHANNELSCONF" ;; +"14)") cp -f "$PFAD/$K14" "$CHANNELSCONF" ;; +"15)") cp -f "$PFAD/$K15" "$CHANNELSCONF" ;; +"16)") cp -f "$PFAD/$K16" "$CHANNELSCONF" ;; +"17)") cp -f "$PFAD/$K17" "$CHANNELSCONF" ;; +*) echo "Kanalliste nicht gefunden"; exit 0 ;; +esac + +sudo killall -9 xine +sudo killall -9 vdr +sleep 1 +sudo /etc/init.d/vdr start + +Xdialog --infobox "Bitte starten Sie das Symbol VDRxine (TV) auf dem Desktop" 10 60 10000 + +exit 0 diff --git a/extra/dvb-bootsplash/dvb-bootsplash b/extra/dvb-bootsplash/dvb-bootsplash new file mode 100644 index 0000000..9047cf3 --- /dev/null +++ b/extra/dvb-bootsplash/dvb-bootsplash @@ -0,0 +1,26 @@ +#!/bin/sh + +# x-vdr (Installations-Skript fuer einen VDR mit Debian als Basis) +# von Marc Wernecke - www.zulu-entertainment.de +# 23.12.2006 + +# /etc/init.d/dvb-bootsplash +[ -r /etc/default/vdr ] || exit 1 +. /etc/default/vdr +[ -r $VDRSCRIPTDIR/mplayer.sh.conf ] || exit 1 +. $VDRSCRIPTDIR/mplayer.sh.conf + +case "$1" in + start) + /usr/bin/mplayer -vo $VO $DIVXDIR/VDRboot.mpeg >/dev/null & + ;; + stop) + killall -q -9 mplayer + ;; + *) + echo "Usage: /etc/init.d/dvb-bootsplash {start|stop}" + exit 1 + ;; +esac + +exit 0 diff --git a/extra/dvb-bootsplash/install-dvb-bs.sh b/extra/dvb-bootsplash/install-dvb-bs.sh new file mode 100644 index 0000000..389a16e --- /dev/null +++ b/extra/dvb-bootsplash/install-dvb-bs.sh @@ -0,0 +1,30 @@ +#!/bin/sh + +# x-vdr (Installations-Skript fuer einen VDR mit Debian als Basis) +# von Marc Wernecke - www.zulu-entertainment.de +# 28.01.2007 + +# install-dvb-bs.sh + +[ -r /etc/default/vdr ] || exit 1 +. /etc/default/vdr + +[ -f ./dvb-bootsplash ] || exit 2 + +if [ ! -f ./VDRboot.mpeg ]; then + if [ ! -f ./startup.mpeg ]; then + wget --tries=2 http://vdrportal.magdlos.com/downloads/startup.mpeg + [ -f ./startup.mpeg ] || exit 3 + fi + cp ./startup.mpeg ./VDRboot.mpeg +fi + +[ -f ./VDRboot.mpeg ] || exit 4 +cp -f ./VDRboot.mpeg $DIVXDIR + +cp -f ./dvb-bootsplash /etc/init.d +chmod 0755 /etc/init.d/dvb-bootsplash +cd /etc/rcS.d +ln -s ../init.d/dvb-bootsplash S05dvb-bootsplash + + diff --git a/extra/ffmpeg-links b/extra/ffmpeg-links new file mode 100644 index 0000000..2725564 --- /dev/null +++ b/extra/ffmpeg-links @@ -0,0 +1,25 @@ +#!/bin/sh + +[ -d /usr/include/ffmpeg ] && exit + +mkdir -p /usr/include/ffmpeg +cd /usr/include/ffmpeg + +ln -vnfs /usr/include/libavcodec libavcodec +ln -vnfs /usr/include/libavcodec/avcodec.h avcodec.h + +ln -vnfs /usr/include/libavdevice libavdevice +ln -vnfs /usr/include/libavdevice/avdevice.h avdevice.h + +ln -vnfs /usr/include/libavfilter libavfilter + +ln -vnfs /usr/include/libavformat libavformat +ln -vnfs /usr/include/libavformat/avformat.h avformat.h + +ln -vnfs /usr/include/libavutil libavutil + +ln -vnfs /usr/include/libpostproc libpostproc +ln -vnfs /usr/include/libpostproc/postprocess.h postprocess.h + +ln -vnfs /usr/include/libswscale libswscale +ln -vnfs /usr/include/libswscale/swscale.h swscale.h diff --git a/extra/fstab b/extra/fstab new file mode 100644 index 0000000..732eff6 --- /dev/null +++ b/extra/fstab @@ -0,0 +1,15 @@ +# /etc/fstab: static file system information. +# +# +proc /proc proc defaults 0 0 +usbfs /proc/bus/usb usbfs devmode=0666 0 0 +/dev/hda1 / ext3 defaults,errors=remount-ro 0 1 +/dev/hda2 none swap sw 0 0 +/dev/hda5 /media/hda5 ext3 defaults 0 0 +#/dev/cdrom /media/cdrom0 udf,iso9660 user,noauto 0 0 +# Added for x-vdr +/dev/cdrom /media/cdrom0 auto ro,noauto,user,exec 0 0 +/dev/cdrom /media/cdfs cdfs ro,noauto,user,exec 0 0 +/dev/dvd /media/cdrom0 auto ro,noauto,user,exec 0 0 +/dev/dvd /media/cdfs cdfs ro,noauto,user,exec 0 0 + diff --git a/extra/install-vlc.sh b/extra/install-vlc.sh new file mode 100644 index 0000000..ee14070 --- /dev/null +++ b/extra/install-vlc.sh @@ -0,0 +1,57 @@ +#!/bin/sh + +# Installation von vlc-0.9.8a auf sidux-2009-01. +# +# Damit alle notwendigen Pakete installiert sind, +# muss x-vdr/apt.sh vorher mindestens einmal gestartet werden. +# +# Anstatt 'checkinstall' ginge auch 'dpkg-buildpackage': +# svn co svn://svn.debian.org/pkg-multimedia/videolan/vlc/debian debian && +# dpkg-buildpackage -rfakeroot -us -uc && +# dazu muessen dann aber noch einige libs nach installiert werden. +# +# Marc Wernecke - www.zulu-entertainment.de +# 17.02.2009 + +# pre-install +apt-get update +apt-get -y --force-yes --purge remove libvlc0 vlc vlc-nox +apt-get -y --force-yes install libhal-dev libfribidi-dev libgcrypt-dev +apt-get -y --force-yes install libcddb2-dev libdvbpsi5-dev xulrunner-dev +apt-get -y --force-yes install liblivemedia-dev libpulse-dev + +[ -f /root/vlc-0.9.8a.tar.bz2 ] || + wget --tries=2 http://download.videolan.org/pub/videolan/vlc/0.9.8a/vlc-0.9.8a.tar.bz2 --directory-prefix=/root + +[ -f /root/vlc-0.9.8a.tar.bz2 ] || exit 1 +[ -d /usr/local/src/vlc-0.9.8a ] && rm -rf /usr/local/src/vlc-0.9.8a +tar xjf /root/vlc-0.9.8a.tar.bz2 -C /usr/local/src + +# install +cd /usr/local/src/vlc-0.9.8a + +./configure --prefix=/usr \ + --disable-glx --disable-opengl \ + --enable-mozilla --enable-faad --enable-flac && +make && +checkinstall --fstrans=no --install=yes --pkgname=vlc --pkgversion "0.9.8a" --default && + +# create vlc-nox dummy package +echo "Section: misc +Priority: optional +Standards-Version: 3.6.2 + +Package: vlc-nox +Version: 0.9.8a-1 +Maintainer: Musterman +Depends: vlc +Provides: vlc +Architecture: all +Description: vlc-nox dummy package +" > ./vlc-nox && + +equivs-build vlc-nox && +dpkg -i vlc-nox_0.9.8a-1_all.deb && + +cp -f *.deb /root + diff --git a/extra/keymap b/extra/keymap new file mode 100644 index 0000000..9ce435d --- /dev/null +++ b/extra/keymap @@ -0,0 +1,974 @@ +## +# xine key bindings. +# Automatically generated by xine-ui version 0.99.3cvs. +## + +# start playback +Play { + key = Return + modifier = none +} + +# playback pause toggle +Pause { + key = space + modifier = none +} + +# stop playback +Stop { + key = S + modifier = none +} + +# take a snapshot +Snapshot { + key = t + modifier = none +} + +# eject the current medium +Eject { + key = e + modifier = none +} + +# select and play next MRL in the playlist +NextMrl { + key = Next + modifier = none +} + +# select and play previous MRL in the playlist +PriorMrl { + key = Prior + modifier = none +} + +# loop mode toggle +ToggleLoopMode { + key = l + modifier = none +} + +# stop playback after played stream +PlaylistStop { + key = l + modifier = control +} + +# scan playlist to grab stream infos +ScanPlaylistInfo { + key = s + modifier = control +} + +# add a mediamark from current playback +AddMediamark { + key = a + modifier = control +} + +# edit selected mediamark +MediamarkEditor { + key = e + modifier = control +} + +# set position to -60 seconds in current stream +SeekRelative-60 { + key = Left + modifier = mod4 +} + +# set position to +60 seconds in current stream +SeekRelative+60 { + key = Right + modifier = mod4 +} + +# set position to -30 seconds in current stream +SeekRelative-30 { + key = Left + modifier = meta +} + +# set position to +30 seconds in current stream +SeekRelative+30 { + key = Right + modifier = meta +} + +# set position to -15 seconds in current stream +SeekRelative-15 { + key = Left + modifier = control +} + +# set position to +15 seconds in current stream +SeekRelative+15 { + key = Right + modifier = control +} + +# set position to -7 seconds in current stream +SeekRelative-7 { + key = Left + modifier = mod3 +} + +# set position to +7 seconds in current stream +SeekRelative+7 { + key = Right + modifier = mod3 +} + +# set position to beginning of current stream +SetPosition0% { + key = 0 + modifier = control +} + +# set position to 10% of current stream +SetPosition10% { + key = 1 + modifier = control +} + +# set position to 20% of current stream +SetPosition20% { + key = 2 + modifier = control +} + +# set position to 30% of current stream +SetPosition30% { + key = 3 + modifier = control +} + +# set position to 40% of current stream +SetPosition40% { + key = 4 + modifier = control +} + +# set position to 50% of current stream +SetPosition50% { + key = 5 + modifier = control +} + +# set position to 60% of current stream +SetPosition60% { + key = 6 + modifier = control +} + +# set position to 70% of current stream +SetPosition70% { + key = 7 + modifier = control +} + +# set position to 80% of current stream +SetPosition80% { + key = 8 + modifier = control +} + +# set position to 90% of current stream +SetPosition90% { + key = 9 + modifier = control +} + +# increment playback speed +SpeedFaster { + key = Up + modifier = mod4 +} + +# decrement playback speed +SpeedSlower { + key = Down + modifier = mod4 +} + +# reset playback speed +SpeedReset { + key = Down + modifier = meta +} + +# increment audio volume +Volume+ { + key = XKey_176 + modifier = none +} + +# decrement audio volume +Volume- { + key = XKey_174 + modifier = none +} + +# increment amplification level +Amp+ { + key = V + modifier = control +} + +# decrement amplification level +Amp- { + key = v + modifier = control +} + +# reset amplification to default value +ResetAmp { + key = A + modifier = control +} + +# audio muting toggle +Mute { + key = XKey_160 + modifier = none +} + +# select next audio channel +AudioChannelNext { + key = plus + modifier = none +} + +# select previous audio channel +AudioChannelPrior { + key = minus + modifier = none +} + +# select next sub picture (subtitle) channel +SpuNext { + key = period + modifier = none +} + +# select previous sub picture (subtitle) channel +SpuPrior { + key = comma + modifier = none +} + +# interlaced mode toggle +ToggleInterleave { + key = i + modifier = none +} + +# cycle aspect ratio values +ToggleAspectRatio { + key = a + modifier = none +} + +# reduce the output window size by factor 1.2 +WindowReduce { + key = less + modifier = none +} + +# enlarge the output window size by factor 1.2 +WindowEnlarge { + key = greater + modifier = none +} + +# set video output window to 50% +Window50 { + key = 1 + modifier = meta +} + +# set video output window to 100% +Window100 { + key = 2 + modifier = meta +} + +# set video output window to 200% +Window200 { + key = 3 + modifier = meta +} + +# zoom in +ZoomIn { + key = z + modifier = none +} + +# zoom out +ZoomOut { + key = Z + modifier = none +} + +# zoom in horizontally +ZoomInX { + key = z + modifier = control +} + +# zoom out horizontally +ZoomOutX { + key = Z + modifier = control +} + +# zoom in vertically +ZoomInY { + key = z + modifier = meta +} + +# zoom out vertically +ZoomOutY { + key = Z + modifier = meta +} + +# reset zooming +ZoomReset { + key = z + modifier = control, meta +} + +# resize output window to stream size +Zoom1:1 { + key = s + modifier = none +} + +# fullscreen toggle +ToggleFullscreen { + key = f + modifier = none +} + +# Xinerama fullscreen toggle +ToggleXineramaFullscr { + key = F + modifier = none +} + +# jump to media Menu +Menu { + key = KP_Delete + modifier = none +} + +# jump to Title Menu +TitleMenu { + key = F1 + modifier = mod4 +} + +# jump to Root Menu +RootMenu { + key = F2 + modifier = mod4 +} + +# jump to Subpicture Menu +SubpictureMenu { + key = F3 + modifier = mod4 +} + +# jump to Audio Menu +AudioMenu { + key = F4 + modifier = mod4 +} + +# jump to Angle Menu +AngleMenu { + key = F5 + modifier = mod4 +} + +# jump to Part Menu +PartMenu { + key = F6 + modifier = mod4 +} + +# menu navigate up +EventUp { + key = KP_Up + modifier = none +} + +# menu navigate down +EventDown { + key = KP_Down + modifier = none +} + +# menu navigate left +EventLeft { + key = KP_Left + modifier = none +} + +# menu navigate right +EventRight { + key = KP_Right + modifier = none +} + +# menu select +EventSelect { + key = KP_Enter + modifier = none +} + +# jump to next chapter +EventNext { + key = KP_Next + modifier = none +} + +# jump to previous chapter +EventPrior { + key = KP_Prior + modifier = none +} + +# select next angle +EventAngleNext { + key = KP_Home + modifier = none +} + +# select previous angle +EventAnglePrior { + key = KP_End + modifier = none +} + +# visibility toggle of help window +HelpShow { + key = h + modifier = meta +} + +# visibility toggle of video post effect window +VPProcessShow { + key = P + modifier = meta +} + +# toggle post effect usage +VPProcessEnable { + key = P + modifier = control, meta +} + +# visibility toggle of output window +ToggleWindowVisibility { + key = h + modifier = none +} + +# bordered window toggle of output window +ToggleWindowBorder { + key = b + modifier = none +} + +# visibility toggle of UI windows +ToggleVisibility { + key = g + modifier = none +} + +# visibility toggle of control window +ControlShow { + key = c + modifier = meta +} + +# visibility toggle of mrl browser window +MrlBrowser { + key = m + modifier = meta +} + +# visibility toggle of playlist editor window +PlaylistEditor { + key = p + modifier = meta +} + +# visibility toggle of the setup window +SetupShow { + key = s + modifier = meta +} + +# visibility toggle of the event sender window +EventSenderShow { + key = e + modifier = meta +} + +# visibility toggle of analog TV window +TVAnalogShow { + key = t + modifier = meta +} + +# visibility toggle of log viewer +ViewlogShow { + key = l + modifier = meta +} + +# visibility toggle of stream info window +StreamInfosShow { + key = i + modifier = meta +} + +# display stream information using OSD +OSDStreamInfos { + key = i + modifier = control +} + +# show OSD menu +OSDMenu { + key = O + modifier = none +} + +# enter key binding editor +KeyBindingEditor { + key = k + modifier = meta +} + +# open file selector +FileSelector { + key = o + modifier = control +} + +# select a subtitle file +SubSelector { + key = S + modifier = control +} + +# display MRL/Ident toggle +MrlIdentToggle { + key = t + modifier = control +} + +# grab pointer toggle +GrabPointer { + key = Insert + modifier = none +} + +# enter the number 0 +Number0 { + key = 0 + modifier = none +} + +# enter the number 1 +Number1 { + key = 1 + modifier = none +} + +# enter the number 2 +Number2 { + key = 2 + modifier = none +} + +# enter the number 3 +Number3 { + key = 3 + modifier = none +} + +# enter the number 4 +Number4 { + key = 4 + modifier = none +} + +# enter the number 5 +Number5 { + key = 5 + modifier = none +} + +# enter the number 6 +Number6 { + key = 6 + modifier = none +} + +# enter the number 7 +Number7 { + key = 7 + modifier = none +} + +# enter the number 8 +Number8 { + key = 8 + modifier = none +} + +# enter the number 9 +Number9 { + key = 9 + modifier = none +} + +# add 10 to the next entered number +Number10add { + key = plus + modifier = mod3 +} + +# set position in current stream to numeric percentage +SetPosition% { + key = slash + modifier = none +} + +# set position forward by numeric argument in current stream +SeekRelative+ { + key = Up + modifier = meta +} + +# set position back by numeric argument in current stream +SeekRelative- { + key = Up + modifier = mod3 +} + +# change audio video syncing (delay video) +AudioVideoDecay+ { + key = m + modifier = none +} + +# change audio video syncing (delay audio) +AudioVideoDecay- { + key = n + modifier = none +} + +# reset audio video syncing offset +AudioVideoDecayReset { + key = Home + modifier = none +} + +# change subtitle syncing (delay video) +SpuVideoDecay+ { + key = M + modifier = none +} + +# change subtitle syncing (delay subtitles) +SpuVideoDecay- { + key = N + modifier = none +} + +# reset subtitle syncing offset +SpuVideoDecayReset { + key = End + modifier = none +} + +# toggle TV modes (on the DXR3) +ToggleTVmode { + key = o + modifier = control, meta +} + +# switch Monitor to DPMS standby mode +DPMSStandby { + key = d + modifier = none +} + +# increase hue by 10 +HueControl+ { + key = VOID + modifier = none +} + +# decrease hue by 10 +HueControl- { + key = VOID + modifier = none +} + +# increase saturation by 10 +SaturationControl+ { + key = VOID + modifier = none +} + +# decrease saturation by 10 +SaturationControl- { + key = VOID + modifier = none +} + +# increase brightness by 10 +BrightnessControl+ { + key = VOID + modifier = none +} + +# decrease brightness by 10 +BrightnessControl- { + key = VOID + modifier = none +} + +# increase contrast by 10 +ContrastControl+ { + key = VOID + modifier = none +} + +# decrease contrast by 10 +ContrastControl- { + key = VOID + modifier = none +} + +# quit the program +Quit { + key = q + modifier = none +} + +# VDR Red button +VDRButtonRed { + key = F1 + modifier = none +} + +# VDR Green button +VDRButtonGreen { + key = F2 + modifier = none +} + +# VDR Yellow button +VDRButtonYellow { + key = F3 + modifier = none +} + +# VDR Blue button +VDRButtonBlue { + key = F4 + modifier = none +} + +# VDR play +VDRPlay { + key = VOID + modifier = none +} + +# VDR Pause +VDRPause { + key = VOID + modifier = none +} + +# VDR Stop +VDRStop { + key = VOID + modifier = none +} + +# VDR Record +VDRRecord { + key = VOID + modifier = none +} + +# VDR Fast Forward +VDRFastFwd { + key = VOID + modifier = none +} + +# VDR Fast Rewind +VDRFastRew { + key = VOID + modifier = none +} + +# VDR power +VDRPower { + key = VOID + modifier = none +} + +# VDR next channel +VDRChannelPlus { + key = VOID + modifier = none +} + +# VDR previous channel +VDRChannelMinus { + key = VOID + modifier = none +} + +# VDR schedule menu +VDRSchedule { + key = VOID + modifier = none +} + +# VDR Channel menu +VDRChannels { + key = VOID + modifier = none +} + +# VDR Timers menu +VDRTimers { + key = VOID + modifier = none +} + +# VDR Recordings menu +VDRRecordings { + key = VOID + modifier = none +} + +# VDR Setup menu +VDRSetup { + key = VOID + modifier = none +} + +# VDR Command menu +VDRCommands { + key = VOID + modifier = none +} + +# VDR Command Back +VDRBack { + key = KP_Insert + modifier = none +} + +# VDR User command 1 +VDRUser1 { + key = VOID + modifier = none +} + +# VDR User command 2 +VDRUser2 { + key = VOID + modifier = none +} + +# VDR User command 3 +VDRUser3 { + key = VOID + modifier = none +} + +# VDR User command 4 +VDRUser4 { + key = VOID + modifier = none +} + +# VDR User command 5 +VDRUser5 { + key = VOID + modifier = none +} + +# VDR User command 6 +VDRUser6 { + key = VOID + modifier = none +} + +# VDR User command 7 +VDRUser7 { + key = VOID + modifier = none +} + +# VDR User command 8 +VDRUser8 { + key = VOID + modifier = none +} + +# VDR User command 9 +VDRUser9 { + key = VOID + modifier = none +} + +# VDR Volume plus +VDRVolumePlus { + key = VOID + modifier = none +} + +# VDR Volume minus +VDRVolumeMinus { + key = VOID + modifier = none +} + +# VDR Audio Mute +VDRMute { + key = VOID + modifier = none +} + +# VDR Audio menu +VDRAudio { + key = VOID + modifier = none +} + +## +# End of xine key bindings. +## diff --git a/extra/lilo.conf b/extra/lilo.conf new file mode 100644 index 0000000..d9f525c --- /dev/null +++ b/extra/lilo.conf @@ -0,0 +1,131 @@ +# /etc/lilo.conf - See: `lilo(8)' and `lilo.conf(5)', +# --------------- `install-mbr(8)', `/usr/share/doc/lilo/', +# and `/usr/share/doc/mbr/'. + +# Remove this line when you are done configuring. -KK + + +# +---------------------------------------------------------------+ +# | !! Reminder !! | +# | | +# | Don't forget to run `lilo' after you make changes to this | +# | conffile, `/boot/bootmess.txt', or install a new kernel. The | +# | computer will most likely fail to boot if a kernel-image | +# | post-install script or you don't remember to run `lilo'. | +# | | +# +---------------------------------------------------------------+ + +# Support LBA for large hard disks. +# +lba32 + +# Specifies the boot device. This is where Lilo installs its boot +# block. It can be either a partition, or the raw device, in which +# case it installs in the MBR, and will overwrite the current MBR. +# +boot=/dev/hda + +# Specifies the device that should be mounted as root. (`/') +# +root=/dev/hda1 + +# Enable map compaction: +# Tries to merge read requests for adjacent sectors into a single +# read request. This drastically reduces load time and keeps the +# map smaller. Using `compact' is especially recommended when +# booting from a floppy disk. It is disabled here by default +# because it doesn't always work. +# +# compact + +# Default menu for Debian. (Using the images from debian-bootscreen) +# from Philipp Wolfer . +bitmap=/boot/debian.bmp +bmp-colors=1,,0,2,,0 +bmp-table=120p,173p,1,15,17 +bmp-timer=254p,432p,1,0,0 + +# Install the specified file as the new boot sector. +# LILO supports built in boot sectory, you only need +# to specify the type, choose one from 'text', 'menu' or 'bitmap'. +# new: install=bmp old: install=/boot/boot-bmp.b +# new: install=text old: install=/boot/boot-text.b +# new: install=menu old: install=/boot/boot-menu.b or boot.b +# default: 'menu' is default, unless you have a bitmap= line +# Note: install=bmp must be used to see the bitmap menu. +# install=menu +# install=bmp +install=bmp + +# Specifies the location of the map file +# +map=/boot/map + +# You can set a password here, and uncomment the `restricted' lines +# in the image definitions below to make it so that a password must +# be typed to boot anything but a default configuration. If a +# command line is given, other than one specified by an `append' +# statement in `lilo.conf', the password will be required, but a +# standard default boot will not require one. +# +# This will, for instance, prevent anyone with access to the +# console from booting with something like `Linux init=/bin/sh', +# and thus becoming `root' without proper authorization. +# +# Note that if you really need this type of security, you will +# likely also want to use `install-mbr' to reconfigure the MBR +# program, as well as set up your BIOS to disallow booting from +# removable disk or CD-ROM, then put a password on getting into the +# BIOS configuration as well. Please RTFM `install-mbr(8)'. +# +# password=tatercounter2000 + +# Specifies the number of deciseconds (0.1 seconds) LILO should +# wait before booting the first image. +# +delay=20 +timeout=50 + +# You can put a customized boot message up if you like. If you use +# `prompt', and this computer may need to reboot unattended, you +# must specify a `timeout', or it will sit there forever waiting +# for a keypress. `single-key' goes with the `alias' lines in the +# `image' configurations below. eg: You can press `1' to boot +# `Linux', `2' to boot `LinuxOLD', if you uncomment the `alias'. +# +# message=/boot/bootmess.txt +# prompt +# single-key +# delay=100 +# timeout=100 + +# Specifies the VGA text mode at boot time. (normal, extended, ask, ) +# +# vga=ask +# vga=9 +# +vga=0x317 + +# Kernel command line options that apply to all installed images go +# here. See: The `boot-prompt-HOWO' and `kernel-parameters.txt' in +# the Linux kernel `Documentation' directory. +# +# append="" + +# Boot up Linux by default. +# +default=Kanotix + +image=/boot/vmlinuz + label=Kanotix + append="ramdisk_size=100000 lang=de apm=power-off nomce " + read-only +# restricted +# alias=1 +image=/boot/bzImage.2.6.9.poweroff + append="apm=power-off acpi=off" + label=PowerOff + read-only +# restricted +# alias=2 + diff --git a/extra/make-new-makeconfig b/extra/make-new-makeconfig new file mode 100644 index 0000000..c32f1a3 --- /dev/null +++ b/extra/make-new-makeconfig @@ -0,0 +1,16 @@ +#!/bin/sh + +# x-vdr (vdr-installer für kanotix) +# von Marc Wernecke - www.zulu-entertainment.de +# 29.08.2005 + + + +source ./../x-vdr.conf +source ./../functions +[ -f ./../setup.conf ] && source ./../setup.conf + + +make_makeconfig +exit 0 + diff --git a/extra/powerbtn.sh b/extra/powerbtn.sh new file mode 100644 index 0000000..42322ae --- /dev/null +++ b/extra/powerbtn.sh @@ -0,0 +1,23 @@ +#!/bin/sh +# /etc/acpi/powerbtn.sh +# Initiates a shutdown when the power putton has been +# pressed. + +# If vdr is running, let it process the shutdown +if pidof vdr; then + svdrpsend.pl HITK Power + exit 0 +fi + +# If powersaved is running, let it process the acpi event +if pidof powersaved; then + exit 0 +fi + +if ps -Af | grep -q '[k]desktop' && test -f /usr/bin/dcop +then + dcop --all-sessions --all-users ksmserver ksmserver logout 0 2 0 && exit 0 +else + /sbin/shutdown -h now "Power button pressed" +fi +acpi event \ No newline at end of file diff --git a/extra/rc-update.sh b/extra/rc-update.sh new file mode 100644 index 0000000..427b960 --- /dev/null +++ b/extra/rc-update.sh @@ -0,0 +1,49 @@ +#!/bin/sh + +# vdr-installer fuer kanotix +# von Marc Wernecke - 14.02.2006 +# kanotix gibt es bei http://www.kanotix.com +# + +if [ $# -eq 0 ] ; then +echo "this script needs a command..." +echo "possible commands are..." +echo "remove" +echo "defaults" +exit +fi + +unfreeze-rc.d + +case $1 in + install ) + if [ -f /etc/init.d/samba ] ; then update-rc.d samba defaults 50 ; fi + ;; + + remove ) + /etc/init.d/cupsys stop + update-rc.d -f cupsys remove + /etc/init.d/courier-authdaemon stop + update-rc.d -f courier-authdaemon remove + /etc/init.d/courier-mta stop + update-rc.d -f courier-mta remove + /etc/init.d/ppp stop + update-rc.d -f ppp remove + ;; + defaults ) + if [ -f /etc/init.d/cupsys ] ; then update-rc.d cupsys defaults 20 ; fi + if [ -f /etc/init.d/courier-authdaemon ] ; then update-rc.d courier-authdaemon defaults 20 ; fi + if [ -f /etc/init.d/courier-mta ] ; then update-rc.d courier-mta defaults 20 ; fi + if [ -f /etc/init.d/ppp ] ; then update-rc.d ppp defaults 14 ; fi + ;; + * ) + echo "\"$1\" - command not found" + echo "possible commands are..." + echo "remove" + echo "defaults" + ;; +esac + +freeze-rc.d + +exit 0 diff --git a/extra/remote-event.sh b/extra/remote-event.sh new file mode 100644 index 0000000..c059e55 --- /dev/null +++ b/extra/remote-event.sh @@ -0,0 +1,52 @@ +#!/bin/sh + +# x-vdr (Installations-Skript fuer einen VDR mit Debian als Basis) +# von Marc Wernecke - www.zulu-entertainment.de +# 25.04.2008 + +RemoteConf="/var/lib/vdr/remote.conf" +VdrConf="/etc/default/vdr" +XvdrConf="/usr/local/src/x-vdr/setup.conf" + +if [ -r "$VdrConf" -a -w "$VdrConf" ]; then + . $VdrConf + [ -f "$VDRCONFDIR/remote.conf" ] && RemoteConf="$VDRCONFDIR/remote.conf" +fi + +[ -w "$RemoteConf" ] || exit 1 + +RemoteEvent=`grep -m1 "remote-event" $RemoteConf | cut -d "." -f1` +[ -n "$RemoteEvent" ] || exit 2 + +DeviceNr=`dmesg | grep -m1 "DVB on-card IR receiver" | tr "/" "\n" | grep input | grep [0-9] | cut -c6` +[ -n "$DeviceNr" ] || exit 3 + +if [ "$RemoteEvent" != "remote-event${DeviceNr}" ]; then + sed -i $RemoteConf -e s/$RemoteEvent/remote-event${DeviceNr}/g + echo "Changing Remote-Device in $RemoteConf from $RemoteEvent to remote-event${DeviceNr}" +else + echo "Remote-Device in $RemoteConf is $RemoteEvent" +fi + +if [ -w "$VdrConf" ]; then + if [ -n "$remote_event" ]; then + DeviceNrOld=`echo "$remote_event" | tr "/" "\n" | grep [0-9] | cut -c6` + if [ "$DeviceNrOld" != "$DeviceNr" ]; then + sed -i $VdrConf -e s?remote_event=\"/dev/input/event${DeviceNrOld}\"?remote_event=\"/dev/input/event${DeviceNr}\"?g + echo "Changing Remote-Device in $VdrConf from $remote_event to /dev/input/event${DeviceNr}" + fi + fi +fi + +if [ -r "$XvdrConf" -a -w "$XvdrConf" ]; then + . $XvdrConf + if [ -n "$remote_event" ]; then + DeviceNrOld=`echo "$remote_event" | tr "/" "\n" | grep [0-9] | cut -c6` + if [ "$DeviceNrOld" != "$DeviceNr" ]; then + sed -i $XvdrConf -e s?remote_event=\"/dev/input/event${DeviceNrOld}\"?remote_event=\"/dev/input/event${DeviceNr}\"?g + echo "Changing Remote-Device in $XvdrConf from $remote_event to /dev/input/event${DeviceNr}" + fi + fi +fi + +exit 0 diff --git a/extra/remote.conf b/extra/remote.conf new file mode 100644 index 0000000..718d3e4 --- /dev/null +++ b/extra/remote.conf @@ -0,0 +1,124 @@ +KBD.Up 00000000001B5B41 +KBD.Down 00000000001B5B42 +KBD.Menu 000000000000006D +KBD.Ok 000000000000000D +KBD.Back 000000000000007F +KBD.Left 00000000001B5B44 +KBD.Right 00000000001B5B43 +KBD.Red 000000001B5B5B41 +KBD.Green 000000001B5B5B42 +KBD.Yellow 000000001B5B5B43 +KBD.Blue 000000001B5B5B44 +KBD.0 0000000000000030 +KBD.1 0000000000000031 +KBD.2 0000000000000032 +KBD.3 0000000000000033 +KBD.4 0000000000000034 +KBD.5 0000000000000035 +KBD.6 0000000000000036 +KBD.7 0000000000000037 +KBD.8 0000000000000038 +KBD.9 0000000000000039 +KBD.Volume+ 000000000000002B +KBD.Volume- 000000000000002D +KBD.Mute 0000000000000073 +remote-event2._Setup /proc/av7110_ir 00000000 31 +remote-event2.Up 0000000100010021 +remote-event2.Down 0000000100010022 +remote-event2.Menu 000000010001000E +remote-event2.Ok 0000000100010026 +remote-event2.Back 0000000100010020 +remote-event2.Left 0000000100010012 +remote-event2.Right 0000000100010011 +remote-event2.Red 000000010001000C +remote-event2.Green 000000010001002F +remote-event2.Yellow 0000000100010039 +remote-event2.Blue 000000010001002A +remote-event2.0 0000000100010001 +remote-event2.1 0000000100010002 +remote-event2.2 0000000100010003 +remote-event2.3 0000000100010004 +remote-event2.4 0000000100010005 +remote-event2.5 0000000100010006 +remote-event2.6 0000000100010007 +remote-event2.7 0000000100010008 +remote-event2.8 0000000100010009 +remote-event2.9 000000010001000A +remote-event2.Play 0000000100010036 +remote-event2.Pause 0000000100010031 +remote-event2.Stop 0000000100010037 +remote-event2.Record 0000000100010038 +remote-event2.FastFwd 0000000100010035 +remote-event2.FastRew 0000000100010033 +remote-event2.Channel+ 000000010001001F +remote-event2.Channel- 0000000100010025 +remote-event2.Volume+ 000000010001003D +remote-event2.Volume- 000000010001000D +remote-event2.Mute 0000000100010010 +remote-event2.Power 000000010001003C +LIRC.Up Up +LIRC.Down Down +LIRC.Menu Menu +LIRC.Ok Ok +LIRC.Back Back +LIRC.Left Left +LIRC.Right Right +LIRC.Red Red +LIRC.Green Green +LIRC.Yellow Yellow +LIRC.Blue Blue +LIRC.Power Power +LIRC.Volume+ Volume+ +LIRC.Volume- Volume- +LIRC.Mute Mute +LIRC.0 0 +LIRC.1 1 +LIRC.2 2 +LIRC.3 3 +LIRC.4 4 +LIRC.5 5 +LIRC.6 6 +LIRC.7 7 +LIRC.8 8 +LIRC.9 9 +LIRC.User1 User1 +LIRC.User2 User2 +LIRC.User3 User3 +LIRC.User4 User4 +LIRC.User5 User5 +LIRC.User6 User6 +LIRC.User7 User7 +LIRC.User8 User8 +LIRC.User9 User9 +softdevice-xv.Up 000000000000FF52 +softdevice-xv.Down 000000000000FF54 +softdevice-xv.Menu 000000000000006D +softdevice-xv.Ok 000000000000FF0D +softdevice-xv.Back 000000000000FF08 +softdevice-xv.Left 000000000000FF51 +softdevice-xv.Right 000000000000FF53 +softdevice-xv.Red 000000000000FFBE +softdevice-xv.Green 000000000000FFBF +softdevice-xv.Yellow 000000000000FFC0 +softdevice-xv.Blue 000000000000FFC1 +softdevice-xv.0 0000000000000030 +softdevice-xv.1 0000000000000031 +softdevice-xv.2 0000000000000032 +softdevice-xv.3 0000000000000033 +softdevice-xv.4 0000000000000034 +softdevice-xv.5 0000000000000035 +softdevice-xv.6 0000000000000036 +softdevice-xv.7 0000000000000037 +softdevice-xv.8 0000000000000038 +softdevice-xv.9 0000000000000039 +softdevice-xv.Volume+ 000000000000FFAB +softdevice-xv.Volume- 000000000000FFAD +softdevice-xv.Mute 000000000000FFAA +softdevice-xv.Audio 000000000000FFC2 +softdevice-xv.Schedule 000000000000FFC3 +softdevice-xv.Channels 000000000000FFC4 +softdevice-xv.Timers 000000000000FFC5 +softdevice-xv.Recordings 000000000000FFC6 +softdevice-xv.Setup 000000000000FFC7 +softdevice-xv.Commands 000000000000FFC8 +softdevice-xv.User1 000000000000FFC9 diff --git a/extra/symsalabim b/extra/symsalabim new file mode 100644 index 0000000..ffff0de --- /dev/null +++ b/extra/symsalabim @@ -0,0 +1,82 @@ +#!/bin/sh +# x-vdr (vdr-installer für kanotix) +# von Marc Wernecke - www.zulu-entertainment.de +# 20.07.2006 + +# workingdir +if [ $# -eq 0 ]; then + DIR="`pwd`/vdrsyms" +else + DIR="$*" +fi +[ ! -d "$DIR" ] && mkdir -p "$DIR" + +# load settings +SOURCEDIR=/usr/local/src +XVDRCONF=`dirname $0`/../x-vdr.conf +[ -f $XVDRCONF ] && . $XVDRCONF && echo "x-vdr.conf - found" +. /etc/default/vdr && echo "/etc/default/vdr - found" + +## VDRCONFIG +# symlink to $VDRCONFDIR +_VDRCONFDIR="$DIR/`basename $VDRCONFDIR`" +[ -L $_VDRCONFDIR ] && rm -f $_VDRCONFDIR +[ ! -d $_VDRCONFDIR ] && ln -vnfs $VDRCONFDIR $_VDRCONFDIR + +# symlink to $VDRSCRIPTDIR +_VDRSCRIPTDIR="$DIR/`basename $VDRSCRIPTDIR`" +[ -L $_VDRSCRIPTDIR ] && rm -f $_VDRSCRIPTDIR +[ ! -d $_VDRSCRIPTDIR ] && ln -vnfs $VDRSCRIPTDIR $_VDRSCRIPTDIR + +# symlink to $VDRLIBDIR +_VDRLIBDIR="$DIR/`basename $VDRLIBDIR`" +[ -L $_VDRLIBDIR ] && rm -f $_VDRLIBDIR +[ ! -d $_VDRLIBDIR ] && ln -vnfs $VDRLIBDIR $_VDRLIBDIR + +# symlink to $VDRVARDIR +_VDRVARDIR="$DIR/`basename $VDRVARDIR`" +[ -L $_VDRVARDIR ] && rm -f $_VDRVARDIR +[ ! -d $_VDRVARDIR ] && ln -vnfs $VDRVARDIR $_VDRVARDIR + +# symlink to $SOURCEDIR +_SOURCEDIR="$DIR/`basename $SOURCEDIR`" +[ -L $_SOURCEDIR ] && rm -f $_SOURCEDIR +[ ! -d $_SOURCEDIR ] && ln -vnfs $SOURCEDIR $_SOURCEDIR + +# symlink to /etc/default/vdr +_VDRDEFAULT="$DIR/vdr-default" +[ -L $_VDRDEFAULT ] && rm -f $_VDRDEFAULT +[ ! -d $_VDRDEFAULT ] && ln -vnfs /etc/default/vdr $_VDRDEFAULT + +## VDRMEDIA +# symlink to $MEDIADIR +_MEDIADIR="$DIR/`basename $MEDIADIR`" +[ -L $_MEDIADIR ] && rm -f $_MEDIADIR +[ ! -d $_MEDIADIR ] && ln -vnfs $MEDIADIR $_MEDIADIR + +# symlink to $VIDEODIR +_VIDEODIR="$DIR/`basename $VIDEODIR`" +[ -L $_VIDEODIR ] && rm -f $_VIDEODIR +[ ! -d $_VIDEODIR ] && ln -vnfs $VIDEODIR $_VIDEODIR + +# symlink to $MUSICDIR +_MUSICDIR="$DIR/`basename $MUSICDIR`" +[ -L $_MUSICDIR ] && rm -f $_MUSICDIR +[ ! -d $_MUSICDIR ] && ln -vnfs $MUSICDIR $_MUSICDIR + +# symlink to $DIVXDIR +_DIVXDIR="$DIR/`basename $DIVXDIR`" +[ -L $_DIVXDIR ] && rm -f $_DIVXDIR +[ ! -d $_DIVXDIR ] && ln -vnfs $DIVXDIR $_DIVXDIR + +# symlink to $PICTUREDIR +_PICTUREDIR="$DIR/`basename $PICTUREDIR`" +[ -L $_PICTUREDIR ] && rm -f $_PICTUREDIR +[ ! -d $_PICTUREDIR ] && ln -vnfs $PICTUREDIR $_PICTUREDIR + +# symlink to $DVDISODIR +_DVDISODIR="$DIR/`basename $DVDISODIR`" +[ -L $_DVDISODIR ] && rm -f $_DVDISODIR +[ ! -d $_DVDISODIR ] && ln -vnfs $DVDISODIR $_DVDISODIR + +exit 0 diff --git a/extra/vdrcommander b/extra/vdrcommander new file mode 100644 index 0000000..ba5471d --- /dev/null +++ b/extra/vdrcommander @@ -0,0 +1,211 @@ +#!/bin/bash + +# vdr-commander 0.0.1 (start-script for VDR) +# by Marc Wernecke - www.zulu-entertainment.de +# 30.05.2007 +VERSION="vdrcommander 0.0.1" + +### Config #################################################################################### +SERVERIP="" +MAC="" +NONROOT="true" + +### Arguments ################################################################################# +[ -r $HOME/vdrcommander.conf ] && . $HOME/vdrcommander.conf +KILLVDR="false" +RUNVDR="false" + +for i in $* ; do + case $1 in + --help|-h) + echo "$VERSION" + echo "--help|-h Shows the help text and exit" + echo "--nonroot|-n Sets NONROOT flag" + echo "--reset|-r Remove the configuration file (\$HOME/vdrcommander.conf)" + echo "--ip|-i [ip] 127.0.0.1 for localhost or any other ip for a vdr-server in your local-network" + echo "--mac|-m 00:00:00:00:00:00" + echo "--version|-v Shows the script version and exit" + exit 0 + ;; + --nonroot|-n) + NONROOT="true" + ;; + --reset|-R) + if [ -f $HOME/vdrcommander.conf ]; then + rm -f $HOME/vdrcommander.conf + SERVERIP= + MAC= + fi + ;; + --killvdr|-k) + KILLVDR="true" + ;; + --runvdr|-r) + RUNVDR="true" + ;; + --ip|-i) + shift 1 + SERVERIP="$1" + ;; + --mac|-m) + shift 1 + MAC="$1" + ;; + --version|-v) + echo "$VERSION" + exit 0 + ;; + esac + shift 1 +done + +if [ -n "`ps x --user root | grep "/usr/.*bin/X.*:0" | grep -v grep`" ]; then # X is running + DIALOG="Xdialog" + d_args="--left --wrap" + d_size="0 0" +else + DIALOG="dialog" + d_args="" + d_size="19 70" +fi + + +### Functions ################################################################################# +function _exit() { + case $1 in + 0) exit 0 + ;; + 1) exit 1 + ;; + 2) exit 2 + ;; + esac + exit 0 +} + +function _suonly() { + [ "$NONROOT" = "true" ] && return 0 + # superuser only + SU=$(which kanotix-su) + [ -n "$SU" ] || SU=$(which su-me) + if [ "`id -u`" != "0" ] && [ -n "$SU" ]; then + exec $SU $0 $ARGS || _exit 1 + _exit 0 + else + return 2 +# _exit 2 + fi + return 0 +} + +function _vdr() { + # Check if VDR is running + [ `ps -C vdr | grep -cw "vdr"` -eq 0 ] && return 1 + return 0 +} + +function _serverip() { + SERVERIP=`$DIALOG $d_args --title " $VERSION " --inputbox "VDR-Server IP" 10 50 "$SERVERIP" 3>&1 1>&2 2>&3` + [ $? != 0 ] && return 1 + [ "$SERVERIP" = "" ] && return 1 + echo "SERVERIP=$SERVERIP" >> $HOME/vdrcommander.conf + return 0 +} + +function _mac() { + MAC=`$DIALOG $d_args --title " $VERSION " --inputbox "VDR-Server MAC" 10 50 "$MAC" 3>&1 1>&2 2>&3` + [ $? != 0 ] && return 1 + [ "$MAC" = "" ] && return 1 + echo "MAC=$MAC" >> $HOME/vdrcommander.conf + return 0 +} + +function _ping() { + [ -n "$SERVERIP" ] || return 2 +# $DIALOG $d_args --title " $VERSION " --infobox "Sende ping zu VDR-Server ($SERVERIP)" $d_size & + ping -c1 $SERVERIP > /dev/null || return 1 + return 0 +} + +function _wakeonlan() { + [ -n "$SERVERIP" ] || _serverip + [ -n "$MAC" ] || _mac + _ping && return 0 + $DIALOG $d_args --title " $VERSION " --infobox "Wecke VDR-Server ($MAC)" $d_size & + wakeonlan $MAC || return 1 + STATUS="VDR-Server wurde gestartet" + return 0 +} + +function _runvdr() { + ARGS="--runvdr" + _suonly + _vdr || runvdr > /dev/null & + STATUS="VDR wurde gestartet" +} + +function _killvdr() { + ARGS="--killvdr" + _suonly + _vdr || return 0 + vdrplayer --exit + killall -9 runvdr + killall -9 vdr + STATUS="VDR wurde beendet" +} + +function _status() { + USER=`id -un` + if [ -z "$STATUS" ]; then + STATUS="VDR ist aktiv" + _vdr || STATUS="VDR ist nicht aktiv" + fi + _ping && STATUS="$STATUS \nServer ist online ($SERVERIP)" +} + +function _vdrversion() { + if [ "$DIALOG" = "Xdialog" ]; then + vdr --version > /tmp/vdrversion.txt + $DIALOG $d_args --title " $VERSION " --no-cancel --textbox "/tmp/vdrversion.txt" $d_size + else + VDRVERSION=$(vdr --version) + $DIALOG $d_args --title " $VERSION " --msgbox "$VDRVERSION" $d_size + fi +} + + +### Main Script ############################################################################### +# superuser only +_suonly +NONROOT="false" +[ "$KILLVDR" = "true" ] && _killvdr +[ "$RUNVDR" = "true" ] && _runvdr +[ -n "$SERVERIP" ] && $DIALOG $d_args --title " $VERSION " --infobox "Sende ping zu VDR-Server ($SERVERIP)" $d_size & + +# Dialog +while true; do + _status + option=`$DIALOG $d_args --title " $VERSION" --menu \ + "Benutzer ist \"$USER\" \n$STATUS" $d_size 10 \ + '0' 'Anzeige aktualisieren' \ + '1' 'VDR starten' \ + '2' 'VDR beenden' \ + '3' 'VDR Player aufrufen' \ + '4' 'Server aufwecken' \ + '5' 'x-vdr aufrufen' \ + '6' 'VDR-Version anzeigen' 3>&1 1>&2 2>&3` + [ $? != 0 ] && _exit 1 + ARGS="" + STATUS="" + + case $option in + 1) _runvdr ;; + 2) _killvdr ;; + 3) vdrplayer & ;; + 4) _wakeonlan ;; + 5) x-vdr -x & ;; + 6) _vdrversion ;; + esac +done + +_exit 0 \ No newline at end of file diff --git a/extra/x-vdr.desktop b/extra/x-vdr.desktop new file mode 100644 index 0000000..322fccc --- /dev/null +++ b/extra/x-vdr.desktop @@ -0,0 +1,19 @@ +[Desktop Entry] +Comment= +Comment[de]= +Encoding=UTF-8 +Exec=x-vdr +GenericName= +GenericName[de]= +Icon= +MimeType= +Name=x-vdr +Name[de]=x-vdr +Path= +StartupNotify=false +Terminal=false +TerminalOptions= +Type=Application +X-DCOP-ServiceType=none +X-KDE-SubstituteUID=false +X-KDE-Username= diff --git a/extra/xhost b/extra/xhost new file mode 100644 index 0000000..e539390 --- /dev/null +++ b/extra/xhost @@ -0,0 +1,5 @@ +#!/bin/sh + +xhost local:localhost + +exit 0 diff --git a/extra/xine-mplayer-sh/mplayer.sh b/extra/xine-mplayer-sh/mplayer.sh new file mode 100644 index 0000000..c7c9829 --- /dev/null +++ b/extra/xine-mplayer-sh/mplayer.sh @@ -0,0 +1,63 @@ +#!/bin/sh +# +# mplayer.sh for x-vdr and xine +# Marc Wernecke - www.zulu-entertainment.de +# 28.09.2005 +# +# This script is called from VDR to start mplayer +# +# argument 1: the file to play +# argument 2: (optional) the phrase SLAVE if SlaveMode is enabled +# argument 3: (optional) the phrase AID x to select audio stream x + +# Where to find mplayer +MPLAYER="mplayer" + +# mplayer options +OPTS="-fs -vo xv -ao oss -cache 4096" + +# mplayer options for SlaveMode +SLAVE="-slave -quiet -nolirc" + +# DVD-Device +DVD="/dev/dvd" + +# What languages do your DVD's use ? +DVDLANG="de" + +# extra DVD options +DVDOPTIONS="-af list=volume:volume=170" + +#################################################################################### + +FILE=$1 +type=`file "$FILE"` + +while shift; do + if [ "$1" = "SLAVE" ]; then + sopt=$SLAVE + elif [ "$1" = "AID" ]; then + aopt="-aid $2" + shift + fi +done + +CMDLINE="$MPLAYER $OPTS $sopt $aopt" + +# get the file extension of the video +SUFFIX=$(echo -e "${FILE:$[${#FILE}-4]:4}" | tr [A-Z] [a-z]) + +# for debug only +echo "MPLayer command: $CMDLINE" 2>&1 |logger + +case $SUFFIX in + .iso ) DISPLAY=:0.0 $CMDLINE -alang $DVDLANG $DVDOPTIONS -dvd-device "$FILE" dvd:// 2>&1 |logger;; + /dvd ) DISPLAY=:0.0 $CMDLINE -alang $DVDLANG $DVDOPTIONS -dvd-device $DVD dvd:// 2>&1 |logger ;; + /vcd ) DISPLAY=:0.0 $CMDLINE -cdrom-device $DVD vcd:// 2>&1 |logger;; + .cue ) DISPLAY=:0.0 $CMDLINE -cdrom-device $DVD cue://"$FILE":2 2>&1 |logger ;; + * ) DISPLAY=:0.0 $CMDLINE "$FILE" 2>&1 |logger ;; +esac + +exit + +#################################################################################### diff --git a/extra/xine-vdr.desktop b/extra/xine-vdr.desktop new file mode 100644 index 0000000..2e2e5da --- /dev/null +++ b/extra/xine-vdr.desktop @@ -0,0 +1,22 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Name=xine-vdr +Comment= +Comment[de]= +Exec=xine "vdr:/tmp/vdr-xine/stream#demux:mpeg_pes" -f -g --post vdr --post vdr_audio +GenericName=dvb +GenericName[de]=dvb +Icon=video +MimeType=video/mp4;video/mpeg;video/quicktime;video/x-flic;video/x-msvideo;video/x-ogm;video/x-theora; +Name[de]=xine-vdr +Path= +ServiceTypes= +StartupNotify=false +Terminal=false +TerminalOptions= +Type=Application +X-DCOP-ServiceType=none +X-KDE-SubstituteUID=false +X-KDE-Username= +GenericName[de_DE@euro]=dvb diff --git a/functions b/functions new file mode 100644 index 0000000..7cf784e --- /dev/null +++ b/functions @@ -0,0 +1,1100 @@ +#!/bin/sh + +# x-vdr (Installations-Skript fuer einen VDR mit Debian als Basis) +# von Marc Wernecke - www.zulu-entertainment.de +# 11.04.2009 + +# x-vdr functions + +########################################################### +## bash + +## bash alias +alias ..="cd .." +alias which="type -path" +alias where="type -all" +alias rm="rm" +alias mv="mv" +alias cp="cp" + +## x-vdr alias +alias unfreeze_rc=`which unfreeze-rc.d` +alias freeze_rc=`which freeze-rc.d` + +########################################################### +## Defaults +BACKUPDIR="/tmp/vdr-backup" +BACKUPPATH="$SOURCEDIR/x-vdr/backup" + +########################################################### +## General Functions + +# schreibe in logfile und screen +function log() { + LOGFILE="/var/log/x-vdr.log" + if [ "$1" = "--silent" ]; then + shift 1 + echo "`date` $*" >> $LOGFILE + else + echo "`date` $*" >> $LOGFILE + echo "$*" + fi +} + +# ueberpruefe eingabe (on/off) +function verify_input() { + input="$1" + [ "vi_${input}" != "vi_on" ] && input="off" + echo "$input" +} + +# ueberpruefe vdr versions nummer +function verify_vdrversion() { + input="$1" + if [ -z "$(echo "$input" | sed -e 's/ //' | grep "^1.[6-7].\+[0-9]$")" ]; then +# $DIALOG $d_args --title " $version - Eingabefehler " --msgbox "Die VDR Versions Nummer ist ungueltig!" $d_size + log "Error - VDRVERSION ist ungueltig!" + return 1 + fi + return 0 +} + +# DVB_API_VERSION +function get_dvbapi { + if [ -d $SOURCEDIR/DVB ]; then + VERSION_H=$(find $SOURCEDIR/DVB/ | grep "/version.h$") + else + VERSION_H=$(find /usr/include/linux/dvb/ | grep "/version.h$") + fi + + if [ -n "$VERSION_H" ]; then + DVB_API_VERSION=$(grep -m1 "DVB_API_VERSION" $VERSION_H | cut -f3 -d" ") + DVB_API_VERSION_MINOR=$(grep -m1 "DVB_API_VERSION_MINOR" $VERSION_H | cut -f3 -d" ") + fi +} + +# apt + +function apt_installed() { + [ "$*" != "" ] || return 1 + [ -n "$error_file" ] || error_file="/var/log/x-vdr.log" + + # set LANGUAGE to "en" + LANGUAGE_OLD="$LANGUAGE" + export LANGUAGE="en" + + + package="$1" + + if [ -n "$(echo $package | grep '/')" ]; then + package_tmp=$(echo $package | cut -f 1 -d '/') + apt_cache=$(apt-cache policy $package_tmp) + elif [ -n "$(echo $package | grep '=')" ]; then + package_tmp=$(echo $package | cut -f 1 -d '=') + apt_cache=$(apt-cache policy $package_tmp) + else + apt_cache=$(apt-cache policy $package) + fi + + export LANGUAGE="$LANGUAGE_OLD" + + if [ "$apt_cache" != "" ] && [ -z "$(echo $apt_cache | grep 'Installed.*(none)')" ]; then # installed + version=$(echo $apt_cache | cut -f 3 -d ':' | sed -e 's/Candidate//g' -e 's/^ //g' -e 's/ $//g') + if [ `echo $version | wc -m` -eq 2 ]; then + version=$(echo $apt_cache | cut -f 3,4 -d ':' | sed -e 's/Candidate//g' -e 's/^ //g' -e 's/ $//g') + fi + if [ "`echo $version | grep xvdr`" ]; then + echo "xvdr" + else + echo "debian" + fi + return 0 + fi + + echo "not installed" + return 1 +} + + +function apt_install() { + [ "$*" != "" ] || return 1 + [ -n "$error_file" ] || error_file="/var/log/x-vdr.log" + + # set LANGUAGE to "en" + LANGUAGE_OLD="$LANGUAGE" + export LANGUAGE="en" + + # check if the package is... + for package in $*; do + if [ "$APT_UPGRADE" = "on" ]; then + result=1 + apt-get -y --force-yes install $package && result=$? + case $result in + 0 ) log "$package is installed now" ;; + * ) log "ERROR - $package could not installed" ; EXITCODE=1 ; echo $package >> $error_file ;; + esac + + else + if [ -n "$(echo $package | grep '/')" ]; then + package_tmp=$(echo $package | cut -f 1 -d '/') + apt_cache=$(apt-cache policy $package_tmp) + elif [ -n "$(echo $package | grep '=')" ]; then + package_tmp=$(echo $package | cut -f 1 -d '=') + apt_cache=$(apt-cache policy $package_tmp) + else + apt_cache=$(apt-cache policy $package) + fi + + if [ "$apt_cache" != "" ]; then + if [ -n "$(echo $apt_cache | grep 'Installed.*(none)')" ]; then # not installed + version=$(echo $apt_cache | cut -f 4 -d ':' | sed -e 's/Version table//g' -e 's/^ //g' -e 's/ $//g') + if [ `echo $version | wc -m` -eq 2 ]; then + version=$(echo $apt_cache | cut -f 4,5 -d ':' | sed -e 's/Version table//g' -e 's/^ //g' -e 's/ $//g') + fi + result=1 + apt-get -y --force-yes install $package && result=$? + case $result in + 0 ) log "$package ($version) is installed now" ;; + * ) log "ERROR - $package could not installed" ; EXITCODE=1 ; echo $package >> $error_file ;; + esac + else # installed + version=$(echo $apt_cache | cut -f 3 -d ':' | sed -e 's/Candidate//g' -e 's/^ //g' -e 's/ $//g') + if [ `echo $version | wc -m` -eq 2 ]; then + version=$(echo $apt_cache | cut -f 3,4 -d ':' | sed -e 's/Candidate//g' -e 's/^ //g' -e 's/ $//g') + fi + log "$package ($version) is already installed" + fi + else # not found + log "ERROR - Unable to locate package $package" + fi + fi + done + export LANGUAGE="$LANGUAGE_OLD" +} + +function apt_remove() { + [ "$*" != "" ] || return 1 + [ -n "$error_file" ] || error_file="/var/log/x-vdr.log" + + # set LANGUAGE to "en" + LANGUAGE_OLD="$LANGUAGE" + export LANGUAGE="en" + + # check if the package is... + for package in $*; do + apt_cache=$(apt-cache policy $package) + if [ "$apt_cache" != "" ]; then + if [ -n "$(echo $apt_cache | grep 'Installed.*(none)')" ]; then # not installed + log "$package is not installed" + else # installed + result=1 + apt-get -y --force-yes --purge remove $package && result=$? + case $result in + 0 ) log "$package is removed now" ;; + * ) log "ERROR - $package could not removed" ; EXITCODE=1 ; echo $package >> $error_file ;; + esac + fi + else # not found + log "ERROR - Unable to locate package $package" + fi + done + export LANGUAGE="$LANGUAGE_OLD" +} + +########################################################### +## Install VDR Functions + +# user und group erstellen +function make_user() { + if [ "$VDRUSER" != "root" ]; then + if [ "$INS_USER" = "on" ] && [ `cat /etc/passwd | grep -cw "^${VDRUSER}:x"` -eq 0 ]; then + addgroup --gid 99 $VDRGROUP + useradd -u 99 -g $VDRGROUP -d $VDRCONFDIR -s /bin/bash -c "Video Disk Recorder" $VDRUSER + adduser $VDRUSER audio + adduser $VDRUSER video + adduser $VDRUSER cdrom + adduser $VDRUSER lp + log "VDRUSER = $VDRUSER" + log "VDRGROUP = $VDRGROUP" + elif [ "$INS_USER" = "off" ] && [ `cat /etc/passwd | grep -cw "^${VDRUSER}:x"` -gt 0 ]; then + log "VDRUSER = $VDRUSER" + log "VDRGROUP = $VDRGROUP" + log "Der user muss zur Zeit noch von Hand geloescht werden." + fi + fi +} + +# autostart on/off +function make_autostart() { + INITSCRIPT="vdr" + [ "$*" ] && INITSCRIPT=$1 + test -x /etc/init.d/$INITSCRIPT || return 1 + if [ "$AUTOSTART" = "on" ]; then + unfreeze_rc + update-rc.d $INITSCRIPT defaults 99 && log "Enable Autostart for: $INITSCRIPT" + freeze_rc + elif [ "$AUTOSTART" = "off" ]; then + unfreeze_rc + update-rc.d -f $INITSCRIPT remove && log "Disable Autostart for: $INITSCRIPT" + freeze_rc + fi +} + +# Erstellen der Verzeichnisse +function make_dirs() { + # media verzeichnis erstellen + [ ! -d $MEDIADIR ] && mkdir -p $MEDIADIR && log "Erstelle $MEDIADIR" + # video verzeichnis erstellen + [ ! -d $VIDEODIR ] && mkdir -p $VIDEODIR && log "Erstelle $VIDEODIR" + # musik verzeichnis erstellen + [ ! -d $MUSICDIR ] && mkdir -p $MUSICDIR && log "Erstelle $MUSICDIR" + # mkdir divx verzeichnis erstellen + [ ! -d $DIVXDIR ] && mkdir -p $DIVXDIR && log "Erstelle $DIVXDIR" + # bilder verzeichnis erstellen + [ ! -d $PICTUREDIR ] && mkdir -p $PICTUREDIR && log "Erstelle $PICTUREDIR" + # dvdimage verzeichnis erstellen + [ ! -d $DVDISODIR ] && mkdir -p $DVDISODIR && log "Erstelle $DVDISODIR" + # erstellen des man verzeichnisses + [ ! -d $VDRMANDIR/man1 ] && mkdir -p $VDRMANDIR/man1 && log "Erstelle $VDRMANDIR/man1" + [ ! -d $VDRMANDIR/man5 ] && mkdir -p $VDRMANDIR/man5 && log "Erstelle $VDRMANDIR/man5" + # epg + [ ! -d $VDRVARDIR ] && mkdir -p $VDRVARDIR && log "Erstelle $VDRVARDIR" + # vdr, runvdr, vdr2root, etc. + [ ! -d $VDRBINDIR ] && mkdir -p $VDRBINDIR && log "Erstelle $VDRBINDIR" + # VDRSCRIPTDIR. + [ ! -d $VDRSCRIPTDIR ] && mkdir -p $VDRSCRIPTDIR && log "Erstelle $VDRSCRIPTDIR" + # config + [ ! -d $VDRCONFDIR/plugins ] && mkdir -p $VDRCONFDIR/plugins && log "Erstelle $VDRCONFDIR" + [ ! -d $VDRCONFDIR/themes ] && mkdir -p $VDRCONFDIR/themes + # plugins + [ ! -d $VDRLIBDIR ] && mkdir -p $VDRLIBDIR && log "Erstelle $VDRLIBDIR" + # rechte setzen + chown -R $VDRUSER:$VDRGROUP $VDRCONFDIR $VDRSCRIPTDIR $VDRVARDIR $VIDEODIR $MUSICDIR $DIVXDIR $DVDISODIR $PICTUREDIR $MEDIADIR +} + +# Erstelle /etc/default/vdr +function make_default() { + [ "$setup" = "on" ] && submenu="off" + DEFAULT="/etc/default/vdr" + { + echo "# $DEFAULT" + echo "# x-vdr `date '+%F %T'`" + echo "#" + echo "" + echo "# init.d" + echo "AUTOSTART=\"$AUTOSTART\"" + echo "XPLAYER=\"$XPLAYER\"" + echo "" + echo "" + echo "# vdr" + echo "VDRUSER=\"$VDRUSER\"" + echo "VDRGROUP=\"$VDRGROUP\"" + echo "VDRBINDIR=\"$VDRBINDIR\"" + echo "VDRPRG=\"$VDRPRG\"" + echo "VDRCONFDIR=\"$VDRCONFDIR\"" + echo "VDRLIBDIR=\"$VDRLIBDIR\"" + echo "VDRSCRIPTDIR=\"$VDRSCRIPTDIR\"" + echo "VDRVARDIR=\"$VDRVARDIR\"" + echo "MEDIADIR=\"$MEDIADIR\"" + echo "VIDEODIR=\"$VIDEODIR\"" + echo "MUSICDIR=\"$MUSICDIR\"" + echo "DVDISODIR=\"$DVDISODIR\"" + echo "PICTUREDIR=\"$PICTUREDIR\"" + echo "DIVXDIR=\"$DIVXDIR\"" + echo "DVDBURNER=\"$DVDBURNER\"" + echo "KEYB_TTY=\"$KEYB_TTY\"" + echo "VDRLANG=\"$VDRLANG\"" + echo "VDRCHARSET=\"$VDRCHARSET\"" + echo "WATCHDOG=$WATCHDOG" + echo "XV_DISPLAY=$XV_DISPLAY" + echo "" + echo "" + # utilities + echo "# utilities" + echo "em8300=\"$em8300\"" + echo "graphlcd_base=\"$graphlcd_base\"" + echo "LCDproc=\"$LCDproc\"" + echo "lirc=\"$lirc\"" + echo "lirc_port=\"$lirc_port\"" + echo "noad=\"$noad\"" + echo "vdradmin=\"$vdradmin\"" +# echo "vdrconvert=\"$vdrconvert\"" +# echo "tvmovie2vdr=\"$tvmovie2vdr\"" +# echo "ssh=\"$ssh\"" +# echo "samba=\"$samba\"" +# echo "mysql=\"$mysql\"" +# echo "kde=\"$kde\"" +# echo "xxv=\"$xxv\"" +# echo "fb_tv=\"$fb_tv\"" + echo "" + echo "" + # plugins + echo "# plugins" + echo "PLUGINS_ON_TOP=\"$PLUGINS_ON_TOP\"" + xPlugins -d + echo "" + } > $DEFAULT +} + +# verify patchlevel +function verify_patchlevel() { + case "$PATCHLEVEL" in + e*|E*) PATCHLEVEL="EXTENSIONS";; + p*|P*) PATCHLEVEL="PATCHES";; + *) PATCHLEVEL="PLAIN";; + esac + ANALOGTV=`verify_input "$ANALOGTV"` + ATSC=`verify_input "$ATSC"` + CHANNELSCAN=`verify_input "$CHANNELSCAN"` + CMDRECCMDI18N=`verify_input "$CMDRECCMDI18N"` + CMDSUBMENU=`verify_input "$CMDSUBMENU"` + CUTTERLIMIT=`verify_input "$CUTTERLIMIT"` + CUTTERQUEUE=`verify_input "$CUTTERQUEUE"` + CUTTIME=`verify_input "$CUTTIME"` + DELTIMESHIFTREC=`verify_input "$DELTIMESHIFTREC"` + DDEPGENTRY=`verify_input "$DDEPGENTRY"` + DOLBYINREC=`verify_input "$DOLBYINREC"` + DVBPLAYER=`verify_input "$DVBPLAYER"` + DVBSETUP=`verify_input "$DVBSETUP"` + DVDARCHIVE=`verify_input "$DVDARCHIVE"` + DVDCHAPJUMP=`verify_input "$DVDCHAPJUMP"` + DVLFRIENDLYFNAMES=`verify_input "$DVLFRIENDLYFNAMES"` + DVLRECSCRIPTADDON=`verify_input "$DVLRECSCRIPTADDON"` + DVLVIDPREFER=`verify_input "$DVLVIDPREFER"` + EM84XX=`verify_input "$EM84XX"` + GRAPHTFT=`verify_input "$GRAPHTFT"` + HARDLINKCUTTER=`verify_input "$HARDLINKCUTTER"` + JUMPPLAY=`verify_input "$JUMPPLAY"` + LIEMIEXT=`verify_input "$LIEMIEXT"` + LIRCSETTINGS=`verify_input "$LIRCSETTINGS"` + LIVEBUFFER=`verify_input "$LIVEBUFFER"` + LNBSHARE=`verify_input "$LNBSHARE"` + MAINMENUHOOKS=`verify_input "$MAINMENUHOOKS"` + MENUORG=`verify_input "$MENUORG"` + NOEPG=`verify_input "$NOEPG"` + OSDMAXITEMS=`verify_input "$OSDMAXITEMS"` + PARENTALRATING=`verify_input "$PARENTALRATING"` + PINPLUGIN=`verify_input "$PINPLUGIN"` + PLUGINAPI=`verify_input "$PLUGINAPI"` + PLUGINMISSING=`verify_input "$PLUGINMISSING"` + PLUGINPARAM=`verify_input "$PLUGINPARAM"` + ROTOR=`verify_input "$ROTOR"` + SETTIME=`verify_input "$SETTIME"` + SETUP=`verify_input "$SETUP"` + SOFTOSD=`verify_input "$SOFTOSD"` + SOURCECAPS=`verify_input "$SOURCECAPS"` + SORTRECORDS=`verify_input "$SORTRECORDS"` + STREAMDEVEXT=`verify_input "$STREAMDEVEXT"` + SYNCEARLY=`verify_input "$SYNCEARLY"` + TIMERCMD=`verify_input "$TIMERCMD"` + TIMERINFO=`verify_input "$TIMERINFO"` + TTXTSUBS=`verify_input "$TTXTSUBS"` + VALIDINPUT=`verify_input "$VALIDINPUT"` + VOLCTRL=`verify_input "$VOLCTRL"` + WAREAGLEICON=`verify_input "$WAREAGLEICON"` + YAEPG=`verify_input "$YAEPG"` +} + +########################################################### +## VDR - BACKUP - CLEAN + +# backup vdr +function backup_vdr_bin() { + [ -d $BACKUPPATH ] || mkdir -p $BACKUPPATH + [ -d $BACKUPDIR ] && rm -rf $BACKUPDIR + mkdir -p $BACKUPDIR + # vdr + cp -pfR --parents $VDRCONFDIR $BACKUPDIR +# cp -pfR --parents $VDRVARDIR $BACKUPDIR + cp -pfR --parents $VDRLIBDIR $BACKUPDIR + cp -pfR --parents $VDRSCRIPTDIR $BACKUPDIR + cp -pf --parents $VDRPRG $BACKUPDIR + cp -pf --parents $VDRBINDIR/runvdr $BACKUPDIR + cp -pf --parents $VDRBINDIR/svdrpsend.pl $BACKUPDIR + cp -pf --parents $VDRMANDIR/man1/vdr.1.gz $BACKUPDIR + cp -pf --parents $VDRMANDIR/man5/vdr.5.gz $BACKUPDIR + cp -pf --parents /etc/default/vdr $BACKUPDIR + cp -pf --parents /etc/init.d/vdr $BACKUPDIR + # burn + [ -f $VDRBINDIR/burn-bc ] && cp -pf --parents $VDRBINDIR/burn-bc $BACKUPDIR + [ -f $VDRBINDIR/burn-buffers ] && cp -pf --parents $VDRBINDIR/burn-buffers $BACKUPDIR + [ -f $VDRBINDIR/vdrburn-archive.sh ] && cp -pf --parents $VDRBINDIR/vdrburn-archive.sh $BACKUPDIR + [ -f $VDRBINDIR/vdrburn-dvd.sh ] && cp -pf --parents $VDRBINDIR/vdrburn-dvd.sh $BACKUPDIR + # extrecmenu + [ -f $VDRBINDIR/dvdarchive.sh ] && cp -pf --parents $VDRBINDIR/dvdarchive.sh $BACKUPDIR + # pin (fskcheck) + [ -f $VDRBINDIR/fskcheck ] && cp -pf --parents $VDRBINDIR/fskcheck $BACKUPDIR + # softdevice (ShmClient) + [ -f $VDRBINDIR/ShmClient ] && cp -pf --parents $VDRBINDIR/ShmClient $BACKUPDIR + # xineliboutput (frontends and xine plugins) + [ -f $VDRBINDIR/vdr-fbfe ] && cp -pf --parents $VDRBINDIR/vdr-fbfe $BACKUPDIR + [ -f $VDRBINDIR/vdr-sxfe ] && cp -pf --parents $VDRBINDIR/vdr-sxfe $BACKUPDIR + # tarball + BACKUPFILE=$BACKUPPATH/`date +%y%m%d-%H%M`-vdr-bin.tar.gz + cd $BACKUPDIR + tar -zcf $BACKUPFILE * && log --silent "$BACKUPFILE created" + cd $SOURCEDIR/x-vdr + rm -rf $BACKUPDIR +} + +function backup_vdr_src() { + [ -d $BACKUPPATH ] || mkdir -p $BACKUPPATH + [ -d $BACKUPDIR ] && rm -rf $BACKUPDIR + mkdir -p $BACKUPDIR + cp -pfR --parents $SOURCEDIR/VDR $BACKUPDIR + if [ -d "$SOURCEDIR/vdr-$VDRVERSION" ]; then + cp -pfR --parents $SOURCEDIR/vdr-$VDRVERSION $BACKUPDIR + else + cp -pfR --parents $SOURCEDIR/vdr-* $BACKUPDIR + fi + BACKUPFILE=$BACKUPPATH/`date +%y%m%d-%H%M`-vdr-src.tar.gz + cd $BACKUPDIR + tar -zcf $BACKUPFILE * && log --silent "$BACKUPFILE created" + cd $SOURCEDIR/x-vdr + rm -rf $BACKUPDIR +} + + +function backup_vdr_conf() { + [ -d $BACKUPPATH ] || mkdir -p $BACKUPPATH + [ -d $BACKUPDIR ] && rm -rf $BACKUPDIR + mkdir -p $BACKUPDIR + cp -pfR --parents $VDRCONFDIR $BACKUPDIR + cp -pfR --parents $VDRSCRIPTDIR $BACKUPDIR + cp -pf --parents $VDRBINDIR/runvdr $BACKUPDIR + cp -pf --parents /etc/default/vdr $BACKUPDIR + cp -pf --parents /etc/init.d/vdr $BACKUPDIR + + local _AllUser="$(ls /home)" + for _User in $_AllUser; do + [ -d /home/$_User/.xine ] && cp -pfR --parents /home/$_User/.xine $BACKUPDIR + [ -f /home/$_User/vdrplayer.conf ] && cp -pf --parents /home/$_User/vdrplayer.conf $BACKUPDIR + done + [ -d /root/.xine ] && cp -pfR --parents /root/.xine $BACKUPDIR + [ -f /root/vdrplayer.conf ] && cp -pf --parents /root/vdrplayer.conf $BACKUPDIR + + BACKUPFILE=$BACKUPPATH/`date +%y%m%d-%H%M`-vdr-conf.tar.gz + cd $BACKUPDIR + tar -zcf $BACKUPFILE * && log --silent "$BACKUPFILE created" + cd $SOURCEDIR/x-vdr + rm -rf $BACKUPDIR +} + +# clean vdr +function clean_vdr() { + VDRCONF=`basename $VDRCONFDIR` + VDRVAR=`basename $VDRVARDIR` + VDRLIB=`basename $VDRLIBDIR` + VDRSCRIPT=`basename $VDRSCRIPTDIR` + # vdr + [ "$VDRCONF" = "vdr" ] && rm -rf "$VDRCONFDIR" + [ "$VDRVAR" = "epgdata" ] && rm -rf "$VDRVARDIR" + [ "$VDRLIB" = "plugins" ] && rm -rf "$VDRLIBDIR" + [ "$VDRSCRIPT" = "scripts" ] && rm -rf "$VDRSCRIPTDIR" + rm -f "$VDRPRG" + rm -f "$VDRBINDIR/runvdr" + rm -f "$VDRBINDIR/svdrpsend.pl" + rm -f "$VDRMANDIR/man1/vdr.1.gz" + rm -f "$VDRMANDIR/man5/vdr.5.gz" + rm -f /etc/default/vdr + # burn + rm -f "$VDRBINDIR/burn-bc" + rm -f "$VDRBINDIR/burn-buffers" + rm -f "$VDRBINDIR/vdrburn-archive.sh" + rm -f "$VDRBINDIR/vdrburn-dvd.sh" + # extrecmenu + rm -f "$VDRBINDIR/dvdarchive.sh" + # pin (fskcheck) + rm -f "$VDRBINDIR/fskcheck" + # softdevice (ShmClient) + rm -f "$VDRBINDIR/ShmClient" + # xineliboutput (frontends and xine plugins) + rm -f "$VDRBINDIR/vdr-fbfe" + rm -f "$VDRBINDIR/vdr-sxfe" + # init rc + local AUTOSTART="off" + make_autostart + rm -f /etc/init.d/vdr + log --silent "VDR removed" +} + +# vdr sourcen entfernen +function clean_vdr_src() { + rm -rf "$SOURCEDIR/VDR" + if [ -d "$SOURCEDIR/vdr-$VDRVERSION" ]; then + rm -rf "$SOURCEDIR/vdr-$VDRVERSION" + log --silent "VDR Source removed" + fi +} + +# vdr scripte und config entfernen - nur fuer start_reactivate (x-vdr.sh) +function clean_vdr_conf() { + VDRCONF=`basename $VDRCONFDIR` + VDRSCRIPT=`basename $VDRSCRIPTDIR` + [ "$VDRCONF" = "vdr" ] && rm -rf "$VDRCONFDIR" + [ "$VDRSCRIPT" = "scripts" ] && rm -rf "$VDRSCRIPTDIR" + rm -f $VDRBINDIR/runvdr + rm -f /etc/default/vdr + rm -f /etc/init.d/vdr + log --silent "VDR Scripts and Config removed" +} +########################################################### +## Utilitie Functions + +# download util +function download_util() { + cd $DIR + if [ -f "$FILES/utilities/$VAR" ]; then + log "$VAR gefunden" + elif [ -f "$VAR" ]; then + log "$VAR gefunden" + cp "$VAR" "$FILES/utilities" + else + log "$VAR nicht gefunden" + log "Starte download von $VAR" + for i in $WEB; do + wget --tries=2 "$i" --directory-prefix="$FILES/utilities" && log "Download von $VAR erfolgreich" && break + done + [ ! -f "$FILES/utilities/$VAR" ] && log "Download von $VAR nicht erfolgreich" && exit 1 + fi +} + +# extrahiere util +function extract_util() { + if echo "$FILES/utilities/$VAR" | grep ".bz2$" &>/dev/null; then + tar xjf "$FILES/utilities/$VAR" -C $SOURCEDIR && log "Extrahiere $VAR" + else + tar xzf "$FILES/utilities/$VAR" -C $SOURCEDIR && log "Extrahiere $VAR" + fi +} + +# check utilitie +function utilitie_check() { + KERNEL=`uname -r` + case $1 in + cdfs) + if [ -f /lib/modules/$KERNEL/extra/cdfs.ko ]; then + echo "" + echo "cdfs" + echo "/lib/modules/$KERNEL/extra/cdfs.ko" + return 2 + fi + ;; + em8300) + EM8300="/lib/modules/$KERNEL/em8300" + if [ -f $EM8300/adv717x.ko ] && [ -f $EM8300/bt865.ko ] && [ -f $EM8300/em8300.ko ]; then + echo "" + echo "adv717x.ko bt865.ko em8300.ko" + echo "$EM8300" + return 2 + fi + ;; + ffmpeg) + var=`which ffmpeg` + if [ "$var" ]; then + echo "" + echo "ffmpeg" + echo "$var" + return 2 + fi + ;; + genindex) + var=`which genindex` + if [ "$var" ]; then + echo "" + echo "genindex" + echo "$var" + return 2 + fi + ;; + graphlcd_base) + if [ -f $PREFIX/lib/libglcddrivers.so ]; then + echo "" + echo "graphlcd-base" + echo "$PREFIX/lib/libglcddrivers.so" + return 2 + fi + ;; + LCDproc) + var=`which LCDd` + if [ "$var" ]; then + echo "" + echo "LCDd" + echo "$var" + return 2 + fi + ;; + lirc) + var=`which lircd` + if [ "$var" ]; then + echo "" + echo `lircd -v` + echo "$var" + return 2 + fi + ;; + mplayer) + var=`which mplayer` + if [ "$var" ]; then + echo "" + echo "Mplayer" + echo "$var" + return 2 + fi + ;; + noad) + var=`which noad` + if [ "$var" ]; then + echo "" + echo `noad -V` + echo "$var" + return 2 + fi + ;; + nvram-wakeup) + var=`which nvram-wakeup` + if [ "$var" ]; then + echo "" + echo `nvram-wakeup -v` + echo "$var" + return 2 + fi + ;; + projectx) + if [ -f $PREFIX/bin/ProjectX/ProjectX.jar ]; then + echo "" + echo "ProjectX" + echo "$PREFIX/bin/ProjectX/ProjectX.jar" + return 2 + fi + ;; + vdradmin) + var=`which vdradmind.pl` + if [ "$var" ]; then + echo "" + echo "VDRadmin" + echo "$var" + return 2 + fi + ;; + vdrfonts) + if [ -d /usr/share/fonts/truetype/vdrsymbols ]; then + echo "" + echo "vdrfonts" + echo "/usr/share/fonts/truetype/vdrsymbols" + return 2 + fi + ;; + vidix) + if [ -f $PREFIX/include/vidix/fourcc.h ] && [ -f $PREFIX/include/vidix/vidix.h ] && [ -f $PREFIX/include/vidix/vidixlib.h ]; then + echo "" + echo "vidix" + echo "$PREFIX/include/vidix" + return 2 + fi + ;; + xine_lib) + var=`which xine` + if [ "$var" ]; then + echo "" + echo `xine -v` + echo "$var" + return 2 + fi + ;; + y4mscaler) + var=`which y4mscaler` + if [ "$var" ]; then + echo "" + echo `y4mscaler -V` + echo "$var" + return 2 + fi + ;; + esac +} + +# utilitie commands +function cmd_util() { + case $cmd in + --clean|-c) + clean_util + ;; + --make|-m) + make_util + ;; + --remake|-r) + clean_util + make_util + ;; + --status|-s) + status_util + exit 0 + ;; + --version|-v) + echo "$VERSION" + exit 0 + ;; + *) + echo "Moegliche Parameter sind:" + echo "--clean|-c -> Utilitie wird entfernt" + echo "--make|-m -> Utilitie wird installiert" + echo "--remake|-r -> wie --clean und --make" + echo "--status|-s -> 0=nicht gefunden, 1=gefunden 2=1+Source gefunden" + echo "--version|-v -> Zeigt die Utilitie-Version des Skripts" + echo "" + echo "Es ist immer nur ein Parameter erlaubt." + echo "" + exit 1 + ;; + esac +} + +########################################################### +## Plugin Functions + +# plugin helper function +function xPlugins() { + cmd="$1" + plugin_list= + # read libdir and create a pluginlist + plugs=$(ls -B "$SOURCEDIR/x-vdr/plugins") + if [ -n "$plugs" ]; then + for plug in $plugs ; do + if [ -z "${!plug}" ]; then + echo "" >> $SOURCEDIR/x-vdr/x-vdr.conf + echo "# $plug" >> $SOURCEDIR/x-vdr/x-vdr.conf + echo "${plug}=\"off"\" >> $SOURCEDIR/x-vdr/x-vdr.conf + eval ${plug}="off" + fi + if [ "x${!plug}" = "xon" ] || [ "x${!plug}" = "xoff" ]; then + args="${plug}_args" + plug_args="${!args}" + desc="${plug}_desc" + if [ -n "${!desc}" ]; then + plug_desc="${!desc}" + else + plug_desc="no description available" + fi + plug_name="${plug}" + plug_stat="${!plug}" + # menues + case $cmd in + -d) # write current config to /etc/default/vdr + echo "" + echo "# $plug_name" + case $plug_name in + vdr_plugins) + echo "hello=\"$plug_stat\"" + echo "osddemo=\"$plug_stat\"" + echo "svccli=\"$plug_stat\"" + echo "svcsvr=\"$plug_stat\"" + echo "skincurses=\"$plug_stat\"" + echo "sky=\"$plug_stat\"" + echo "status=\"$plug_stat\"" + echo "svdrpdemo=\"$plug_stat\"" ;; + streamdev) + echo "streamdev_client=\"$streamdev_client\"" + echo "streamdev_server=\"$streamdev_server\"" + echo "streamdev_server_args=\"$streamdev_server_args\"" ;; + mp3) + echo "$plug_name=\"$plug_stat\"" + echo "$args=\"$plug_args\"" + echo "" + echo "# mplayer" + echo "mplayer=\"$mplayer\"" + echo "mplayer_args=\"$mplayer_args\"" ;; + epgsearch) + echo "$plug_name=\"$plug_stat\"" + echo "$args=\"$plug_args\"" + echo "epgsearchonly=\"$epgsearchonly\"" + echo "conflictcheckonly=\"$conflictcheckonly\"" + echo "quickepgsearch=\"$quickepgsearch\"" ;; + *) + echo "$plug_name=\"$plug_stat\"" + [ "$plug_name" = "remote" ] && echo "remote_event=\"$remote_event\"" + [ -n "$plug_args" ] && echo "$args=\"$plug_args\"" ;; + esac ;; + -l) # create a list for sd_plugins + plugin_list="$plugin_list $plug_name \"$plug_desc\" $plug_stat " ;; + -m) # create a list for PluginMenu + var="inaktiv" + [ "$plug_stat" = "on" ] && var="aktiv" + plugin_list="$plugin_list $plug_name $var " ;; + -o) # set all plugins to off + eval $plug_name=off ;; + -s) # write to (x-vdr) setup.conf + echo "$plug_name=\"$plug_stat\"" ;; + esac + + else + plug_args="" + plug_desc="" + plug_name="" + plug_stat="" + eval ${plug}="off" + fi + done + fi +} + +# download plugin +function download_plugin() { + cd $DIR + if [ -f "$FILES/plugins/$VAR" ]; then + log "$VAR gefunden" + elif [ -f "$VAR" ]; then + log "$VAR gefunden" + cp "$VAR" "$FILES/plugins" + else + log "$VAR nicht gefunden" + log "Starte download von $VAR" + for i in $WEB; do + wget --tries=2 "$i" --directory-prefix="$FILES/plugins" && log "Download von $VAR erfolgreich" && break + done + [ ! -f "$FILES/plugins/$VAR" ] && log "Download von $VAR nicht erfolgreich" && exit 1 + fi +} + +# extrahiere plugin +function extract_plugin() { + [ -d "$SOURCEDIR/VDR/PLUGINS/src/$VERSION" ] && exit 0 + if echo "$FILES/plugins/$VAR" | grep ".bz2$" &>/dev/null; then + tar xjf "$FILES/plugins/$VAR" -C "$SOURCEDIR/VDR/PLUGINS/src" && log "Extrahiere $VAR" + else + tar xzf "$FILES/plugins/$VAR" -C "$SOURCEDIR/VDR/PLUGINS/src" && log "Extrahiere $VAR" + fi +} + +# patch plugin +function patch_plugin() { + [ ! -d "$DIR/patches" ] && mkdir "$DIR/patches" && return 0 + [ ! -d "$SOURCEDIR/VDR/PLUGINS/src/$LINK" ] && log "ERROR - $LINK not found" && return 1 + cd "$SOURCEDIR/VDR/PLUGINS/src/$LINK" + for i in `ls $DIR/patches | grep ".bz2$"`; do log "apply patch $i"; bzcat $DIR/patches/$i|patch; done + for i in `ls $DIR/patches | grep ".diff$"`; do log "apply patch $i"; patch < $DIR/patches/$i; done + for i in `ls $DIR/patches | grep ".patch$"`; do log "apply patch $i"; patch < $DIR/patches/$i; done +} + +# patch-p1 plugin +function patch_p1_plugin() { + [ -d "$DIR/patches/p1" ] || return 0 + cd "$SOURCEDIR/VDR/PLUGINS/src/$LINK" + for i in `ls $DIR/patches/p1 | grep ".bz2$"`; do log "apply patch $i"; bzcat $DIR/patches/p1/$i|patch -p 1; done + for i in `ls $DIR/patches/p1 | grep ".diff$"`; do log "apply patch $i"; patch -p 1 < $DIR/patches/p1/$i; done + for i in `ls $DIR/patches/p1 | grep ".patch$"`; do log "apply patch $i"; patch -p 1 < $DIR/patches/p1/$i; done +} + +# patch-p2 plugin +function patch_p2_plugin() { + [ -d "$DIR/patches/p2" ] || return 0 + cd "$SOURCEDIR/VDR/PLUGINS/src/$LINK" + for i in `ls $DIR/patches/p2 | grep ".bz2$"`; do log "apply patch $i"; bzcat $DIR/patches/p2/$i|patch -p 2; done + for i in `ls $DIR/patches/p2 | grep ".diff$"`; do log "apply patch $i"; patch -p 2 < $DIR/patches/p2/$i; done + for i in `ls $DIR/patches/p2 | grep ".patch$"`; do log "apply patch $i"; patch -p 2 < $DIR/patches/p2/$i; done +} + +# patch-p3 plugin +function patch_p3_plugin() { + [ -d "$DIR/patches/p3" ] || return 0 + cd "$SOURCEDIR/VDR/PLUGINS/src/$LINK" + for i in `ls $DIR/patches/p3 | grep ".bz2$"`; do log "apply patch $i"; bzcat $DIR/patches/p3/$i|patch -p 3; done + for i in `ls $DIR/patches/p3 | grep ".diff$"`; do log "apply patch $i"; patch -p 3 < $DIR/patches/p3/$i; done + for i in `ls $DIR/patches/p3 | grep ".patch$"`; do log "apply patch $i"; patch -p 3 < $DIR/patches/p3/$i; done +} + +# patch-p2 plugin +function patch_p4_plugin() { + [ -d "$DIR/patches/p4" ] || return 0 + cd "$SOURCEDIR/VDR/PLUGINS/src/$LINK" + for i in `ls $DIR/patches/p4 | grep ".bz2$"`; do log "apply patch $i"; bzcat $DIR/patches/p4/$i|patch -p 4; done + for i in `ls $DIR/patches/p4 | grep ".diff$"`; do log "apply patch $i"; patch -p 4 < $DIR/patches/p4/$i; done + for i in `ls $DIR/patches/p4 | grep ".patch$"`; do log "apply patch $i"; patch -p 4 < $DIR/patches/p4/$i; done +} + + +# make plugin +function make_plugin() { + cd "$SOURCEDIR/VDR/PLUGINS/src/$LINK" + log "starte mit $LINK" + make all + case "$LINK" in + mp3) LIB="mp3";; # mplayer + streamdev) LIB="streamdev-server";; # streamdev-client + *) LIB="$LINK";; + esac + if [ -f $VDRLIBDIR/libvdr-$LIB.so* ]; then + # copy locale + if [ -d $SOURCEDIR/VDR/locale ]; then + [ ! -d $VDRLOCDIR ] && mkdir -p $VDRLOCDIR && log "Erstelle $VDRLOCDIR" + cd "$SOURCEDIR/VDR/locale" + cp -fR --parents */LC_MESSAGES/vdr-$LINK.mo $VDRLOCDIR >/dev/null 2>&1 + [ "$LIB" = "mp3" ] && cp -fR --parents */LC_MESSAGES/vdr-mplayer.mo $VDRLOCDIR >/dev/null 2>&1 + fi + log "$LINK erfolgreich erstellt" + else + log "$LINK konnte nicht erstellt werden" + fi +} + +# plugin status +function status_plugin() { + case "$LINK" in + mp3) LIB="mp3";; # mplayer + streamdev) LIB="streamdev-server";; # streamdev-client + *) LIB="$LINK";; + esac + if [ -f $VDRLIBDIR/libvdr-$LIB.so* ]; then + echo "1" + else + if [ -d "$SOURCEDIR/VDR/PLUGINS/src/$LINK" ]; then + echo "2" + else + echo "0" + fi + fi +} + +# plugin commands +function cmd_plugin() { + case $cmd in + --clean|-c) + clean_plugin + ;; + --install|-i) + install_plugin + ;; + --make|-m) + install_plugin + make_plugin + ;; + --remake|-r) + clean_plugin + install_plugin + make_plugin + ;; + --status|-s) + status_plugin + exit 0 + ;; + --version|-v) + echo "$VERSION" + exit 0 + ;; + *) + echo "Moegliche Parameter sind:" + echo "--clean|-c -> entfernt das Plugin" + echo "--install|-i -> entpackt das Plugin etc." + echo "--make|-m -> wie --install aber das Plugin wird sofort uebersetzt" + echo "--remake|-r -> wie --clean und --install und --make" + echo "--status|-s -> 0=nicht gefunden, 1=gefunden" + echo "--version|-v -> Zeigt die Plugin-Version des Skripts" + echo "" + echo "Es ist immer nur ein Parameter erlaubt." + echo "" + exit 1 + ;; + esac +} + +function list_plugins() { + PLUGINDIR="$SOURCEDIR/VDR/PLUGINS" + anzahl=`ls $PLUGINDIR/src | grep -v '[^a-z0-9]' | wc -l` + version_vdr=`egrep '.*VDRVERSION.*"' $SOURCEDIR/VDR/config.h | sed -e 's/.* "//' | sed -e 's/[";]//g' | tr -d '\015' | tr -d '\012'` + version_api=`egrep '.*APIVERSION.*"' $SOURCEDIR/VDR/config.h | sed -e 's/.* "//' | sed -e 's/[";]//g' | tr -d '\015' | tr -d '\012'` + + echo "Es folgt eine Liste von $anzahl Plugins" + echo "Kennzeichen * --> uebersetzt fuer VDR-Version $version_vdr" + echo "Kennzeichen ! --> nicht uebersetzt (laesst sich nicht uebersetzen?)" + echo + echo "Plugin-Name Version (Version von Verzeichniss) / Hinweis" + echo + + for i in `ls $PLUGINDIR/src | grep -v '[^a-z0-9]'` + do + plugin_name=`egrep -m 1 '^[[:space:]]*PLUGIN[1=[:space:]]' $PLUGINDIR/src/$i/Makefile | sed -e 's/[\t ]*PLUGIN.*=//' | cut -f 1 -d "#" | sed -e 's/ //g'` + [ "$i" = "atmo" ] && plugin_name="atmo" # dirty hack for the atmolight-plugin + [ "$i" = "sport" ] && plugin_name="sport" # dirty hack for the sport-plugin + plugin_file1="" + for testfile in version.h src/version.h plugin.c $plugin_name.c $plugin_name.cpp $plugin_name.cc + do + if [ -z "$plugin_file1" -a -r $PLUGINDIR/src/$i/$testfile ]; then + plugin_file1="$testfile" + plugin_file2=`echo $plugin_file1 | sed -e 's/\.c/\.h/'` + fi + done + + case "$i" in + gngb2vdr) plugin_file1="cGngbPlugin.h";; + ipod) plugin_file1="$plugin_name.hpp";; + live) plugin_file1="setup.h";; + mailbox) plugin_file1="AxPluginMailBox.cpp";; + mediamvp) plugin_file1="mvp/config.h";; + mldkgui) plugin_file1="cMLdkGUIPlugin.h";; + reelchannelscan) plugin_file1="channelscan.h";; + streamdev) plugin_file1="common.c";; + servicedemo) plugin_file1="svccli.c";; + vodcatcher) plugin_file1="src/Version.h";; + esac + + plugin_version="" + if [ -r $PLUGINDIR/src/$i/$plugin_file1 ]; then + plugin_version=`egrep -m 1 '.*VERSION.*"' $PLUGINDIR/src/$i/$plugin_file1 | sed -e 's/.* "//' | sed -e 's/[";]//g' | tr -d '\015' | tr -d '\012'` + fi + if [ -z "$plugin_version" -a -r $PLUGINDIR/src/$i/$plugin_file2 ]; then + plugin_version=`egrep -m 1 '.*VERSION.*"' $PLUGINDIR/src/$i/$plugin_file2 | sed -e 's/.* "//' | sed -e 's/[";]//g' | tr -d '\015' | tr -d '\012'` + fi + if [ -z "$plugin_version" ]; then + plugin_version=`egrep -m 1 '^[[:space:]]*VERSION' $PLUGINDIR/src/$i/Makefile | sed -e 's/[\t ]*VERSION.*=//' | sed -e 's/ //g' | tr -d '\015' | tr -d '\012'` + fi + if [ -z "$plugin_version" ]; then + plugin_version="N/A" + fi + plugin_versiondir="" + if [ -L $PLUGINDIR/src/$i ]; then + plugin_versiondir=`readlink $PLUGINDIR/src/$i | sed -e 's/.*\///g'` + plugin_versiondir="${plugin_versiondir:${#plugin_name}:255}" + plugin_versiondir="${plugin_versiondir:1:255}" + fi + if [ -z "$plugin_versiondir" ]; then + plugin_versiondir="N/A" + fi + plugin_libs=1 + case "$plugin_name" in + mp3) plugin_libname="mp3 mplayer" + plugin_libs=2;; + mp3ng) plugin_libname="mp3ng mplayer" + plugin_libs=2;; + music) plugin_libname="music mplayer" + plugin_libs=2;; + servicedemo) plugin_libname="svccli svcsvr" + plugin_libs=2;; + streamdev) plugin_libname="streamdev-client streamdev-server" + plugin_libs=2;; + esac + plugin_anzahl=`ls -d $PLUGINDIR/src/$i-* 2>/dev/null | wc -l` + if [ $plugin_libs = 1 ]; then + if [ -r "$VDRLIBDIR/libvdr-$plugin_name.so.$version_vdr" ] || [ -r "$VDRLIBDIR/libvdr-$plugin_name.so.$version_api" ]; then + echo -n "* " + else + echo -n "! " + fi + else + echo -n "X " + fi + echo $plugin_name $plugin_version $plugin_versiondir $plugin_anzahl | awk '{ printf "%-25s %s", $1, $2; if ($2 != $3 && $3 != "N/A") printf " (%s)", $3; if ($4 > 1) printf " es sind %d Versionen vorhanden", $4; printf "\n"; }' + if [ $plugin_libs -gt 1 ]; then + for j in $plugin_libname ; do + if [ -r "$VDRLIBDIR/libvdr-$j.so.$version_vdr" ] || [ -r "$VDRLIBDIR/libvdr-$j.so.$version_api" ]; then + echo " * $j" + else + echo " ! $j" + fi + done + fi + if [ -z "$plugin_name" ]; then + echo "Fehler: kein plugin_name fuer Verzeichniss $i" >&2 + exit 1 + fi + done +} diff --git a/gpl.txt b/gpl.txt new file mode 100644 index 0000000..b5ab307 --- /dev/null +++ b/gpl.txt @@ -0,0 +1,108 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. + + + Preamble + +The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification follow. + + + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. + + +1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. + + +2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: + +2a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. + +2b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. + +2c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. + + +3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: + +3a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, + +3b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, + +3c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. + +If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. + + +4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. + + +5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. + + +6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. + + +7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. + +This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. + + +8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. + + +9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. + + +10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. + + + NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + + END OF TERMS AND CONDITIONS diff --git a/plugins.sh b/plugins.sh new file mode 100644 index 0000000..6bdc950 --- /dev/null +++ b/plugins.sh @@ -0,0 +1,84 @@ +#!/bin/sh + +# x-vdr (Installations-Skript fuer einen VDR mit Debian als Basis) +# von Marc Wernecke - www.zulu-entertainment.de +# 11.09.2008 + +# x-vdr/plugins.sh + +[ -r ./x-vdr.conf ] || exit 1 +source ./x-vdr.conf +source ./setup.conf +source ./functions +PDIR="$(pwd)/plugins" + +# make plugins +function make_plugins() { + if [ ! -x $SOURCEDIR/VDR/vdr ]; then + log "****************************************" + log "Plugins Fehler - Kann VDR nicht finden! " + log "****************************************" + return 1 + fi + log "****************************************" + log "Vorbereitungen fuer Plugins ..." + log "****************************************" + plugins=`ls $PDIR` + if [ -n "$plugins" ]; then + for i in $plugins; do + if [ -x $PDIR/$i/plugin.sh ]; then + cd $PDIR/$i + status=`./plugin.sh --status` + if [ "${!i}" = "on" ] && [ "$status" = "0" ]; then + ./plugin.sh + elif [ "${!i}" = "on" ] && [ "$status" = "2" ]; then + ./plugin.sh --clean + ./plugin.sh + elif [ "${!i}" = "off" ] && [ "$status" != "0" ]; then + ./plugin.sh --clean + fi + fi + done + fi + log "****************************************" + log "Erstellen der Plugins ..." + log "****************************************" + cd $SOURCEDIR/VDR + make plugins || return 1 + + # burn (install burn-buffer) + if [ "$burn" = "on" ] && [ -f $SOURCEDIR/VDR/PLUGINS/src/burn/burn-buffers ] && [ ! -f $VDRBINDIR/burn-buffers ]; then + cp -f $SOURCEDIR/VDR/PLUGINS/src/burn/burn-buffers $VDRBINDIR + fi + # pin (install fskcheck) + if [ "$pin" = "on" ] && [ -f $SOURCEDIR/VDR/PLUGINS/src/pin/fskcheck ] && [ ! -f $VDRBINDIR/fskcheck ]; then + cp -f $SOURCEDIR/VDR/PLUGINS/src/pin/fskcheck $VDRBINDIR + chmod 0755 $VDRBINDIR/fskcheck + fi + # softdevice (install ShmClient) + if [ "$softdevice" = "on" ] && [ -f $SOURCEDIR/VDR/PLUGINS/src/softdevice/ShmClient ] && [ ! -f $VDRBINDIR/ShmClient ]; then + cp -f $SOURCEDIR/VDR/PLUGINS/src/softdevice/ShmClient $VDRBINDIR + chmod 0755 $VDRBINDIR/ShmClient + fi + # xineliboutput (install frontends and xine plugins) + if [ "$xineliboutput" = "on" ]; then + XINEPLUGINDIR=`xine-config --plugindir` + if [ ! -f $VDRBINDIR/vdr-fbfe ] || [ ! -f $VDRBINDIR/vdr-sxfe ] || [ -f $XINEPLUGINDIR/xineplug_inp_xvdr.so ]; then + cd $SOURCEDIR/VDR/PLUGINS/src/xineliboutput + make install + fi + fi + + # copy locale + if [ -d $SOURCEDIR/VDR/locale ]; then + [ ! -d $VDRLOCDIR ] && mkdir -p $VDRLOCDIR && log "Erstelle $VDRLOCDIR" + cp -fR $SOURCEDIR/VDR/locale/* $VDRLOCDIR + fi + + log "****************************************" + log "Erstellen der Plugins ist abgeschlossen." + log "****************************************" +} + +make_plugins || exit 1 +exit 0 diff --git a/plugins/admin/admin/admin.conf b/plugins/admin/admin/admin.conf new file mode 100644 index 0000000..8060555 --- /dev/null +++ b/plugins/admin/admin/admin.conf @@ -0,0 +1,204 @@ +# This file contains the tasks for the admin plugin +# Syntax: +#