1
0

README 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. === ABOUT ===
  2. stov is a program which allows you to subscribe to channels, playlists and search results on youtube. (More platforms may be implemented later) You don't need a youtube account for the program to work since it uses read-only access to the youtube API. You can for example run it as a cron job to automatically download your favourite videos.
  3. === USAGE ===
  4. see ./stov.py --help
  5. === DEPENDENCIES ===
  6. stov depends on the following software to be installed:
  7. * Python 2.6 or higher (it might also work with earlier versions, but hasn't been tested, python 3 is not supported yet)
  8. * youtube-dl (get it from http://rg3.github.com/youtube-dl/ if you don't have it yet
  9. === COPYING ===
  10. see LICENSE
  11. === CONFIGURATION ===
  12. By default, the configuration is defined in ~/stov/stov.config. A default config file is created for you when you run the program for the first time. The following parameters are currently available which you can alter manually:
  13. MAILTO: Recipient address used for notitifications
  14. MAILFROM: Sender address used for notifications
  15. MAILHOST: Host name or ip address of the mail server which is used to send notifications
  16. AUTH_NEEDED: Define if the smtp server need authentication (yes or no)
  17. USER_NAME: User name to use for smtp authentication if defined
  18. PASSWORD: Password to use for SMTP authentication
  19. YOUTUBE-DL: Path to the youtube-dl binary if not found automatically
  20. DOWNLOADDIR: Path the downloaded videos are saved into
  21. DATABASE: File name to use for the database
  22. SMTPPORT: Port used to connect to the mail server
  23. MAXVIDEOS: Maximum number of videos to retrieve from the youtube API for each subscription,
  24. default 25, maximum 50, reduce this parameter for better parsing performance
  25. NOTIFY: Define if you want to be notified via email about new episodes of your subscriptions,
  26. valid values: yes or no
  27. DB_VERSION: Database version (Do not change!)
  28. CONFIG_VERSION: Configuration version (Do not change!)
  29. VIDEOCODEC: Video codec used for downloaded videos (valid values: h264, webm or flv)
  30. MAXRESOLUTION: Maximum resolution to use for downloaded videos, please note
  31. that not all codecs and resolutions might be available so a lower resolution
  32. or other codec might be used in these cases
  33. MAXFAILS: Number of times the download of a video may fail until it is marked as failed
  34. and won't be tried again
  35. CHECK_TITLE: Define if stov should check the title of each video in a search or channel
  36. with search string subscription. This works around some deficits of the youtube
  37. API which sometimes also returns video completely unrelated to your search.
  38. Videos whose titles don't match the search string will be entirely ignored.
  39. valid values: yes or no
  40. === KNOWN ISSUES ===
  41. Currently none, contact me if you find any.
  42. === INSTALLATION ===
  43. You can just run the main file "stov.py" directly from this directory by calling
  44. it from the shell or with the python interpreter ("./stov.py" or "python stov.py").
  45. A simple install script is also provided which can be used to install stov to a
  46. directory of your choice. Simply run "install.py" with the path as argument.