Re: [RDD] Question about the music scheduler

2012-02-27 Thread Morten Krarup Nielsen
Thanks for your help, I really want to do this right.

I created a new Group - B rotation for my test:
http://imgur.com/MYcTr
None of these songs have scheduler codes, and they all have exactly
four plays, before starting this experiment.
Then I created the event:
http://imgur.com/mfsU4
Then I created an hour of music:
http://imgur.com/nXV2Y
I assigned this hour to all of Monday and Tuesday and generated a log
for those two days.
Then I guess that each song should be played the same amount of times,
and that the song played on 00:00 at Monday, should be played at 01:00
on Tuesday. However that didn't happen. Heres the result:

Moony: 2 plays on Monday, 4 plays on Tuesday = 6 plays for the two days
Soulmagic: 6 Monday, 4 Tuesday = 10
Missy Elliot: 5 Monday, 7 Tuesday = 12
Room 5: 7 Monday, 4 Tuesday = 12
Manijama feat. Mukupa: 4 Monday, 5 Tuesday = 9

The song with most plays, is played twice as many times as the least
played song. Also they are played rather random.
Here's the log for Monday:
http://textsnip.com/3ed468
And Tuesday:
http://textsnip.com/589435

What am I doing wrong?

Thank you.

Kind regards,

Morten

2012/2/26 Robert Jeffares jeffares.rob...@gmail.com:
 You are using one GROUP = MUSIC

 Make a New Second GROUP [rdadmin  Manage Groups]

 Call it AROTATE

 Put the 5 CARTS in the AROTATE GROUP [Use RDLibrary and EDIT]

 Make a new EVENT [RDLog Manager Top Option]

 Call it Play an A Rotate and have it select a Cart from the AROTATE group

 Then replace the MUSIC Event at :32 in the CLOCK you are using with
 the new event.

 Put the clocks in for a day or 2 or 3 or 5  and create a LOG

 Then run the log.

 If you have all the tracks in MUSIC and are using Scheduler Codes to
 pick selections you wont get the result you want [ as you have found]

 You have got the 5 songs on separate CARTS. If they are all on one
 cart the play will be random. Over time they even out.

 I am not in the right place to send you the screenshots that go with
 this. You should be able to find your way there.

 While the scheduler code feature is great for setting dayparts, genre,
 tempo, and all the other flags you ever need on a title, the GROUPS
 are the first way to distinguish songs for airplay.

 RD will break or ignore scheduler codes.

 The GROUP is carved in stone.

 Hope this helps

 Robert

 On Mon, Feb 27, 2012 at 12:14 AM, Morten Krarup Nielsen
 morte...@gmail.com wrote:
 Thank you for getting back to me.

 If you start out with 5 tracks they will schedule evenly.

 Ok, I tried to rip 5 new tracks from a CD, with 5 different artists
 not represented in the other categories.
 I assigned my hour with test music to 5 hours in the grid, so every
 artist in A rotation should be played exactly one time. All my music
 is in the Music category, and I use scheduler codes for A rotation, B
 rotation, Oldies and so on. I have scheduled one A rotation every
 hour.
 However:
 Missy Elliot was played 1 time
 Room 5 was played 3 times
 Moony was played  1 time
 Mukupa was played 0 times
 Soulmagic was played 0 times

 How can that be?

 Thank you.

 Kind regards,
 Morten
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Question about the music scheduler

2012-02-27 Thread Wayne Merricks
Hi,

Forgive me as I'm joining this discussion without re-reading all the previous 
material.  I think Riv is working as intended but obviously not how you 
perceive it should work.

The only rule I can see on your event is Must have title separation of 1.  So 
we can't play the same song twice in a row.

Anyway this is my understanding of the scheduler (so it may not be correct):

1. Riv comes along and sees the B Rot event.
2. Riv looks into the B Rot Group for valid songs.
3. Riv checks to see if a song has played previous to the event and prunes the 
list (if necessary)
4. Riv looks at the weights of all the songs (usually 1 by default) and assigns 
a percentage chance to it.
5. Riv spins the dice for a number between 1 and 5 as each song has the same 
probability of happening (by default).

This is why you're getting your uneven plays.  Its the same reason why if you 
flip a coin twice you're just as likely to get heads twice than a neat 1 heads, 
1 tails.

Now heres where I'm fuzzy on the scheduler.  I seem to recall some sort of, for 
want of a better phrase, wear leveling algorithm which would favour songs with 
lower number of play outs if all other things were equal (codes/rules/weights) 
but I have no idea how this works (or if I just dreamed this up).  

If its sensible (which all the Riv stuff I've looked into generally is), it 
probably just uses the cart weight and the number of play outs to assign a new 
percentage chance to it and then spins the dice based on this modified value.  
As such you could be really unlucky and get wildly varying plays in a short 
time period but in the long run it should be an insignificant difference 
(unless you really are unlucky in which case buy a lottery ticket).

Please feel free to call me an idiot as this is my best guess based on things 
I've noticed and vaguely remember reading.

Regards,

Wayne




-Original Message-
From: rivendell-dev-boun...@lists.rivendellaudio.org on behalf of Morten Krarup 
Nielsen
Sent: Mon 27/02/2012 14:41
To: User discussion about the Rivendell Radio Automation System
Subject: Re: [RDD] Question about the music scheduler
 
Thanks for your help, I really want to do this right.

I created a new Group - B rotation for my test:
http://imgur.com/MYcTr
None of these songs have scheduler codes, and they all have exactly
four plays, before starting this experiment.
Then I created the event:
http://imgur.com/mfsU4
Then I created an hour of music:
http://imgur.com/nXV2Y
I assigned this hour to all of Monday and Tuesday and generated a log
for those two days.
Then I guess that each song should be played the same amount of times,
and that the song played on 00:00 at Monday, should be played at 01:00
on Tuesday. However that didn't happen. Heres the result:

Moony: 2 plays on Monday, 4 plays on Tuesday = 6 plays for the two days
Soulmagic: 6 Monday, 4 Tuesday = 10
Missy Elliot: 5 Monday, 7 Tuesday = 12
Room 5: 7 Monday, 4 Tuesday = 12
Manijama feat. Mukupa: 4 Monday, 5 Tuesday = 9

The song with most plays, is played twice as many times as the least
played song. Also they are played rather random.
Here's the log for Monday:
http://textsnip.com/3ed468
And Tuesday:
http://textsnip.com/589435

What am I doing wrong?

Thank you.

Kind regards,

Morten

2012/2/26 Robert Jeffares jeffares.rob...@gmail.com:
 You are using one GROUP = MUSIC

 Make a New Second GROUP [rdadmin  Manage Groups]

 Call it AROTATE

 Put the 5 CARTS in the AROTATE GROUP [Use RDLibrary and EDIT]

 Make a new EVENT [RDLog Manager Top Option]

 Call it Play an A Rotate and have it select a Cart from the AROTATE group

 Then replace the MUSIC Event at :32 in the CLOCK you are using with
 the new event.

 Put the clocks in for a day or 2 or 3 or 5  and create a LOG

 Then run the log.

 If you have all the tracks in MUSIC and are using Scheduler Codes to
 pick selections you wont get the result you want [ as you have found]

 You have got the 5 songs on separate CARTS. If they are all on one
 cart the play will be random. Over time they even out.

 I am not in the right place to send you the screenshots that go with
 this. You should be able to find your way there.

 While the scheduler code feature is great for setting dayparts, genre,
 tempo, and all the other flags you ever need on a title, the GROUPS
 are the first way to distinguish songs for airplay.

 RD will break or ignore scheduler codes.

 The GROUP is carved in stone.

 Hope this helps

 Robert

 On Mon, Feb 27, 2012 at 12:14 AM, Morten Krarup Nielsen
 morte...@gmail.com wrote:
 Thank you for getting back to me.

 If you start out with 5 tracks they will schedule evenly.

 Ok, I tried to rip 5 new tracks from a CD, with 5 different artists
 not represented in the other categories.
 I assigned my hour with test music to 5 hours in the grid, so every
 artist in A rotation should be played exactly one time. All my music
 is in the Music category, and I use scheduler codes for A rotation, B
 rotation, 

Re: [RDD] Is it possible to have a 2-computer Rivendell setup like this?

2012-02-27 Thread Patrick Schmalstig / WRRJ Radio
Oh okay nvm I see what you're going at when it somes to SSH... I
thought you meant have a port open on the campus computer... which
wouldn't be permitted. But you're talking having a port open on the
web server computer, am I correct?
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Question about the music scheduler

2012-02-27 Thread Morten Krarup Nielsen
Ok. What you're saying, and what I've learned, is that my B-rotation
is placed rather randomly. After 7 days, all songs should be played
the same number of times, but it's not desirable that the song
Soulmagic is played at 1AM, 2AM, 3AM, 4 AM and 5 PM on Monday, when
there should be five hours between playing the song.

So if I want to control how often my B rotation is played (and I want
to, on a commercial Hot AC station), I have to enter something in
Title Separation. In my case it should be about 75 songs/carts. The
next problem is, that this number is not the same in the daytime as at
night (more sweepers, jingles, news, whatever in the daytime).

Question: Would it be possible to enter how many minutes should
separate each title, instead of how many carts? It would be much
easier to enter 300 minutes.

Thank you.

Kind regards,

Morten

2012/2/27 Wayne Merricks waynemerri...@thevoiceasia.com:
 Hi,

 Forgive me as I'm joining this discussion without re-reading all the previous 
 material.  I think Riv is working as intended but obviously not how you 
 perceive it should work.

 The only rule I can see on your event is Must have title separation of 1.  
 So we can't play the same song twice in a row.

 Anyway this is my understanding of the scheduler (so it may not be correct):

 1. Riv comes along and sees the B Rot event.
 2. Riv looks into the B Rot Group for valid songs.
 3. Riv checks to see if a song has played previous to the event and prunes 
 the list (if necessary)
 4. Riv looks at the weights of all the songs (usually 1 by default) and 
 assigns a percentage chance to it.
 5. Riv spins the dice for a number between 1 and 5 as each song has the 
 same probability of happening (by default).

 This is why you're getting your uneven plays.  Its the same reason why if you 
 flip a coin twice you're just as likely to get heads twice than a neat 1 
 heads, 1 tails.

 Now heres where I'm fuzzy on the scheduler.  I seem to recall some sort of, 
 for want of a better phrase, wear leveling algorithm which would favour songs 
 with lower number of play outs if all other things were equal 
 (codes/rules/weights) but I have no idea how this works (or if I just dreamed 
 this up).

 If its sensible (which all the Riv stuff I've looked into generally is), it 
 probably just uses the cart weight and the number of play outs to assign a 
 new percentage chance to it and then spins the dice based on this modified 
 value.  As such you could be really unlucky and get wildly varying plays in a 
 short time period but in the long run it should be an insignificant 
 difference (unless you really are unlucky in which case buy a lottery ticket).

 Please feel free to call me an idiot as this is my best guess based on things 
 I've noticed and vaguely remember reading.

 Regards,

 Wayne




 -Original Message-
 From: rivendell-dev-boun...@lists.rivendellaudio.org on behalf of Morten 
 Krarup Nielsen
 Sent: Mon 27/02/2012 14:41
 To: User discussion about the Rivendell Radio Automation System
 Subject: Re: [RDD] Question about the music scheduler

 Thanks for your help, I really want to do this right.

 I created a new Group - B rotation for my test:
 http://imgur.com/MYcTr
 None of these songs have scheduler codes, and they all have exactly
 four plays, before starting this experiment.
 Then I created the event:
 http://imgur.com/mfsU4
 Then I created an hour of music:
 http://imgur.com/nXV2Y
 I assigned this hour to all of Monday and Tuesday and generated a log
 for those two days.
 Then I guess that each song should be played the same amount of times,
 and that the song played on 00:00 at Monday, should be played at 01:00
 on Tuesday. However that didn't happen. Heres the result:

 Moony: 2 plays on Monday, 4 plays on Tuesday = 6 plays for the two days
 Soulmagic: 6 Monday, 4 Tuesday = 10
 Missy Elliot: 5 Monday, 7 Tuesday = 12
 Room 5: 7 Monday, 4 Tuesday = 12
 Manijama feat. Mukupa: 4 Monday, 5 Tuesday = 9

 The song with most plays, is played twice as many times as the least
 played song. Also they are played rather random.
 Here's the log for Monday:
 http://textsnip.com/3ed468
 And Tuesday:
 http://textsnip.com/589435

 What am I doing wrong?

 Thank you.

 Kind regards,

 Morten

 2012/2/26 Robert Jeffares jeffares.rob...@gmail.com:
 You are using one GROUP = MUSIC

 Make a New Second GROUP [rdadmin  Manage Groups]

 Call it AROTATE

 Put the 5 CARTS in the AROTATE GROUP [Use RDLibrary and EDIT]

 Make a new EVENT [RDLog Manager Top Option]

 Call it Play an A Rotate and have it select a Cart from the AROTATE group

 Then replace the MUSIC Event at :32 in the CLOCK you are using with
 the new event.

 Put the clocks in for a day or 2 or 3 or 5  and create a LOG

 Then run the log.

 If you have all the tracks in MUSIC and are using Scheduler Codes to
 pick selections you wont get the result you want [ as you have found]

 You have got the 5 songs on separate CARTS. If they are all on one
 cart the 

Re: [RDD] Is it possible to have a 2-computer Rivendell setup like this?

2012-02-27 Thread Don Russell
Well actually just Use SSH and just reverse tunnel port
80/stream/whatever normal ports
you need from your moms house and tunnel them to your dorm PC.
You can still run the whole thing over the tunnel.

You can tell ssh what ports and where to tunnel them to. Since you initiated
the tunnel outbound, and your moms computer is actually receiving the inbound
connects your at least in the grey area with their terms. You can also
run shorewall
to ensure there are no incoming ports open IT can find.




--
Don Russell, CBRE CBNT
W9DRR - ARRL OES, Technical Specialist
http://www.socialengineer.us



On Mon, Feb 27, 2012 at 11:51 AM, Patrick Schmalstig / WRRJ Radio
xana...@gmail.com wrote:
 Oh okay nvm I see what you're going at when it somes to SSH... I
 thought you meant have a port open on the campus computer... which
 wouldn't be permitted. But you're talking having a port open on the
 web server computer, am I correct?
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Is it possible to have a 2-computer Rivendell setup like this?

2012-02-27 Thread Patrick Schmalstig / WRRJ Radio
Alright here's what I've decided to try and do for a set up. This was
suggested by my campus network security... as being the best option if
it is possible. Please let me know if it is possible and how to do it.
It's different from the original planned set up.

Computer 1 located at my Mom's house: Will host both the web server
AND rivendell server. It will contain everything, including the
rivendell web interface and the music library.

Computer 2 located at the college campus: Will be a rivendell
client... able to perform operations on the rivendell server (any
program, including rdadmin, rdlogedit, rdcatch, and rdairplay).

...and somewhere inside this set up will need to be the ability to
stream the radio using Darkice to a third party streaming provider...
and the college computer will need to be able to stream live from say
a microphone to this third party.


...I heard about Samba server... would that work for a set up like
this? If so, how do I start?
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Is it possible to have a 2-computer Rivendell setup like this?

2012-02-27 Thread Cowboy
On Monday 27 February 2012 03:30:59 pm Patrick Schmalstig / WRRJ Radio wrote:
 ...I heard about Samba server... would that work for a set up like
 this? If so, how do I start?

 Samba is an implementation that pretends to be a Microsoft
 server, warts and all.
 It's purpose is to out wit Microsoft's deliberate incompatibility
 with anything they didn't get paid for.

-- 
Cowboy

http://cowboy.cwf1.com

Remember, drive defensively!  And of course, the best defense is a good
offense!

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] trafficgenny help

2012-02-27 Thread Patrick Schmalstig / WRRJ Radio
sounds like you didn't install PHP on your system. If in linux, in a
terminal type sudo apt-get install php5 or sudo aptitude install
php5 or whatever command you use in your distro for your
repositories.

On Mon, Feb 27, 2012 at 6:34 PM, Joseph Matthews xcint...@gmail.com wrote:
 Can anyone provide some basic help getting the trafficgenny PHP traffic
 scheduler working?

 I have:

 1. Created a mySQL database:
 #mysql -u root -p
create database Traffic;
exit

 2. Import the .sql files into it:
 #mysql -u root -p Traffic  sheet.sql
 #mysql -u root -p Traffic  tempspnsrtimeslots.sql
 #mysql -u root -p Traffic  timeslots.sql

 3. Change the settings in dbinfo.inc.php:
 !-- this file contains your mysql database settings--
 ?
 $username=rivendell;
 $password=myPassword;
 $database=Traffic;
 ?

 4. Placed all files in /var/www/trafficgenny

 Accessing http://localhost/trafficgenny causes a PHP file trafficgenny to
 download; Clicking Submit in add.html causes insert.php to be
 downloaded; accessing trafficgenny.php downloads the file
 trafficgenny.php.

 I'm sure I've done wrong something very simple, but can't seem to figure it
 out.

 Thanks for the help!

 Joseph Matthews
 xcint...@gmail.com

 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] trafficgenny help

2012-02-27 Thread Joseph Matthews
I knew it was something really simple, thank you!

Now when I click Submit on the add.html page, I get a blank page insert.php 
in the browser; trafficgenny.php generates a blank browser window 
insert1.php. There's no indication that any traffic log is being generated, 
and if it is, where would it be saved?

Joseph Matthews
xcint...@gmail.com

On Feb 27, 2012, at 6:39 PM, Patrick Schmalstig / WRRJ Radio wrote:

 sounds like you didn't install PHP on your system. If in linux, in a
 terminal type sudo apt-get install php5 or sudo aptitude install
 php5 or whatever command you use in your distro for your
 repositories.
 
 On Mon, Feb 27, 2012 at 6:34 PM, Joseph Matthews xcint...@gmail.com wrote:
 Can anyone provide some basic help getting the trafficgenny PHP traffic
 scheduler working?
 
 I have:
 
 1. Created a mySQL database:
 #mysql -u root -p
 create database Traffic;
 exit
 
 2. Import the .sql files into it:
 #mysql -u root -p Traffic  sheet.sql
 #mysql -u root -p Traffic  tempspnsrtimeslots.sql
 #mysql -u root -p Traffic  timeslots.sql
 
 3. Change the settings in dbinfo.inc.php:
 !-- this file contains your mysql database settings--
 ?
 $username=rivendell;
 $password=myPassword;
 $database=Traffic;
 ?
 
 4. Placed all files in /var/www/trafficgenny
 
 Accessing http://localhost/trafficgenny causes a PHP file trafficgenny to
 download; Clicking Submit in add.html causes insert.php to be
 downloaded; accessing trafficgenny.php downloads the file
 trafficgenny.php.
 
 I'm sure I've done wrong something very simple, but can't seem to figure it
 out.
 
 Thanks for the help!
 
 Joseph Matthews
 xcint...@gmail.com
 
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
 
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] trafficgenny help

2012-02-27 Thread Patrick Schmalstig / WRRJ Radio
Traffic logs by default saved in Apache2 logs (/var/log/apache2).
Sometimes though PHP errors do not get saved, in which case I had to
edit php.ini (/etc/php5/apache2/php.ini) to include the line
error_log = /var/log/php5_error.log.

On Mon, Feb 27, 2012 at 7:01 PM, Joseph Matthews xcint...@gmail.com wrote:
 I knew it was something really simple, thank you!

 Now when I click Submit on the add.html page, I get a blank page insert.php 
 in the browser; trafficgenny.php generates a blank browser window 
 insert1.php. There's no indication that any traffic log is being generated, 
 and if it is, where would it be saved?

 Joseph Matthews
 xcint...@gmail.com

 On Feb 27, 2012, at 6:39 PM, Patrick Schmalstig / WRRJ Radio wrote:

 sounds like you didn't install PHP on your system. If in linux, in a
 terminal type sudo apt-get install php5 or sudo aptitude install
 php5 or whatever command you use in your distro for your
 repositories.

 On Mon, Feb 27, 2012 at 6:34 PM, Joseph Matthews xcint...@gmail.com wrote:
 Can anyone provide some basic help getting the trafficgenny PHP traffic
 scheduler working?

 I have:

 1. Created a mySQL database:
 #mysql -u root -p
 create database Traffic;
 exit

 2. Import the .sql files into it:
 #mysql -u root -p Traffic  sheet.sql
 #mysql -u root -p Traffic  tempspnsrtimeslots.sql
 #mysql -u root -p Traffic  timeslots.sql

 3. Change the settings in dbinfo.inc.php:
 !-- this file contains your mysql database settings--
 ?
 $username=rivendell;
 $password=myPassword;
 $database=Traffic;
 ?

 4. Placed all files in /var/www/trafficgenny

 Accessing http://localhost/trafficgenny causes a PHP file trafficgenny to
 download; Clicking Submit in add.html causes insert.php to be
 downloaded; accessing trafficgenny.php downloads the file
 trafficgenny.php.

 I'm sure I've done wrong something very simple, but can't seem to figure it
 out.

 Thanks for the help!

 Joseph Matthews
 xcint...@gmail.com

 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] trafficgenny help

2012-02-27 Thread Patrick Schmalstig / WRRJ Radio
forgot to mention before adding that line to php.ini you'll need to
create an empty /var/log/php5_error.log file and chmod it to 777.

On Mon, Feb 27, 2012 at 7:06 PM, Patrick Schmalstig / WRRJ Radio
xana...@gmail.com wrote:
 Traffic logs by default saved in Apache2 logs (/var/log/apache2).
 Sometimes though PHP errors do not get saved, in which case I had to
 edit php.ini (/etc/php5/apache2/php.ini) to include the line
 error_log = /var/log/php5_error.log.

 On Mon, Feb 27, 2012 at 7:01 PM, Joseph Matthews xcint...@gmail.com wrote:
 I knew it was something really simple, thank you!

 Now when I click Submit on the add.html page, I get a blank page 
 insert.php in the browser; trafficgenny.php generates a blank browser window 
 insert1.php. There's no indication that any traffic log is being 
 generated, and if it is, where would it be saved?

 Joseph Matthews
 xcint...@gmail.com

 On Feb 27, 2012, at 6:39 PM, Patrick Schmalstig / WRRJ Radio wrote:

 sounds like you didn't install PHP on your system. If in linux, in a
 terminal type sudo apt-get install php5 or sudo aptitude install
 php5 or whatever command you use in your distro for your
 repositories.

 On Mon, Feb 27, 2012 at 6:34 PM, Joseph Matthews xcint...@gmail.com wrote:
 Can anyone provide some basic help getting the trafficgenny PHP traffic
 scheduler working?

 I have:

 1. Created a mySQL database:
 #mysql -u root -p
 create database Traffic;
 exit

 2. Import the .sql files into it:
 #mysql -u root -p Traffic  sheet.sql
 #mysql -u root -p Traffic  tempspnsrtimeslots.sql
 #mysql -u root -p Traffic  timeslots.sql

 3. Change the settings in dbinfo.inc.php:
 !-- this file contains your mysql database settings--
 ?
 $username=rivendell;
 $password=myPassword;
 $database=Traffic;
 ?

 4. Placed all files in /var/www/trafficgenny

 Accessing http://localhost/trafficgenny causes a PHP file trafficgenny to
 download; Clicking Submit in add.html causes insert.php to be
 downloaded; accessing trafficgenny.php downloads the file
 trafficgenny.php.

 I'm sure I've done wrong something very simple, but can't seem to figure it
 out.

 Thanks for the help!

 Joseph Matthews
 xcint...@gmail.com

 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Is it possible to have a 2-computer Rivendell setup like this?

2012-02-27 Thread Luigino Bracci
Patrick,

Please, don't ignore the Tyndale's advices.

Did you compress the songs in the Rivendell Library using MP2, or
are you using uncompressed WAVs? If you have uncompressed WAV files, you
will need a  VERY robust network connection between your mom's house and
the college (maybe about 10 Mb/s) to get the files transferred in realtime
from the Rivendell server to your computer in the college. This means that,
in your mom's house, the UPSTREAM connection must be at least 10 Mb/s and
your college should let you download data at this bitrate.

If you compress all your Rivendell library to MP2, you'll need less
bandwith (maybe 512 kb/s), but still it is a great bandwidth, and you'll be
affected by the latency and other issues.

Bye.

2012/2/27 Patrick Schmalstig / WRRJ Radio xana...@gmail.com

 Alright here's what I've decided to try and do for a set up. This was
 suggested by my campus network security... as being the best option if
 it is possible. Please let me know if it is possible and how to do it.
 It's different from the original planned set up.

 Computer 1 located at my Mom's house: Will host both the web server
 AND rivendell server. It will contain everything, including the
 rivendell web interface and the music library.

 Computer 2 located at the college campus: Will be a rivendell
 client... able to perform operations on the rivendell server (any
 program, including rdadmin, rdlogedit, rdcatch, and rdairplay).

 ...and somewhere inside this set up will need to be the ability to
 stream the radio using Darkice to a third party streaming provider...
 and the college computer will need to be able to stream live from say
 a microphone to this third party.


 ...I heard about Samba server... would that work for a set up like
 this? If so, how do I start?
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] trafficgenny help

2012-02-27 Thread Joseph Matthews
The PHP error log shows:

PHP Fatal error:  Call to undefined function mysql_connect() in 
/var/www/trafficgenny/select1.php on line 3

Joseph Matthews
xcint...@gmail.com

On Feb 27, 2012, at 7:08 PM, Patrick Schmalstig / WRRJ Radio wrote:

 forgot to mention before adding that line to php.ini you'll need to
 create an empty /var/log/php5_error.log file and chmod it to 777.
 
 On Mon, Feb 27, 2012 at 7:06 PM, Patrick Schmalstig / WRRJ Radio
 xana...@gmail.com wrote:
 Traffic logs by default saved in Apache2 logs (/var/log/apache2).
 Sometimes though PHP errors do not get saved, in which case I had to
 edit php.ini (/etc/php5/apache2/php.ini) to include the line
 error_log = /var/log/php5_error.log.
 
 On Mon, Feb 27, 2012 at 7:01 PM, Joseph Matthews xcint...@gmail.com wrote:
 I knew it was something really simple, thank you!
 
 Now when I click Submit on the add.html page, I get a blank page 
 insert.php in the browser; trafficgenny.php generates a blank browser 
 window insert1.php. There's no indication that any traffic log is being 
 generated, and if it is, where would it be saved?
 
 Joseph Matthews
 xcint...@gmail.com
 
 On Feb 27, 2012, at 6:39 PM, Patrick Schmalstig / WRRJ Radio wrote:
 
 sounds like you didn't install PHP on your system. If in linux, in a
 terminal type sudo apt-get install php5 or sudo aptitude install
 php5 or whatever command you use in your distro for your
 repositories.
 
 On Mon, Feb 27, 2012 at 6:34 PM, Joseph Matthews xcint...@gmail.com 
 wrote:
 Can anyone provide some basic help getting the trafficgenny PHP traffic
 scheduler working?
 
 I have:
 
 1. Created a mySQL database:
 #mysql -u root -p
 create database Traffic;
 exit
 
 2. Import the .sql files into it:
 #mysql -u root -p Traffic  sheet.sql
 #mysql -u root -p Traffic  tempspnsrtimeslots.sql
 #mysql -u root -p Traffic  timeslots.sql
 
 3. Change the settings in dbinfo.inc.php:
 !-- this file contains your mysql database settings--
 ?
 $username=rivendell;
 $password=myPassword;
 $database=Traffic;
 ?
 
 4. Placed all files in /var/www/trafficgenny
 
 Accessing http://localhost/trafficgenny causes a PHP file trafficgenny 
 to
 download; Clicking Submit in add.html causes insert.php to be
 downloaded; accessing trafficgenny.php downloads the file
 trafficgenny.php.
 
 I'm sure I've done wrong something very simple, but can't seem to figure 
 it
 out.
 
 Thanks for the help!
 
 Joseph Matthews
 xcint...@gmail.com
 
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
 
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
 
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Is it possible to have a 2-computer Rivendell setup like this?

2012-02-27 Thread Patrick Schmalstig / WRRJ Radio
...sorry but who's the Tyndale?

Do you know of a batch converter or a way to convert automatically in
Rivendell from WAV to MP2? I have a lot of cuts.

...the MP2 option will work... I can still do it... but like you said
it will slow down my website badly... and I cannot afford any faster
internet plan.

On Mon, Feb 27, 2012 at 7:18 PM, Luigino Bracci lbra...@gmail.com wrote:
 Patrick,

 Please, don't ignore the Tyndale's advices.

 Did you compress the songs in the Rivendell Library using MP2, or
 are you using uncompressed WAVs? If you have uncompressed WAV files, you
 will need a  VERY robust network connection between your mom's house and the
 college (maybe about 10 Mb/s) to get the files transferred in realtime from
 the Rivendell server to your computer in the college. This means that, in
 your mom's house, the UPSTREAM connection must be at least 10 Mb/s and your
 college should let you download data at this bitrate.

 If you compress all your Rivendell library to MP2, you'll need less bandwith
 (maybe 512 kb/s), but still it is a great bandwidth, and you'll be affected
 by the latency and other issues.

 Bye.

 2012/2/27 Patrick Schmalstig / WRRJ Radio xana...@gmail.com

 Alright here's what I've decided to try and do for a set up. This was
 suggested by my campus network security... as being the best option if
 it is possible. Please let me know if it is possible and how to do it.
 It's different from the original planned set up.

 Computer 1 located at my Mom's house: Will host both the web server
 AND rivendell server. It will contain everything, including the
 rivendell web interface and the music library.

 Computer 2 located at the college campus: Will be a rivendell
 client... able to perform operations on the rivendell server (any
 program, including rdadmin, rdlogedit, rdcatch, and rdairplay).

 ...and somewhere inside this set up will need to be the ability to
 stream the radio using Darkice to a third party streaming provider...
 and the college computer will need to be able to stream live from say
 a microphone to this third party.


 ...I heard about Samba server... would that work for a set up like
 this? If so, how do I start?
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev



 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] trafficgenny help

2012-02-27 Thread Patrick Schmalstig / WRRJ Radio
You're welcome!

On Mon, Feb 27, 2012 at 8:02 PM, Joseph Matthews xcint...@gmail.com wrote:
 Thank you! Everything seems to be working now. I will fiddle around with it 
 for a while and see if I can figure everything out.

 Thanks again!

 Joseph Matthews
 xcint...@gmail.com

 On Feb 27, 2012, at 7:55 PM, Patrick Schmalstig / WRRJ Radio wrote:

 you then need to install php5-mysql. Use same method sudo apt-get
 install php5-mysql or other method.

 On Mon, Feb 27, 2012 at 7:31 PM, Joseph Matthews xcint...@gmail.com wrote:
 The PHP error log shows:

 PHP Fatal error:  Call to undefined function mysql_connect() in 
 /var/www/trafficgenny/select1.php on line 3

 Joseph Matthews
 xcint...@gmail.com

 On Feb 27, 2012, at 7:08 PM, Patrick Schmalstig / WRRJ Radio wrote:

 forgot to mention before adding that line to php.ini you'll need to
 create an empty /var/log/php5_error.log file and chmod it to 777.

 On Mon, Feb 27, 2012 at 7:06 PM, Patrick Schmalstig / WRRJ Radio
 xana...@gmail.com wrote:
 Traffic logs by default saved in Apache2 logs (/var/log/apache2).
 Sometimes though PHP errors do not get saved, in which case I had to
 edit php.ini (/etc/php5/apache2/php.ini) to include the line
 error_log = /var/log/php5_error.log.

 On Mon, Feb 27, 2012 at 7:01 PM, Joseph Matthews xcint...@gmail.com 
 wrote:
 I knew it was something really simple, thank you!

 Now when I click Submit on the add.html page, I get a blank page 
 insert.php in the browser; trafficgenny.php generates a blank browser 
 window insert1.php. There's no indication that any traffic log is 
 being generated, and if it is, where would it be saved?

 Joseph Matthews
 xcint...@gmail.com

 On Feb 27, 2012, at 6:39 PM, Patrick Schmalstig / WRRJ Radio wrote:

 sounds like you didn't install PHP on your system. If in linux, in a
 terminal type sudo apt-get install php5 or sudo aptitude install
 php5 or whatever command you use in your distro for your
 repositories.

 On Mon, Feb 27, 2012 at 6:34 PM, Joseph Matthews xcint...@gmail.com 
 wrote:
 Can anyone provide some basic help getting the trafficgenny PHP traffic
 scheduler working?

 I have:

 1. Created a mySQL database:
 #mysql -u root -p
 create database Traffic;
 exit

 2. Import the .sql files into it:
 #mysql -u root -p Traffic  sheet.sql
 #mysql -u root -p Traffic  tempspnsrtimeslots.sql
 #mysql -u root -p Traffic  timeslots.sql

 3. Change the settings in dbinfo.inc.php:
 !-- this file contains your mysql database settings--
 ?
 $username=rivendell;
 $password=myPassword;
 $database=Traffic;
 ?

 4. Placed all files in /var/www/trafficgenny

 Accessing http://localhost/trafficgenny causes a PHP file 
 trafficgenny to
 download; Clicking Submit in add.html causes insert.php to be
 downloaded; accessing trafficgenny.php downloads the file
 trafficgenny.php.

 I'm sure I've done wrong something very simple, but can't seem to 
 figure it
 out.

 Thanks for the help!

 Joseph Matthews
 xcint...@gmail.com

 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev