Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-28 Thread Gary Hodder


> I've tried. It does not work for me. I mean, not more. It seams that
> in 
> Debian 8 the /var/www/rd-bin can be a bin directory (and
> /var/www/html 
> can stay an fixed pages directory).

The rd-bin directory also has web pages that need to be in the apache
document root to read them.

> There is no apache error when I try to rdimport, even in debug
> LogLevel.
> I have no more error message since apache is configured, but the wav 
> file is still not created.
> 
If you still have rd-bin.conf in /etc/apache2/rivendell then its out
side of the apache configeration hierarchy. So as far as apache is
concerned rd does not exist so there wont be rd error messages in the
log.
You could move things but that may break rd elsewhere so I would
personly start again.
To save confusion later on remove the broken unused directories
/etc/apache2/rivendell and /var/www/rd-bin.
Goto rd source
Make clean
./configure --libexecdir=/var/www/html/rd-bin --
sysconfdir=/etc/apache2/sites-available
make
make install
make sure rd-bin.conf is in /etc/apache2/sites-available and it is also
symlinked to /etc/apache2/sites-enabled theres 2 lines in rd-bin.conf
that should point to /var/www/html/rd-bin.
Restart apache2 and rd and try again.

Gary.


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


Re: [RDD] Compiling on fedora 28

2018-07-23 Thread Gary Hodder
On Mon, 2018-07-23 at 17:58 +0200, Hoggins! wrote:
> Hello Gary,
> 
> See this : https://github.com/ElvishArtisan/rivendell/issues/210
> 
> You can replace the pow10() occurrences with pow() like this :
> 
> from :
> (jack_default_audio_sample_t)pow10((double)level/2000.0);
> 
> to :
> (jack_default_audio_sample_t)pow(10.0,(double)level/2000.0);
> 
> Hoggins!
> 
That fixed it thanks.

Gary.


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


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-23 Thread Gary Hodder


> 
> I compiled rivendell 2.19.2 with :
>   ./configure --libexecdir=/var/www/rd-bin 
> --sysconfdir=/etc/apache2/rivendell
> 
I remember reading quite some time ago that apache2 by default for
security reasons will not look out side of its set root directory.
In debian 9.4 its document root is /var/www/html
It also looks like it only checks its include directories for *.conf
files so It wont find /etc/apache2/rivendell/rd-bin.conf
I had it wrong at the start so deleted the directories files from the
wrong paths and recompiled.
configure --libexecdir=/var/www/html/rd-bin --
sysconfig=/etc/apache/sites-available
make install wont over write conf files so check rd-bin.conf in sites-
available points to, in my case /var/www/html/rd-bin
rd-bin.conf is symlinked from /etc/apache2/sites-available to
/etc/apache2/sites-enabled
Restart apache2 and rd.
Now import works.

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


[RDD] Compiling on fedora 28

2018-07-22 Thread Gary Hodder
Hi all,

fedora 28 fully up to date
rd-2.19.2

./configure --libexecdir=/var/www/html/rd-bin --
sysconfdir=/etc/httpd/conf.d --disable-docbook

Entering directory '/usr/src/rivendell-2.19.0/cae'
  CXX  cae.o
  CXX  cae_alsa.o
cae_alsa.cpp: In member function ‘bool
MainObject::alsaSetInputVolume(int, int, int)’:
cae_alsa.cpp:1143:37: error: ‘pow10’ was not declared in this scope
 alsa_input_volume[card][stream]=pow10((double)level/2000.0);
 ^
cae_alsa.cpp:1143:37: note: suggested alternative: ‘powl’
 alsa_input_volume[card][stream]=pow10((double)level/2000.0);
 ^
 powl
cae_alsa.cpp: In member function ‘bool
MainObject::alsaSetOutputVolume(int, int, int, int)’:
cae_alsa.cpp:1161:44: error: ‘pow10’ was not declared in this scope
 alsa_output_volume[card][port][stream]=pow10((double)level/2000.0)
;
^
cae_alsa.cpp:1161:44: note: suggested alternative: ‘powl’
 alsa_output_volume[card][port][stream]=pow10((double)level/2000.0)
;
^
powl
cae_alsa.cpp: In member function ‘bool
MainObject::alsaSetPassthroughLevel(int, int, int, int)’:
cae_alsa.cpp:1369:7: error: ‘pow10’ was not declared in this scope
   pow10((double)level/2000.0);
   ^
cae_alsa.cpp:1369:7: note: suggested alternative: ‘powl’
   pow10((double)level/2000.0);
   ^
   powl
make[1]: *** [Makefile:484: cae_alsa.o] Error 1
make[1]: Leaving directory '/usr/src/rivendell-2.19.0/cae'
make: *** [Makefile:526: all-recursive] Error 1


So I went back to rd-2.19.0 that worked before now has the same result.
The only difference is updates and now i'm using jack.

With a bit of digging found pow10 man page

These functions first appeared in glibc in version 2.1.  Since glibc
2.27, the use of these functions in new programs is no longer
supported.

rpm -q glibc
glibc-2.27-30.fc28.x86_64
glibc-2.27-30.fc28.i686

Thanks
Gary.

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


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-21 Thread Gary Hodder


> I compiled rivendell 2.19.2 with :
>   ./configure --libexecdir=/var/www/rd-bin 
> --sysconfdir=/etc/apache2/rivendell
> 
If apache is not told to look in the rivendell directory under apache
then it wont find the rd-bin.conf.
I just used --libexecdir=/usr/local/libexec
The configure script was smart enough fo find the apache sysconfig.
It put it in /etc/apache2/sites-available
Also rd-bin.conf was symlinked from /etc/apache/sites-available to
/etc/apache2/sites-enabled.
This is on debian 9.4
Rivendell-2-19.2

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


Re: [RDD] Changed to qt3 mysql

2018-07-09 Thread Gary Hodder
On Mon, 2018-07-09 at 14:23 -0400, Rob Landry wrote:
> I don't think that's a real error.
> 
> What happens when you try to run .configure on Rivendell?
> 
> 
> Rob
> 
> -- 

./configure --libexecdir=/usr/local/libexec
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-
unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to
toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports
shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports
shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports
shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for Qt... yes:

Re: [RDD] Changed to qt3 mysql

2018-07-09 Thread Gary Hodder
On Mon, 2018-07-09 at 07:14 -0400, Rob Landry wrote:
> Yes; here's what you need to enter:
> 
> sudo bash
> cd /usr/include
> ln -s mysql/mysql.h .
> ln -s mysql/mysql_version.h .
> ln -s mysql/mysql_com.h .
> ln -s mysql/mysql_time.h .
> ln -s mysql/my_list.h .
> ln -s mysql/typelib.h .
> ln -s mysql/my_alloc.h .
> 
> 
> Rob

Thanks Rob, did that but still doesn't work.
Heres what I get when compiling the driver.
It installs on make and tries to install twice if using make install.


make install
g++ -c -pipe /usr/include/ -Wall -W -O2 -fPIC  -DQT_NO_DEBUG
-DQT_PLUGIN -DQT_SHARED -I/usr/local/qt3/mkspecs/linux-g++ -I.
-I/usr/include/mysql -I../../../../include -I.moc/release-shared/ -o
.obj/main.o main.cpp
In file included from ../../../../include/qsqldriverplugin.h:45:0,
 from main.cpp:41:
../../../../include/qgplugin.h:85:13: warning: invalid suffix on
literal; C++11 requires a space between literal and string macro [-
Wliteral-suffix]
 "version="QT_VERSION_STR"\n"\
 ^
../../../../include/qgplugin.h:86:13: warning: invalid suffix on
literal; C++11 requires a space between literal and string macro [-
Wliteral-suffix]
 "flags="Q_PLUGIN_FLAGS_STRING"\n"\
 ^
../../../../include/qgplugin.h:87:6: warning: invalid suffix on
literal; C++11 requires a space between literal and string macro [-
Wliteral-suffix]
  "buildkey="QT_BUILD_KEY"\0";
  ^
g++: warning: /usr/include/: linker input file unused because linking
not done
g++ -c -pipe /usr/include/ -Wall -W -O2 -fPIC  -DQT_NO_DEBUG
-DQT_PLUGIN -DQT_SHARED -I/usr/local/qt3/mkspecs/linux-g++ -I.
-I/usr/include/mysql -I../../../../include -I.moc/release-shared/ -o
.obj/qsql_mysql.o ../../../../src/sql/drivers/mysql/qsql_mysql.cpp
g++: warning: /usr/include/: linker input file unused because linking
not done
test -d ../../../sqldrivers/ || mkdir -p ../../../sqldrivers/
rm -f libqsqlmysql.so
g++ -Wl,-rpath,/usr/local/qt3/lib -shared -Wl,-
rpath,/usr/local/qt3/plugins/sqldrivers -o libqsqlmysql.so .obj/main.o
.obj/qsql_mysql.o   -L/usr/local/qt3/lib -L/usr/X11R6/lib -lmysqlclient
-lqt -lXext -lX11 -lm -lSM -lICE -ldl 
mv -f libqsqlmysql.so ../../../sqldrivers/
cp -f "../../../sqldrivers/libqsqlmysql.so"
"../../../sqldrivers/libqsqlmysql.so"
cp: '../../../sqldrivers/libqsqlmysql.so' and
'../../../sqldrivers/libqsqlmysql.so' are the same file
Makefile:154: recipe for target 'install_target' failed
make: [install_target] Error 1 (ignored)
strip --strip-unneeded "../../../sqldrivers/libqsqlmysql.so"
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RdAirplay Log panel columns

2018-06-23 Thread Gary Hodder
On Sat, 2018-06-23 at 20:59 -0400, Rob Landry wrote:
> On Sat, 23 Jun 2018, Gary Hodder wrote:
> 
> > I'm having no luck compiling qt3 on the latest debian.
> 
> Here are my notes on compiling QT3 under Debian 9:
> 
> Fix QT3 C errors
> 
> You need to add the following line to two separate files
> 
> #include 
> 
> Inside /usr/local/qt3/include/qvaluelist.h on line 52 you'll see this
> 
> #include 
> #endif
> 
> Underneath this add the stddef line and it will look like this
> #include 
> #endif
> #include 
> 
> Inside /usr/local/qt3/include/qmap.h on line 54 you have this
> #include 
> #endif
> 
> Add the same stddef line underneath the end if like you did before.
> Compiling QT3
> Now you can compile QT3 without any issues
> 
> 
> Rob
> 
Sorry Rob you get 2 copies, didn't check the reply to.

Done that and qt3 compiles ok.
Got through to running rdadmin and it says cannot connect to mysql
server.
In /usr/local/qt3/plugins/sqldriver/libqsqlmysql.so
Is this the correct name and location for the mysql driver that rd
looks for?

Thanks
Gary.

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


Re: [RDD] RdAirplay Log panel columns

2018-06-22 Thread Gary Hodder


> 
>  I already know that it's on the list, but I wouldn't hold my breath.
> 
I seem to recall some time back that a version was being worked on for
qt4, is the light still turned on at the end of that tunnel?
I'm having no luck compiling qt3 on the latest debian.

Gary.

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


Re: [RDD] FTP set up using FileZilla into Appliance

2018-04-07 Thread Gary Hodder
On Sun, 2018-04-08 at 13:46 +1200, Robert Jeffares wrote:
> Hi Jesse
> 
> On the CentOS 6  Rivendell system set a password for rd in Users
>   & Groups in the CentOS Menu System>Administration>Users
>   7 Groups.
> 
> There is a default but better to use your own. Just overwrite the
>   * and click OK. 
> 
> 
> 
> In Filezilla use SFTP [ftp over ssh] which defaults to port 22.
>   OK on the same network [ use port fowarding to connect from the
>   WAN]
> 
> ssh runs on Rivendell Appliance out of the box.
> 
> 
> 
> "Normal" login allows you to configure user name and password
> 
> In the 'Advanced' tab set your local and Rivendell directory. We
>   have a directory on rd called dropbox so the path is
>   '/home/rd/dropbox'
> 
> There are some ready made directories on RD you can use as well.
>   
> 
> 
> 
> You can also map that dropbox or any of the rd directories as a
>   mounted folder on your windows machine so you just save the
> audio
>   files into the folder on your desktop [or wherever] The
> Rivendell
>   appliance shares a bunch of directories with Samba by default.
> Use
>   RDCATCH or the 'dropbox' feature to monitor for files you place
> in
>   the mounted shared folder which saves having to Filezilla every
>   time you record the weather. The installed folders are already
> set
>   up. It's easy enough to add to the Samba shares. man Samba will
>   provide all you need to know.
> 
> Be aware that Samba shares have some file naming restrictions
>   that should not bother you, and you may have to tweak
> permissions.
>   
> 
> 
> 
> I have such shared folder systems in a number of installations
>   and they work fine.
> 
> Filezilla is my #1 choice for remote access. 
> 
> 
> 
> 
> 
> 
> 
> regards
> 
> 
> 
> 
> 
> Robert

You could also use a ftp server, some servers allow you to map a user
to a directory other than the servers root directory.
This user could be mapped to the dropbox directory.
He did say using the local IPv4 address, so its on the internal
network.

Regards
Gary.___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Missing buttons

2017-11-26 Thread Gary Hodder
On Mon, 2017-11-27 at 11:13 +1100, Gary Hodder wrote:
> Hi all,
> 
> have compiled riv 2.17.0 on a new install of fedora 27.
> After opening rdairplay add song the play/stop buttons are not there.
> Also in rdlibrary edit song edit markers the window with the waveform
> is missing as well.
> Thats what of found so far. Is there something missing from my system
> when compiling riv?
> 
> Thanks
> Gary.
> 
make install didn't copy rd-bin.conf to apache conf.d dirrectory, that
got me the window back in rdlibrary edit markers.
Still no play/stop buttuns in rdairplay add cart window.

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


[RDD] Missing buttons

2017-11-26 Thread Gary Hodder
Hi all,

have compiled riv 2.17.0 on a new install of fedora 27.
After opening rdairplay add song the play/stop buttons are not there.
Also in rdlibrary edit song edit markers the window with the waveform
is missing as well.
Thats what of found so far. Is there something missing from my system
when compiling riv?

Thanks
Gary.

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


Re: [RDD] Compile on Antergos

2017-10-22 Thread Gary Hodder
On Sat, 2017-10-21 at 09:47 -0400, Rob Landry wrote:
> On Fri, 20 Oct 2017, Gary Hodder wrote:
> 
> > Just installed Antergos which is a branch of Arch linux.
> > There doesn't seem to be a a qt3-devel package and copile failed to
> > find matching components of a complete QT installation.
> > Any ideas where to go from here?
> 
> You'll have to compile QT3 from source, or as the Hacker's
> Dictionary 
> would say: use the source, Luke.
> 
Hi Rob,

did that and all went well until rdadmin cannot connect to mysql
database.
Duh qt3 does not compile drivers by default.
Wrestling with finding the qt3 mysql driver source, I think Luke has
left the building...

Gary.

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


Re: [RDD] Compile on Antergos

2017-10-20 Thread Gary Hodder
On Fri, 2017-10-20 at 21:24 -0400, Sherrod Munday wrote:
> On Oct 20, 2017, at 0:29, Gary Hodder <vk2...@vk2kcf.com> wrote:
> > Just installed Antergos which is a branch of Arch linux.
> > There doesn't seem to be a a qt3-devel package and copile failed to
> > find matching components of a complete QT installation.
> > Any ideas where to go from here?
> 
> Um, ... back to CentOS?
> 
> :-)
> 
It a new laptop Intel/Nvidia hybrib and Antergos is the only OS that
has worked perfectly out of the box with multi screens, up to 4.
So um no :)

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


[RDD] Compile on Antergos

2017-10-19 Thread Gary Hodder
Greeting all,

Just installed Antergos which is a branch of Arch linux.
There doesn't seem to be a a qt3-devel package and copile failed to
find matching components of a complete QT installation.
Any ideas where to go from here?

Thanks
Gary.

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


Re: [RDD] rdxport.cgi problem

2017-03-29 Thread Gary Hodder
On Wed, 2017-03-29 at 11:08 -0500, Matthew Chambers wrote:
> I got everything pretty much working on Fedora 25 after installing
> from source.
> I, however, can't import any audio Audio Converter Error OK, and I
> can't delete carts either.
> 
> I see a string of this error in the /var/log/httpd/error_log
> [Wed Mar 29 05:53:48.853183 2017] [cgi:error] [pid 18186] [client
> 127.0.0.1:53036] End of script output before headers: rdxport.cgi
> 
> [Wed Mar 29 05:54:48.862286 2017] [cgi:error] [pid 18187] [client
> 127.0.0.1:53060] AH01215: (13)Permission denied: exec of
> '/usr/local/libexec/rdxport.cgi' fa
> iled: /usr/local/libexec/rdxport.cgi
> 
> 
> 
> and in /var/log/httpd/access_log
> 127.0.0.1 - - [29/Mar/2017:10:46:54 -0500] "POST /rd-bin/rdxport.cgi
> HTTP/1.1" 500 127 "-" "-"
> 
> 
> 
> I've tried rdxport.cgi owned as me (the rivendell user) and as root,
> selinux is permissive, what else could it be?
> 
> 
> Matthew A. Chambers, NR0Q
> 
> 
> 

Hi Matthew,

I had a similar problem when installing on fedora 25 when compiled with
configure --with-qt-dir=/usr/lib64/qt-3.3.
I started again with configure --with-qt-dir=/usr/lib64/qt-3.3 --
libexecdir=/var/www/html/rd-bin
specifying a libexec directory and placing rd-bin in apache's root
directory worked for me.

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


Re: [RDD] [OT] STANDARD Editors [WAS: Lenovo BIOS won't install bootable Riv appliance DVD]

2017-02-18 Thread Gary Hodder
On Fri, 2017-02-17 at 18:45 -0500, Cowboy wrote:
> On Friday 17 February 2017 11:45:54 am Fred Gleason wrote:
> > 
> > On Feb 16, 2017, at 19:56, Cowboy  wrote:
> > 
> > > 
> > > Friendlier than vi ?
> > > 
> > > That's just not possible.
> > 
> > Allow me then to introduce you to ed(1):
> > 
> 
>  ed ?
>  Crude, primitive, hard to use...
> 
How about mc (midnight commander)

Gary.

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


[RDD] Old database

2017-01-01 Thread Gary Hodder
Hi all,

just setup a new system on Fedora 25 that plays imports edit markers
etc all work.
When it comes to creating a log I get

$ rdlogmanager
invalid SQL or failed DB connection[Table 'Rivendell._LOG' doesn't
exist QMYSQL3: Unable to execute query]: select ID from `_LOG` where
TYPE=6
Database connection failed: select ID from `_LOG` where TYPE=6
Database connection restored.
invalid SQL or failed DB connection[Table 'Rivendell._LOG' doesn't
exist QMYSQL3: Unable to execute query]: select
`_LOG`.ID,`_LOG`.CART_NUMBER,`_LOG`.START_TIME,`_LOG`.TIME_TYPE,`_LOG`.
TRANS_TYPE,`_LOG`.START_POINT,`_LOG`.END_POINT,`_LOG`.SEGUE_START_POINT
,`_LOG`.SEGUE_END_POINT,CART.TYPE,CART.GROUP_NAME,CART.TITLE,CART.ARTIS
T,CART.ALBUM,CART.YEAR,CART.LABEL,CART.CLIENT,CART.AGENCY,CART.USER_DEF
INED,CART.CONDUCTOR,CART.SONG_ID,CART.FORCED_LENGTH,CART.CUT_QUANTITY,C
ART.LAST_CUT_PLAYED,CART.PLAY_ORDER,CART.ENFORCE_LENGTH,CART.PRESERVE_P
ITCH
,`_LOG`.TYPE,`_LOG`.COMMENT,`_LOG`.LABEL,`_LOG`.GRACE_TIME,`_LOG`.POST_
POINT,`_LOG`.SOURCE,`_LOG`.EXT_START_TIME,`_LOG`.EXT_LENGTH,`_LOG`.EXT_
DATA,`_LOG`.EXT_EVENT_ID,`_LOG`.EXT_ANNC_TYPE,`_LOG`.EXT_CART_NAME,CART
.ASYNCRONOUS,`_LOG`.FADEUP_POINT,`_LOG`.FADEUP_GAIN,`_LOG`.FADEDOWN_POI
NT,`_LOG`.FADEDOWN_GAIN,`_LOG`.SEGUE_GAIN,CART.PUBLISHER,CART.COMPOSER,
CART.USAGE_CODE,CART.AVERAGE_SEGUE_LENGTH,`_LOG`.LINK_EVENT_NAME,`_LOG`
.LINK_START_TIME,`_LOG`.LINK_LENGTH,`_LOG`.LINK_ID,
`_LOG`.LINK_EMBEDDED,`_LOG`.ORIGIN_USER,`_LOG`.ORIGIN_DATETIME,CART.VAL
IDITY, `_LOG`.LINK_START_SLOP,`_LOG`.LINK_END_SLOP,
`_LOG`.DUCK_UP_GAIN,`_LOG`.DUCK_DOWN_GAIN,CART.START_DATETIME,CART.END_
DATETIME,`_LOG`.EVENT_LENGTH,CART.USE_EVENT_LENGTH,CART.NOTES from
`_LOG` left join CART on `_LOG`.CART_NUMBER=CART.NUMBER order by COUNT
Database connection failed: select
`_LOG`.ID,`_LOG`.CART_NUMBER,`_LOG`.START_TIME,`_LOG`.TIME_TYPE,`_LOG`.
TRANS_TYPE,`_LOG`.START_POINT,`_LOG`.END_POINT,`_LOG`.SEGUE_START_POINT
,`_LOG`.SEGUE_END_POINT,CART.TYPE,CART.GROUP_NAME,CART.TITLE,CART.ARTIS
T,CART.ALBUM,CART.YEAR,CART.LABEL,CART.CLIENT,CART.AGENCY,CART.USER_DEF
INED,CART.CONDUCTOR,CART.SONG_ID,CART.FORCED_LENGTH,CART.CUT_QUANTITY,C
ART.LAST_CUT_PLAYED,CART.PLAY_ORDER,CART.ENFORCE_LENGTH,CART.PRESERVE_P
ITCH
,`_LOG`.TYPE,`_LOG`.COMMENT,`_LOG`.LABEL,`_LOG`.GRACE_TIME,`_LOG`.POST_
POINT,`_LOG`.SOURCE,`_LOG`.EXT_START_TIME,`_LOG`.EXT_LENGTH,`_LOG`.EXT_
DATA,`_LOG`.EXT_EVENT_ID,`_LOG`.EXT_ANNC_TYPE,`_LOG`.EXT_CART_NAME,CART
.ASYNCRONOUS,`_LOG`.FADEUP_POINT,`_LOG`.FADEUP_GAIN,`_LOG`.FADEDOWN_POI
NT,`_LOG`.FADEDOWN_GAIN,`_LOG`.SEGUE_GAIN,CART.PUBLISHER,CART.COMPOSER,
CART.USAGE_CODE,CART.AVERAGE_SEGUE_LENGTH,`_LOG`.LINK_EVENT_NAME,`_LOG`
.LINK_START_TIME,`_LOG`.LINK_LENGTH,`_LOG`.LINK_ID,
`_LOG`.LINK_EMBEDDED,`_LOG`.ORIGIN_USER,`_LOG`.ORIGIN_DATETIME,CART.VAL
IDITY, `_LOG`.LINK_START_SLOP,`_LOG`.LINK_END_SLOP,
`_LOG`.DUCK_UP_GAIN,`_LOG`.DUCK_DOWN_GAIN,CART.START_DATETIME,CART.END_
DATETIME,`_LOG`.EVENT_LENGTH,CART.USE_EVENT_LENGTH,CART.NOTES from
`_LOG` left join CART on `_LOG`.CART_NUMBER=CART.NUMBER order by COUNT
Database connection restored.
$ 

This database is dated june 2012, can it be easily fixed or would be it
easier to start from scratch?

Thanks
Gary.

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


Re: [RDD] Configuring Jack For v2.10.2 Appliance

2015-05-23 Thread Gary Hodder

On 05/23/2015 10:40 AM, Eugene wrote:

I'm doing some experimenting with the jack server, and attempting to add
Rivendell to Jack's client list.

My goal:  send RDairplay out to stereo_tool for final processing, then
stream to shoutcast (all via jack).  Here's what I have so far.  This is
a Rivendell Appliance v2.10.2 - CentOS 6.6 (final).

(1) With Jack running, rivendell is listed as active in the Patchbay,
but doesn't appear in the output/input lists (only system and midi
through).  Attempting to add rivendell here doesn't look right.

(2)  Clicking on Connect only turns the button to grey and does nothing.

(3)  I've only gotten this far by taking my sound cards out of the
RDAalsaConfig utility listing ( as Jack won't start with them in the
alsa list.

(4)  I checked to ensure the jack session was intact in the rd config
file.  But since I'm having to start jack manually I must not know about
a startup file somewhere (as jack is not included in a startup listing)
aparently left as an option for the install.

(5)  In the Manage Hosts  Jack area I have checked the box for jack to
start with this host.   In Manage Hosts  Audio Resources I don't see
jack or either of my sound cards, even though I selected the alsa driver
in the jack setup.

This is likely something simple I haven't come across yet.  I'd just
like to plug the processing in before sending this to the stream/license
service.

Perhaps someone might have a moment to suggest the critical pieces of
this puzzle.  Thank you to the Rivendell team for an excellent product!

Thanks!
Eugene
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Hi Eugene,

jack needs to be run as the same username as RD.
If you are starting jack manually from a terminal su to the rd username 
and start jack and restart rd.


Gary.

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


Re: [RDD] newbie questions

2013-11-03 Thread Gary Hodder
On Sun, 2013-11-03 at 16:58 +, Mike Carroll wrote:
 Simon Frech simon@... writes:
 
  Is it possible to run the basic functions of Rivendell with just the built-
 in soundcard on a PC or laptop? 
  Does it work with older external USB sound cards, like the Edirol UA25, or 
 even more basic Behringer UFO202?
  I'm trying to learn about Rivendell and need to do that without spending a 
 lot of money.
 
 Hi, Simon. 
 
 It's possible to run Rivendell on a laptop, but I've only been able to do it 
 using Ubuntu and the Tryphon distributions. 
 
 The Appliance CD runs CentOS and it doesn't recognize some of the hardware on 
 two different laptops I have (one Dell, one a Compal whitebox).
 
 The big concern is that whatever Linux distro you're using can recognize your 
 sound card and CD player.
 
 If you don't care about the current contents of your laptop or PC, I suggest 
 you download the Appliance CD from the Paravel site and install Rivendell 
 from 
 there. (I've tried both the V1 and V2 CDs and neither one would allow me to 
 install Rivendell alongside any other operating system. YMMV)
 
 If the Appliance CD doesn't work for you then you'll need to enter the 
 interesting world of installing the Tryphon packages.
 
Hi,

Rivendell runs just fine on a Dell dual core laptop and Centos 6.4 but I
did compile from source.
But I will be moving back to Fedora when 20 comes out.

Gary.


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


Re: [RDD] Talking to an ADTRAN ISU 2x64

2013-08-02 Thread Gary Hodder
On Thu, 2013-08-01 at 17:08 -0400, Rob Landry wrote:
 One of my clients has an ISDN line. I'm trying to get Rivendell to talk to 
 an ADTRAN box via a serial port, and so far have had no luck.
 
 I need to send the string !P{0x0d}D19017536832{0x0d} to the ADTRAN, 
 and I thought to do it as two commands:
 
 SO 1 !P!

As a guess you could try escaping the non ascii characters.
SO 1 \!P!

Or maybe Fred could mod the code so that the ! only acts as a delimiter
when it is the last character on the line.

Gary.


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


Re: [RDD] rdlibrary 2.5 does not add or delete

2013-05-01 Thread Gary Hodder
On Tue, 2013-04-30 at 17:32 -0430, Luis Ernesto Rivero Montes wrote:
 Good afternoon, first I will indicate my installation features:
 
 Ubuntu-Studio 13.04
 3.8.0-19-lowlatency #13-Ubuntu SMP PREEMPT  i686 i686 i686 GNU/Linux
 
 Version Rivendell 2.5
 
 
 
 
 Everything seems to work fine, but when running rdlibrary and try to
 add a sound not import the file, and to cancel the operation creates
 the red color cartridge is empty indicating that no permit deletion.
 
 I managed to delete it directly from the database in the table CART.
 
 No problem for obtaining permits from the database because I can add
 and delete groups without problems.
 
 I tried running as root rdlibrary without obtaining a different
 result.
 
 Appreciate all the help you can give me.
 
Have you copied rd-bin.conf to apache config directory and restarted
apache?
You may need to edit rd-bin.conf so it point to rd's libexec directory.
On Centos 6.4 its /usr/local/libexec
Don't know if its the same for Ubuntu.

Cheers
Gary.




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


Re: [RDD] rdlibrary 2.5 does not add or delete

2013-05-01 Thread Gary Hodder
On Wed, 2013-05-01 at 09:11 -0430, Luis Ernesto Rivero Montes wrote:
 
 Yes I have the file / var / snd with 777 file permissions
 
 I'll try the rd-bin.conf
 
 
 The rd-bin.conf is /usr/share/doc/rivendell/examples/conf/rd-bin.conf
 for ubuntu
 
 I made a symbolic link (ln -s)
 from /usr/share/doc/rivendell/examples/conf/rd-bin.conf
 to /etc/apache2/mods-enabled/ ,  I restarted the apache2, but it still
 does not work.
 
 
Read Rob Landry's reply to Not playing audio, it explains rd-bin.conf
for Ubuntu.

Cheers
Gary.




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


Re: [RDD] Broadcast appliance startup question

2012-11-17 Thread Gary Hodder
On Sat, 2012-11-17 at 20:01 -0500, Cowboy wrote:
 On Friday 16 November 2012 04:23:51 pm Nathan Steele wrote:
  Why do my broadcast appliance boxes seem to hang forever at starting 
  Sendmail it takes minutes to get past it and finish booting up...I 
  don't reboot often, but just wondering, when seconds count, I'll be 
  pulling my hair out waiting for it to boot
  
  Do I need to configure something?
 
  Does the box need sendmail ?
  If not, just disable the start up script.
 
The system may need sendmail for internal stuff, not sure if disabling
it will brake other things.
Add all your hostnames and ip's to the host file then edit nsswitch.conf
to be

hosts:  files dns (what-else-you-need)

The system will then look up the hostnames in the host file and will not
try to do a dns lookup.
If its not in the host file then the next step is to do a dns lookup.

Gary.



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


Re: [RDD] Satellite Automation / Executing RML on Remote Machines

2012-11-04 Thread Gary Hodder
On Sun, 2012-11-04 at 20:21 -0500, Brian McGlynn wrote:
 Hello,
 
 I am looking to connect Rivendell in a Satellite Automation capacity.  Rather 
 than running a wad of cables from the
 Satellite Receiver's relays to the studio, I was thinking about using the 
 Rivendell instance already connected to the
 Satellite Receivers to remote-control the firing of local imaging and traffic 
 on the remote studio machine.
 
 Has anyone tried this before?
 
 Thanks in advance.
 Brian

Hi Brian,

you could add a GPIO card to the Rivendell machine and connect it to the
satellite receiver.
Then have it detect relay changes and send rml commands over the local
ethernet network to the remote machine.

Cheers
Gary.


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


Re: [RDD] OpenOB 2.3 release

2012-10-24 Thread Gary Hodder

 Being a little security conscious you should be firewalling the hell out of 
 the transmitter which leaves you with 3 obvious routes:
 
 1.  Set up a site to site VPN (doable but introduces latency and processing 
 cost)
 2.  Open the ports on the transmitter firewall (which to my mind is an 
 obvious way of getting your transmitter hijacked, you can mitigate with 
 passwords etc)
 3.  Have the transmitter pull from the station.
 
If you have fixed ip at each end you can allow a connection at the
transmitter site from your ip only, then next rule in iptables is to
drop all other connections on that port.
No security risk there unless they hack your isp and steel your ip.

Cheers
Gary.


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


Re: [RDD] Serial Ports

2012-06-27 Thread Gary Hodder
On Wed, 2012-06-27 at 17:23 +1200, Gavin Stephens wrote:
 Rivendell 1.7.2,
 Sususe 10.0.
 
 I've just finished re-configuring serial ports and for some reason I'm 
 getting Serial1 data still sending on Serial0 port.
 
 I've setup the Serial0 and Serial1 devices in RDAdmin for the Rivendell host 
 as /dev/tty0 and /dev/tty1 respectively and enabled them. I also did a dmseg 

Try /dev/ttyS0 and /dev/ttyS1

 | grep tty and it says I have two serial ports, which I do on the machine in 
 question.
 
 I'm just not quite sure why RDAirPlay is sending data out for Serial1 on 
 Serial0.
 
 I have a macro cart set to SO Serial0 1!, then another line with SO Serial1 
 34! so as far as I can tell RDAirPlay should be sending it out the correct 
 serial port for each line.
 
 I have Windows Hyperterminal running on the end of Serial0 at the correct 
 baud so I can watch the output externally, but I'm getting the second line 
 destined for Serial1 also showing up on Serial0. So on the Windows box I get 
 1 then the LF/CR, then 34. 34 is not sopose to be there.
 
 Any ideas?
 
 Cheers,
 Gavin.
 
 ___
 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


[RDD] Compiling Rivendell on fedora 16

2012-05-27 Thread Gary Hodder
Trying to compile Rivendell 2.1.4 on Fedora 16 and get the following
error when running make.
Anyone got any ideas.
config.log can be found here http://www.vk2kcf.com/riv/config.log


Thanks
Gary.


make[1]: Entering directory `/usr/src/rivendell-2.1.4/cae'
  CXXcae.o
cae.cpp: In member function ‘void MainObject::ProbeCaps(RDStation*)’:
cae.cpp:1932:9: warning: unused variable ‘handle’ [-Wunused-variable]
  CXXcae_socket.o
  CXXcae_hpi.o
  CXXcae_jack.o
  CXXcae_alsa.o
/usr/lib64/qt-3.3/bin/moc cae.h -o moc_cae.cpp
  CXXmoc_cae.o
/usr/lib64/qt-3.3/bin/moc cae_socket.h -o moc_cae_socket.cpp
  CXXmoc_cae_socket.o
  CXXLD  caed
/usr/bin/ld: cae_alsa.o: undefined reference to symbol
'pthread_create@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_create@@GLIBC_2.2.5' is defined in
DSO /lib64/libpthread.so.0 so try adding it to the linker command line
/lib64/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [caed] Error 1
make[1]: Leaving directory `/usr/src/rivendell-2.1.4/cae'
make: *** [all-recursive] Error 1


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


Re: [RDD] Compiling Rivendell on fedora 16

2012-05-27 Thread Gary Hodder
Hi James,

the libpthread.so.0 library is there, its part of glibc when installed.
Its a link to libpthread-2.14.90.so
Any other ideas?

Thanks
Gary.

On Sun, 2012-05-27 at 11:14 +0100, James Harrison wrote:
 sudo yum install libpthread-dev, perhaps? (I'm a bit rusty on dev
 package naming for Fedora, but looks like you're missing the pthread
 library at any rate).
 
 Cheers,
 James Harrison
 
 On 27 May 2012 20:12:58, Gary Hodder wrote:
  Trying to compile Rivendell 2.1.4 on Fedora 16 and get the following
  error when running make.
  Anyone got any ideas.
  config.log can be found here http://www.vk2kcf.com/riv/config.log
 
 
  Thanks
  Gary.
 
 
  make[1]: Entering directory `/usr/src/rivendell-2.1.4/cae'
CXXcae.o
  cae.cpp: In member function ‘void MainObject::ProbeCaps(RDStation*)’:
  cae.cpp:1932:9: warning: unused variable ‘handle’ [-Wunused-variable]
CXXcae_socket.o
CXXcae_hpi.o
CXXcae_jack.o
CXXcae_alsa.o
  /usr/lib64/qt-3.3/bin/moc cae.h -o moc_cae.cpp
CXXmoc_cae.o
  /usr/lib64/qt-3.3/bin/moc cae_socket.h -o moc_cae_socket.cpp
CXXmoc_cae_socket.o
CXXLD  caed
  /usr/bin/ld: cae_alsa.o: undefined reference to symbol
  'pthread_create@@GLIBC_2.2.5'
  /usr/bin/ld: note: 'pthread_create@@GLIBC_2.2.5' is defined in
  DSO /lib64/libpthread.so.0 so try adding it to the linker command line
  /lib64/libpthread.so.0: could not read symbols: Invalid operation
  collect2: ld returned 1 exit status
  make[1]: *** [caed] Error 1
  make[1]: Leaving directory `/usr/src/rivendell-2.1.4/cae'
  make: *** [all-recursive] Error 1
 
 
  ___
  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] Library problem after upgrade

2012-03-04 Thread Gary Hodder
On Sat, 2012-03-03 at 04:38 -0500, al davis wrote:
 I did an upgrade to the latest version and uploading with 
 rdlibrary doesn't work anymore.
 
 The OS is Debian squeeze.  Originally, I installed from source 
 based on directions in the wiki:
 http://rivendell.tryphon.org/wiki/Installing_Rivendell_Version_2.02_on_Debian_Squeeze
 
 Recently, I upgraded to 2.1.2 using the debian package, with 
 apt-get, making sure that the user names and passwords matched 
 up, then run rdadmin and click to update the database as per the 
 instructions.
 
 After the upgrade, playback works fine but I can't upload new 
 files with rdlibrary.  It says Unable to create destination 
 file.  If I am ripping a CD, it does this for every track on 
 the CD, then says Rip complete!, but there are no tracks 
 there.  The listing in rdlibrary shows that new carts were 
 created, but there is nothing in them, no titles, etc.  They are 
 colored red.
 
 If I install the new version with the debian package from 
 scratch, on a clean machine, it works fine.
 
 Then I tried to upgrade another machine, with the same results.
 
 Looking at the configuration files, names, passwords, 
 permissions, etc ..  I can't see any difference between the 
 freshly installed one that works fine and the upgraded one 
 that doesn't.
 
 any ideas??
 
 al.

Hi Al,

have you checked rd-bin.conf, I remember having to modify it and restart
apache2 after a upgrade.

Gary.




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


Re: [RDD] A $19 Joystick Question

2012-02-04 Thread Gary Hodder
On Fri, 2012-02-03 at 23:24 -0500, Alan Peterson wrote:
 Hello all. I'm repeating something I saw Tim Camp do on the Wiki, using a USB 
 gaming joystick as a Rivendell remote controller (Tim, chime in if you can 
 help).
 
 My CentOS box sees the joystick as /dev/js0. Under KDE's Control 
 CenterJoystick, it reads all the buttons very clearly when actuated. I went 
 in and created a new Rivendell Switcher entry MATRIX1 - USB JOYSTICK - LOCAL 
 GPIO, wrote and assigned a couple of Macro carts to perform what I want (and 
 confirmed they work using RUN CART), restarted the computer and the daemons, 
 then gave it a go.
 
 Nothing. No execution of events. RDGPIMON shows no activity when the joystick 
 buttons are worked.
 
 As in my past workings, I'm probably leaving out one important command or 
 some key step to complete the process. CentOS sees the joystick, RD does not. 
 What did I leave out?
 
 Thx ahead of time.
 
 -AP


Hi Alan,

I'm not near a machine so going by memory and it needs someone to clean
it up so you can better understand it.

The buttons on the joystick are the parts you are using and the device
is /dev/input/event?. Can be event2 event3 event4 etc.
Unplug joystick and look in /dev/input and see what events are there
Plug joystick back in and see what event has been created
Add this event? to gpio with full path restart rivendell daemons and it
should work until you reboot.
A reboot or the usb joystick being unplugged replugged will cause the
event number to change.

Below is a catch all for event matching your joystick buttons and
creates a device /dev/rivbutton1 that can be added to the gpio device.

Copy below to a file and call it 49-local.rules
BUS==usb, SYSFS{product}==Generic   USB  Joystick  ,
KERNEL==event**, NAME=rivbutton1

Sorry I forgotten where this file goes if Fred could please chime in
here.

List your usb devices and copy your usb joystick device and replace my
GenericUSB  Joystick   with yours and I think the spaces maybe
important.

Another thing I noted was cheap joysticks are not shielded. The usb hub
would occasionally disconnect then reconnect. I think this maybe the hub
trying to protect itself from electrical interference.
So build the button board into a good shielded box with good quality
shielded cables including the usb cable.

Gary.



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


Re: [RDD] A $19 Joystick Question

2012-02-04 Thread Gary Hodder
On Sat, 2012-02-04 at 20:10 +1100, Gary Hodder wrote:
 On Fri, 2012-02-03 at 23:24 -0500, Alan Peterson wrote:
  Hello all. I'm repeating something I saw Tim Camp do on the Wiki, using a 
  USB gaming joystick as a Rivendell remote controller (Tim, chime in if you 
  can help).
  
  My CentOS box sees the joystick as /dev/js0. Under KDE's Control 
  CenterJoystick, it reads all the buttons very clearly when actuated. I 
  went in and created a new Rivendell Switcher entry MATRIX1 - USB JOYSTICK - 
  LOCAL GPIO, wrote and assigned a couple of Macro carts to perform what I 
  want (and confirmed they work using RUN CART), restarted the computer and 
  the daemons, then gave it a go.
  
  Nothing. No execution of events. RDGPIMON shows no activity when the 
  joystick buttons are worked.
  
  As in my past workings, I'm probably leaving out one important command or 
  some key step to complete the process. CentOS sees the joystick, RD does 
  not. What did I leave out?
  
  Thx ahead of time.
  
  -AP
 
 
 Hi Alan,
 
 I'm not near a machine so going by memory and it needs someone to clean
 it up so you can better understand it.
 
 The buttons on the joystick are the parts you are using and the device
 is /dev/input/event?. Can be event2 event3 event4 etc.
 Unplug joystick and look in /dev/input and see what events are there
 Plug joystick back in and see what event has been created
 Add this event? to gpio with full path restart rivendell daemons and it
 should work until you reboot.
 A reboot or the usb joystick being unplugged replugged will cause the
 event number to change.
 
 Below is a catch all for event matching your joystick buttons and
 creates a device /dev/rivbutton1 that can be added to the gpio device.
 
 Copy below to a file and call it 49-local.rules
 BUS==usb, SYSFS{product}==Generic   USB  Joystick  ,
 KERNEL==event**, NAME=rivbutton1
 
 Sorry I forgotten where this file goes if Fred could please chime in
 here.
 
Just remembered
/etc/udev/rules.d

 List your usb devices and copy your usb joystick device and replace my
 GenericUSB  Joystick   with yours and I think the spaces maybe
 important.
 
 Another thing I noted was cheap joysticks are not shielded. The usb hub
 would occasionally disconnect then reconnect. I think this maybe the hub
 trying to protect itself from electrical interference.
 So build the button board into a good shielded box with good quality
 shielded cables including the usb cable.
 
 Gary.
 
 
 
 ___
 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] Log Editing - Anyway to Lock?

2012-01-15 Thread Gary Hodder
Hi all,

have a different idea, can another field be added to the database? This
field would be for rdlogedit.
If mylog was created by client1 at 10am and not edited by anyony the
field could say
mylog created by client1 10:00
If the log was open by client2 at 10:30
mylog open by client2 10:30
Client2 finishes editing at 10:40
mylog closed by client2 10:40

Rdlogedit would pole the database and you would know what logs are open,
being edited, what times they were edited and which are available to be
edited.
Just a thought.

Gary.


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


[RDD] rlm_facebook

2011-12-26 Thread Gary Hodder
Hi all,

tried adding rlm_facebook to rdairplay under configure now next. Added
rml_facebook.conf in /etc and configured it.
When trying to do a rivendell restart the daemons wont start.
Where in rivendell do I find the config with the now and next so I can
remove the facebook modules.
Tried deleting rml_facebook.rml and rml_facebook.conf but that didn't
work.
I dont want to reload and import 18000 songs.

Thanks
Gary.


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


Re: [RDD] Using Rivendell to Control Axia Element Board

2011-11-15 Thread Gary Hodder
On Tue, 2011-11-15 at 09:03 -0700, Andy Sayler wrote:
 Hi All,
 
 
 I'm not sure if anyone has any experience with this, or
 if the hardware even allows it, but I was wondering if Rivendell has
 any support for controlling events on an Axia Element Board? In
 particular, has anyone found a way to pragmatically change the current
 profile on an Element using either a Rivendell Macro or some other
 software via the Livewire network? It would be really handy to be able
 to set the board to a specific profile on certain Rivendell events,
 etc.
 
 
 Anyone ever played with this or know if the Element has any support
 for setting the currently loaded profile pragmatically over the
 network?
 
 
 Thanks,
 Andy Sayler

Hi Andy,

according to our dealer you can switch slider inputs and outputs on the
elements console via gpio.
Inputs on the IQ and Radius consoles cannot but outputs can.
On the IQ and Radius inputs can be changed via the profiles buttons on
the console and pathfinder software.
Our dealers project engineer is looking into the pathfinder and
profiles.
Maybe a feature request where gpio could trigger pathfinder to change to
a preset profile on the console.
I'll get back when I get more info on this.

Thanks
Gary.


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


Re: [RDD] Axia Switcher

2011-10-25 Thread Gary Hodder
On Tue, 2011-10-25 at 18:58 -0400, Fred Gleason wrote:
 On Oct 25, 2011, at 17:48 20, Fred Gleason wrote:

 Got some clarification from the folks at Axia about this.  The way this will 
 work is that the four output gateway connections (as well as any other 
 external

  node type devices) can be controlled via RML.  However, the actual input 
 assignments on the console fader channels cannot be, because they are not full

  Livewire channels in the sense that output channels on a node are.  (These 
 channels can, however, access up to twelve external Livewire streams via the

  gateway functionality).
 
 Making sense?
 
Fred would this be the same for the radius console?
The idea I had was if a dj put the wrong sat slider on over night it
could be remotely changed via a rdpannel button.
Or rivendell could switch the current vinblows system off via console
and do its thing.
It looks as though these Axia consoles aren't what I thought they were.

Thanks
Gary.
 

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


[RDD] USB joystick events

2011-09-14 Thread Gary Hodder
Hi all,

I bought a usb game pad joystick on Ebay $8 including postage.
It comes up as event5 and gives 10 gpi's according to rdgpimon.
After a reboot the device comes up as avent2.
Is there any way to make it the same event number so it doesn't have to
be reconfigured after a reboot?

My test machine at home is Opensuse 11.4 Riv 2.0.2 and jack.
The stations machine is rdappliance with Riv 2.0.2 and alsa.

Thanks
Gary.


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