Name: rwj_reporting
Owner: Stanford University Digital Library
Description: Riverwalk Jazz license reporting script - reads logs to get usage counts for shows
Created: 2016-04-04 20:35:10.0
Updated: 2018-05-15 19:14:26.0
Pushed: 2018-05-15 19:14:27.0
Homepage: null
Size: 73
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
As of Jan 2016, the SoundExchange reporting requirements for SUL related to our statutory license as a noncommercial webcaster of the Riverwalk Jazz collection online requires us to prepare monthly reports on the number of ?performances? of each “song” ie, each time a particular “song” is streamed.
This script will gather that usage data from the hourly logs that are created and stored on media@libstream.stanford.edu/var/log/ezstream/.
Inputs to the script would reflect the reporting time period.
cd rwj_reporting/current
(end up in home/media/rwj_reporting/current
)rake reports[160301,160331]
home/media
directory as, e.g. 160301-160331_channel_1_usage_counts.csv
and 160301-160331_channel_2_usage_counts.csv
.home/media/rwj_reporting/shared/config/settings.yml
output_dirLog files are expected to be in /var/log/ezstream
. This directory is also configurable in home/media/rwj_reporting/shared/config/settings.yml
The template of the master tracking spreadsheet is held in this codebase under the /data
directory. This file is configurable in home/media/rwj_reporting/shared/config/settings.yml