[RDD] Jackd multi-user setting

2017-02-28 Thread Alessio Elmi
Hi there,
I know this question comes up once in a while, but I think it never
produced a valid solution.

Just a recap of which are the presupposition: it has always been suggested
to run Rivendell under dedicated user, something like a system user,
different from the one which is 'graphically' logged in. For example you
may want a simple-and-not-privileged user called 'studio', which cannot
touch /var/snd folder. It can of course launch all Rivendell UI modules,
and actually it does. On the other hand Rivendell daemons,
caed/ripcd/rdcatchd run under 'rivendell' user, who hasn't any active X
session, and it is the owner of /var/snd. A nice way of accomplish this
security framework is to setuid the three binary daemons with chown
rivendell:rivendell and  then chmod 4755. So far, so good.

Any problem with the above scenario? Are there newer recommendations?

Problems come up if you want to use jack server to handle audio resources.
In fact, any applications looking for a jack server can only see instances
running under the same user identity. If 'studio' runs 'jackd', this cannot
be seen by 'caed', which is launched by 'rivendell'. You need to setuid
also jackd the same way you did for caed. This is the only solution I
found. But as you can imagine, this workaround leads to a domino effect,
where any jack-related application must be setuid, otherwise it cannot
work. And of course you cannot use any graphical tool, like
qjackctl/patchage since they need an X server owned by the same jack-server
user.

There is another strange behavior I need to investigate better (you may
confirm). If jack server is not setuid (just chmod 0755), and launched
through systemd with a specific user, then caed cannot see it, even though
users match. But this is not a big deal in the end.

It is a pity. Jack is a very versatile tool. Since the computer is used for
production purposes, I really would like users to listen to Youtube with
the same audio card linked to RDLibrary.

Now: what do you suggest?
Thank you

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


Re: [RDD] Autostarting Rdairplay on bootup

2016-06-29 Thread Alessio Elmi
It may be a good idea to handle the rdairplay.lock file in the home, which
may be still present at boot in case of power failure.

Il giorno mer 29 giu 2016 alle ore 20:20 Rob Landry <41001...@interpring.com>
ha scritto:

> On Wed, 29 Jun 2016, Wayne Merricks wrote:
>
> > don't bother with rc.local it doesn't always work and its hard to figure
> > out why.
>
> In my experience, it works fine through Debian 7, but not under Debian 8,
> which uses systemd.
>
> My World Classical Network machines run Rivendell on a virtual desktop
> created by a VNC server. The VNC server is started from crontab with
> "@reboot" at the beginning of the line; rdairplay is started by a script
> that is executed by ~/.vnc/xstartup .
>
>
> Rob
>
> --
> Я там, где ребята толковые,
> Я там, где плакаты "Вперёд",
> Где песни рабочие новые
> Страна трудовая поёт.
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Appliance Versions...

2016-06-22 Thread Alessio Elmi
I think you can can interpret that number this way:
2.6.6.1 ->
2 -> Rivendell 2.x
6.6 -> based on CentOS 6.6
1 -> subrelease, with setup/config fixes.

However, you should have Paravel repository enabled with the Appliance. A
simple "yum upgrade" will bring Rivendell to the latest released version.
Fred could correct me if wrong.

Ale

Il giorno mer 22 giu 2016 alle ore 15:14 Cowboy  ha scritto:

> On Wed, 22 Jun 2016 07:05:01 -0500
> Alan Smith  wrote:
>
> > Then there was another appliance that was RD 2.5.5 on CentOS 6.5
> > and the current one which is RD 2.5.5 on CentOS 6.6
>
>  You see, why I asked...
>  The current release is 2.14.1 but I'll admit I haven't gotten an
>  appliance DVD in a while. The appliance version is 2.6.6.1 but
>  that clearly is not the Rivendell release number.
>
>  Hey, Fredrick !?
>   Even I'm a bit confused ( difficult to believe as it may be )
>
> --
> Cowboy
>
> http://cowboy.cwf1.com
>
> Let He who taketh the Plunge Remember to return it by Tuesday.
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Synchronizing carts and logs

2016-06-14 Thread Alessio Elmi
+1 for XML! I think a good idea, considering a wider scenario, could be the
following:

i) The same xml output can be generated 'per-cart' when exporting
single/few audio files, but it could be also an alternative report format
from RDLibrary (one file with the whole list inside).

ii) The same xml can be used in addition with rdimport routine. When
importing 'test.wav' it would look for 'test.xml'. If there, it will fill
metadata accordingly (of ocurse it should expect a single-cut cart
template).

Alessio

Il giorno mar 14 giu 2016 alle ore 19:24 Fred Gleason <
fr...@paravelsystems.com> ha scritto:

> On Jun 14, 2016, at 07:57, drew Roberts  wrote:
>
> http://www.wavpack.com/
>
> "Uses ID3v1 and APEv2 tags for metadata (including ReplayGain)"
>
> Would that get us there?
>
>
> ID3v1 is very consumer- and pop music-oriented, and thus is missing many
> of the fields that are relevant for broadcasters —e.g. Agency and Client.
> APEv2 is more intriguing inasmuch as it includes a mechanism for extending
> the field definitions, however, it does not seem to enjoy very wide support.
>
> Here’s an idea: what say we embed a copy of the relevant ‘cartList’ XML
> object (such as is currently generated by Rivendell's ListCart Web API
> call) in every file export?  I see a number of advantages to this approach:
>
> 1) XML is a widely-supported format, with high-quality FOSS parsers
> available for virtually every major programming language.
>
> 2) The format is human-readable and would be largely self-documenting.
>
> 3) The same parser code that reads cartList objects via the web interface
> would also work here with little modification.
>
> Likewise, we then extend Rivendell’s import tools (RDImport and RDLibrary)
> to parse this same data structure, thus giving us a high-fidelity path for
> transferring both audio and Rivendell cart/cut metadata between systems.
>
> For reference, here is a sample of the cartList object:
>
> *** snip snip ***
> 
>   
> 10004
> audio
> MUSIC
> American Pie
> Don Mc Lean
> 100 Hits Party Classics
> 
> 
> 
> 
> 
> 
> 
> 0
> 0:04:03.7
> 0:04:03.7
> 0:00:00.0
> 0:04:02.6
> 0:00:00.0
> 1
> 0
> 2
> false
> false
> 
> 2016-05-31T08:20:23-04:00
>   
> 
>   010004_001
>   10004
>   1
>   false
>   Cut 001
>   
>   
>   
>   243794
>   2014-11-30T09:38:49-04:00
>   
>   
>   true
>   true
>   true
>   true
>   true
>   true
>   true
>   
>   
>   rdhost
>   1
>   2015-03-24T10:23:55-04:00
>   49
>   49
>   2
>   0
>   48000
>   0
>   2
>   0
>   336
>   244130
>   -1
>   -1
>   243024
>   244104
>   -3000
>   -1
>   -1
>   -1
>   0
> 
>   
>   
> 
> *** snip snip ***
>
> Cheers!
>
>
> |--|
> | Frederick F. Gleason, Jr. |  Chief Developer |
> |   |  Paravel Systems |
> |--|
> |  A room without books is like a body without a soul. |
> | -- Cicero|
> |--|
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Synchronizing carts and logs

2016-06-13 Thread Alessio Elmi
What about MySQL replication? Could it be useful? I know it has a variable
granularity (per table, per database and so on..)

Il giorno lun 13 giu 2016 alle ore 22:57 Rob Landry <41001...@interpring.com>
ha scritto:

>
> I can't speak for anyone else, but I'm not looking to export Rivendell
> cuts, but to have them show up on a Rivendell system attached to a
> different server.
>
> Say, for instance, my client has two radio stations which I will call WSRO
> (Framingham) and WBAS (Hyannis).
>
> If someone at WSRO records a newscast in Rivendell, I want it to show up
> at WBAS with the same cart number, metadata, and audio; and if someone
> records a spot at WBAS, I want it to show up at WSRO.
>
> Moreover, I also want logs generated at one station to be available at the
> other.
>
> I've been able to make this happen reliably using my Perl scripts, but
> only by reading and writing directly to and from the MySQL CART, CUTS,
> LOGS, and *_LOG tables. I'm looking for an alternative that isn't likely
> to be broken when someone upgrades to a later version of Rivendell that
> might use a different database schema.
>
>
> Rob
>
>
> --
> Я там, где ребята толковые,
> Я там, где плакаты "Вперёд",
> Где песни рабочие новые
> Страна трудовая поёт.
>
> On Mon, 13 Jun 2016, Fred Gleason wrote:
>
> > On Jun 13, 2016, at 14:33, drew Roberts  wrote:
> >   I am not sure about all metadata, but WO puts things like artist
> >   and title in the file. When you import into another system, this
> >   comes along. (IIRC.)
> >
> > This has been true for Rivendell as well for quite some time.
> >
> >   It would likely be good if we had the option to leave the file
> >   name as cart_cut or change it to something like title_artist or
> >   artist_title.
> >
> > The main limitation with the current scheme is the relative paucity of
> > available metadata fields.  For formats that offer transparent audio
> > quality, you’re basically limited to WAV, which means BWF/CartChunk for
> > metadata.  Not much there beyond Title, Artist and Client (although
> there is
> > support for providing Start/End, Segue and Talk marker data, a facility
> > which Rivendell takes full advantage of).  Various automation vendors
> have
> > proprietary extensions that provide more fields, but those are pretty
> much
> > limited to interoperation within that vendor’s product offerings (and
> > Rivendell, which will read a number of those formats).
> >
> > While we could go down the road of inventing Yet Another One-Off Metadata
> > Format, it’d far more useful to use something that is a bit more industry
> > standard while also offering the ability to capture the full range of
> > available fields.  Those may be incompatible requirements.  Any ideas?
> >
> > Cheers!
> >
> >
> > |--|
> > | Frederick F. Gleason, Jr. |  Chief Developer |
> > |   |  Paravel Systems |
> > |--|
> > | Text processing has made it possible to right-justify any idea,  |
> > |even one which cannot be justified on any other grounds.  |
> > |-- J. Finnegan, USC.  |
> > |--|
> >
> >___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Automatically deleting carts

2016-06-06 Thread Alessio Elmi
Hi,
we do it in a "safer" way rather than acting on the database directly. We
demand the task to the web service. Here some excerpt of the bash script
that takes care of it.

list="$($mysql -u$user -p$password -h$host $database -Bse "SELECT NUMBER
FROM CART WHERE GROUP_NAME='$GROUP1';")"
for i in ${list[@]}; do
curl -d
COMMAND=13\&LOGIN_NAME=$rivuser\&PASSWORD=$rivpassword\&CART_NUMBER=$i
$rdxport
done

...where $rdxport iin our case is equal to "
http://localhost/rd-bin/rdxport.cgi";. The other variable are self
explicative. Anyway just as if in doubt.

I think this is safer in a way that the SQL user only needs SELECT
permission, and it doesn't need to know the actual table design. Acting
directly on CART and CUT table may become dangerous if some SQL changes
will be in the future. On the contrary, rdxport service is supposed to be
updated accordingly.

Hope it helps

Alessio

Il giorno lun 6 giu 2016 alle ore 03:10 Nick Andre  ha
scritto:

> You can delete the CUT and CART entries from the respective tables. Just
> make sure to regenerate logs that might contain them. Not sure what other
> db references you have to clean up though.
> On Sun, Jun 5, 2016 at 20:48 Dan Gruner  wrote:
>
>> I need a way to automatically purge carts in a specific group (for
>> example 'TEMP') that can be setup as an action in RdCatch say every
>> week.  Is there an easy way to do this?
>>
>> Thanks,
>>
>> Dan
>>
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Problem ubuntu 16.04 LTS

2016-05-04 Thread Alessio Elmi
Claro!
I was able to grasp somehting... Unfortunately we are not hearing from
Tryphon for a while. They're still down to 2.10.3. I hope they will
maintain that repo, which is very useful to us.
I also tried to build .deb for Debian Stretch from Tryphon sources some
time ago, but it seems they removed Qt3 sources and left only binaries,
which is a pity.

Do you have any guide on how to build/compile Qt3 from original sources in
"modern" Debian/Ubuntu world?
Thank you

Alessio

Il giorno mer 4 mag 2016 alle ore 18:28 jorge soto  ha
scritto:

> In a nutshell, Juan Carlos said:
>
> The following packages have unmet dependencies:
>   rivendell: Depends: libflac ++ 6 (> = 1.3.0) but it is not installable
>   It Depends: libid3-3.8.3c2a but it is not installable
>   It Depends: librivendell (= 2.10.3-1) but will not be
> installed
>   Depends: libsoundtouch0 (> = 1.7.1-3 ~) but it is not
> installable
>   It Depends: libqt3-mt-mysql but will not be installed
>   rivendell-server: Depends: libflac ++ 6 (> = 1.3.0) but it is not
> installable
>  It Depends: libid3-3.8.3c2a but it is not installable
>  It Depends: librivendell but will not be installed
>  Depends: libsoundtouch0 (> = 1.7.1-3 ~) but it is
> not installable
>  It Depends: libqt3-mt-mysql but will not be installed
> E: We were unable to correct problems, you have held broken packages.
>
> Then I replied:
>
>
> Unfortunately some of the required packages are obsolete. You can try to 
> compile
> them yourself from source or check if there any in the Tryphon repository.
>
>
> And then Manuel said:
>
> You have to wait until Tryphon makes new packages for Xenial.
> They have not yet been made.
> You can check on debian.tryphon.org. The latest are for Utopic.
>
>
> 2016-05-04 9:03 GMT-07:00 Alessio Elmi :
>
>> English?
>>
>>
>> Il giorno mer 4 mag 2016 alle ore 13:30 Manuel 
>> ha scritto:
>>
>>> Tienes de aguardar que tryphon haga nuevos paquetes para Xenial.
>>> Aún no los han hecho.
>>> Pudes veer en debian.tryphon.org. El ultimo es para Utopic.
>>>
>>>
>>> ___
>>> Rivendell-dev mailing list
>>> Rivendell-dev@lists.rivendellaudio.org
>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>>
>>
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
>>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Problem ubuntu 16.04 LTS

2016-05-04 Thread Alessio Elmi
English?

Il giorno mer 4 mag 2016 alle ore 13:30 Manuel  ha
scritto:

> Tienes de aguardar que tryphon haga nuevos paquetes para Xenial.
> Aún no los han hecho.
> Pudes veer en debian.tryphon.org. El ultimo es para Utopic.
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell Wiki

2016-03-12 Thread Alessio Elmi
Hi David,
yes, they should read this list. However, I contacted Alban in the past,
asking to upgrade their Rivendell repository to 2.11 but I did't get reply
either. So maybe they are really busy this time or they're moving to
something else. In that case let's hope they'll keep the Wiki and
repository because they're very useful to the community.
For the Wiki pages update I can give you my credentials. If you don't get
any answer in the next days drop me an email.

Alessio

Il giorno ven 11 mar 2016 alle ore 21:12 David Klann  ha
scritto:

>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Hey Gang,
>
> I'd like to update some Rivendell Wiki pages(at
> http://rivendell.tryphon.org/wiki/Main_Page) and post a handful of new
> ones. I sent a note to contact at tryphon.eu requesting a wiki
> account(as directed on the login page), but did not get a reply.
>
> It appears to me as if the current wiki is looking kind of stale. No new
> users since May 1, 2015, no changes in the past 30 days, and no new
> articles since November of 2015 (as far as I can discern).
>
> Is anyone from the Tryphon crowd watching this mailing list? Are you
> still interested in maintaining the wiki? If not, I propose we
> collectively figure out a different solution because this is an
> extremely rich trove of treasure regarding Rivendell and I know of
> several new users who would benefit from updated wiki articles.
>
> What do folks think?
>
> Thanks!
>
>   ~David Klann
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2
>
> iF4EAREIAAYFAlbjJmEACgkQZtxZ++32cNgyLgEAgKQR3K/E+//8E0rv+fsr/7VD
> RUOACPc4rwLc3axbCi8BANZConCOVf/bMkZORCSP7Hr5lVo7pXYfJNbYfuLdnYNT
> =4wnV
> -END PGP SIGNATURE-
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] rdimport returned values

2015-11-28 Thread Alessio Elmi
Hi there,
I would like to implement a particular bash script which involves rdimport
and I would like to take the assigned cart id as a value for further
operation.
Do you know if there is a way to get it directly from as a returned value?
For the moment I though two ways:
1) Pipe and grep the standard output where it tells the number of the cart
2) Query mysql and take last added cart.
However i don't think it is very robust.
Do you know any better way? Fred?
Cheers

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


[RDD] XML-DocBook 5 Toolchain for Debian

2015-11-24 Thread Alessio Elmi
Hi there,
I was having a look into git Rivendell sources and it's a long time since I
did last time I saw you can enable/disable XML-DockBook.
Honestly I don't even know what's it used for. Do you?

However I tried to install dependencies so that it could build smoothly. In
the end I could managed but I am sure I installed too many things. Could
you find which packages are enough to build? Of course not all of them just
the last ones of the dependencies chain in order to use this - to me - new
feature.
Cheers

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


[RDD] RDAirPlay crashed after LogEdit

2015-11-21 Thread Alessio Elmi
Yesterday it happened something strange. A guy edited the current-playing
log just adding a LOGCHAIN to a "sub-log" and saving. The sublog was
supposed to start in an hour from that moment on.
When the current-playing RDAirPlay instance refreshed the log, it crashed.

The only interesting lines I could find in syslog are:

Nov 20 20:15:21 regia1 rdairplay: loaded log '20_11_2015' in Main Log
Nov 20 20:15:21 regia1 kernel: [2196047.917370] rdairplay[3448] general
protection ip:7f813b8499dc sp:7ffcb2210ef0 error:0 in
libqt-mt.so.3.3.8[7f813b2d1000+77d000]

- The first one stands for a refresh caused by the edit. It seems legit.
- Second one. Something it didn't like. But what?
Is allowed to add ChainLog event in the middle of a log? It is recommended
to disable "Autorefresh" option for RDAirPlay?
I can consider that edited Log 'safe' as it has been played as soon we
restarted the RDAirPlay without crashing again.
Any ideas?

Searching for "general protection ip" in the Rivendell list I found an
other report of a similar behavior, but without any follow up on that issue.

Thank you

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


Re: [RDD] RDAirPlay crash

2015-11-13 Thread Alessio Elmi
Guys,
sorry I am bothering you again. Can Anyone of you check what happen if you
feed titles with a single quote inside?
In my tests:
- quotes, if title/artist/..  or whatever needs to be printed has single
quote gets translated with nothing
- accents like Beyoncé, it skips just that char
- Dollar, like A$AP Rocky, it sees $AP as a variable it can't resolve.

Can you please confirm what I am saying? Adding (double) quotes in the RN
command doesn't help, because the prasing problem is before the RN echo
command (you can check in /var/log/messages).

Alessio

Il giorno gio 12 nov 2015 alle ore 05:32 Chuck  ha
scritto:

>
>   Confirmed here.  I cannot type ' or " into that field, but do it in a
> text editor, then cut and paste it into that field.  It accepts that
> (there's always a way around computer rules).  But whether it solves the
> problem still remains to be seen, as we have no accented characters in
> our library titles and artists.
>
>   I am interested in the outcome though, because we will be adding a
> bunch of French tracks in the near future.
>
> --Chuck W.
>
> On Sun, 08 Nov 2015 22:31:20 +
> Alessio Elmi  wrote:
>
> > Maybe i did something wrong, but i am not allowed to insert ' or " on
> that
> > field. Can you confirm?
> >
> > Il giorno dom 8 nov 2015 21:13 Mike Carroll  ha
> > scritto:
> >
> > > The RN text is a shell command, so you'll have to escape the
> substituted
> > > strings.  Maybe this will work?
> > > RN echo '%a - %t' > /var/www/playingnow.txt!
> > >
> > > (I'm not near a machine I can test on, sorry)
> > >
> > > On Sun, Nov 8, 2015 at 10:53 AM Alessio Elmi  >
> > > wrote:
> > >
> > >>  I will but I just found it fails with accents (tested with 'Beyonc?',
> > >> which becomes 'Beyonc') and you cannot add new line chars, \n.
> > >> Txt we write is %t\n%a\n%l\n and filewrite.rlm can deal with it on
> both
> > >> aspects, while RN command passed into Airplay config doesn't. Confirm?
> > >>
> > >> Il giorno dom 8 nov 2015 alle ore 17:21 Richard Gorbutt <
> > >> rich...@gorbutt.com> ha scritto:
> > >>
> > >>> Doesn't sound like the rlm then, but  push the now playing using the
> > >>> "Configure Now & Next Parameters" from the RDAirplay config from the
> admin
> > >>> gui.
> > >>>
> > >>> I have the following string in the RML line
> > >>>
> > >>> RN echo %a - %t > /var/www/playingnow.txt!
> > >>>
> > >>> Maybe try that for for a while (change location to suit and don't
> forget
> > >>> the ! at the end of the line)
> > >>>
> > >>> Just a thought.
> > >>>
> > >>> On Sun, Nov 8, 2015 at 10:25 AM, Alessio Elmi <
> alessio_e...@hotmail.com>
> > >>> wrote:
> > >>>
> > >>>> For the moment that station has only one rlm plugin, filewrite.rlm.
> > >>>> From there we use curl to push infos all over the places we want.
> > >>>> The song has played contains only a copyright char - (c) - in the
> > >>>> publisher field. However rlm writes only title and artist (but
> maybe it
> > >>>> reads all the infos) and also that song has been played more than
> 100
> > >>>> times. May it be randomic?
> > >>>>
> > >>>> Il giorno dom 8 nov 2015 alle ore 16:10 Richard Gorbutt <
> > >>>> rich...@gorbutt.com> ha scritto:
> > >>>>
> > >>>>> I've had Rdairplay go up in smoke with "foreign" characters in
> artist
> > >>>>> or title using the the rlm plugins. This was for Icecast mind.
> When a song
> > >>>>> played and possibly had an ? like in jos? it would just vanish.
> Known
> > >>>>> issue. I stopped using the rlm plugins.
> > >>>>>
> > >>>>> I didn't investigate any further.
> > >>>>>
> > >>>>> Could that be in play?
> > >>>>>
> > >>>>> Regards Richard.
> > >>>>>
> > >>>>> Sent from my iPhone
> > >>>>>
> > >>>>>
> > >>>>> > On Nov 8, 2015, at 09:34, Alessio Elmi  >
> > >>>>> wrote:
> > >>>>> >
&g

[RDD] ripcd possible crash?

2015-11-13 Thread Alessio Elmi
It's days I am working on RLM and Now & Next infos.
At the moment I am using RDAdmin > Host > RDAirPlay Now&Next with something
like:
RN echo ... && php !
Now I would like to  show you a strange behavior, this is a "cat
/varlog/messages | grep ripcd"

Nov 12 14:21:40 xtra ripcd: received rml: 'RN echo "Journeys (feat.
Ekhi)~~John Talabot~~fin (Special Edition)" > /tmp/currentSong.txt && php
/home/poliradio/xtra_scripts/songUpdater.php!' from 127.0.0.1
Nov 12 14:25:41 xtra ripcd: received rml: 'RN echo "" >
/tmp/currentSong.txt && php /home/poliradio/xtra_scripts/songUpdater.php!'
from 127.0.0.1
Nov 12 14:25:46 xtra ripcd: received rml: 'RN echo "Trap Queen~~Fetty
Wap~~Trap Queen" > /tmp/currentSong.txt && php
/home/poliradio/xtra_scripts/songUpdater.php!' from 127.0.0.1
Nov 12 14:29:20 xtra ripcd: received rml: 'RN echo "Trap Queen~~Fetty
Wap~~Trap Queen" > /tmp/currentSong.txt && php
/home/poliradio/xtra_scripts/songUpdater.php!' from 127.0.0.1
Nov 12 14:29:24 xtra ripcd: received rml: 'RN echo "" >
/tmp/currentSong.txt && php /home/poliradio/xtra_scripts/songUpdater.php!'
from 127.0.0.1
Nov 12 14:29:47 xtra ripcd: received rml: 'RN echo "Jukebox Joints (feat.
Kanye West)~~A$AP Rocky~~At.Long.Last.A$AP" > /tmp/currentSong.txt && php
/home/poliradio/xtra_scripts/songUpdater.php!' from 127.0.0.1
Nov 12 14:35:10 xtra ripcd: received rml: 'RN echo "" >
/tmp/currentSong.txt && php /home/poliradio/xtra_scripts/songUpdater.php!'
from 127.0.0.1
Nov 12 15:20:59 xtra ripcd: ran local maintenance routines
Nov 12 15:20:59 xtra ripcd: ran system-wide maintenance routines
Nov 12 16:20:20 xtra ripcd: ran local maintenance routines
Nov 12 17:19:41 xtra ripcd: ran local maintenance routines
Nov 12 17:19:41 xtra ripcd: ran system-wide maintenance routines
Nov 12 18:19:02 xtra ripcd: ran local maintenance routines
Nov 12 19:18:23 xtra ripcd: ran local maintenance routines
Nov 12 19:18:23 xtra ripcd: ran system-wide maintenance routines

After some time it stopped sending commands, but it's still working! It's
up and running, and so it is rdairplay... :-(
So I check the first cart that hasn't been published. It seems pretty
normal apart from a (c), copyright char, in the publisher field. It makes
the Now & Next to crash. Nothing has been sent after it.
Can you confirm this bug?

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


Re: [RDD] RDAirPlay crash

2015-11-12 Thread Alessio Elmi
Hi Chuck,
yes, I could insert quotes in the string but results won't change and there
are still potential problems.

1) Beyoncé -> Beyonc
This arrives already truncated in syslog...
ripcd: received rml: "RN echo Beyonc - ..."...

2) A$AP Rocky -> A Rocky
This is correct in syslog but it gets substituted by bash when echo-ing...

Ideas?

Il giorno gio 12 nov 2015 alle ore 05:32 Chuck  ha
scritto:

>
>   Confirmed here.  I cannot type ' or " into that field, but do it in a
> text editor, then cut and paste it into that field.  It accepts that
> (there's always a way around computer rules).  But whether it solves the
> problem still remains to be seen, as we have no accented characters in
> our library titles and artists.
>
>   I am interested in the outcome though, because we will be adding a
> bunch of French tracks in the near future.
>
> --Chuck W.
>
> On Sun, 08 Nov 2015 22:31:20 +
> Alessio Elmi  wrote:
>
> > Maybe i did something wrong, but i am not allowed to insert ' or " on
> that
> > field. Can you confirm?
> >
> > Il giorno dom 8 nov 2015 21:13 Mike Carroll  ha
> > scritto:
> >
> > > The RN text is a shell command, so you'll have to escape the
> substituted
> > > strings.  Maybe this will work?
> > > RN echo '%a - %t' > /var/www/playingnow.txt!
> > >
> > > (I'm not near a machine I can test on, sorry)
> > >
> > > On Sun, Nov 8, 2015 at 10:53 AM Alessio Elmi  >
> > > wrote:
> > >
> > >>  I will but I just found it fails with accents (tested with 'Beyonc?',
> > >> which becomes 'Beyonc') and you cannot add new line chars, \n.
> > >> Txt we write is %t\n%a\n%l\n and filewrite.rlm can deal with it on
> both
> > >> aspects, while RN command passed into Airplay config doesn't. Confirm?
> > >>
> > >> Il giorno dom 8 nov 2015 alle ore 17:21 Richard Gorbutt <
> > >> rich...@gorbutt.com> ha scritto:
> > >>
> > >>> Doesn't sound like the rlm then, but  push the now playing using the
> > >>> "Configure Now & Next Parameters" from the RDAirplay config from the
> admin
> > >>> gui.
> > >>>
> > >>> I have the following string in the RML line
> > >>>
> > >>> RN echo %a - %t > /var/www/playingnow.txt!
> > >>>
> > >>> Maybe try that for for a while (change location to suit and don't
> forget
> > >>> the ! at the end of the line)
> > >>>
> > >>> Just a thought.
> > >>>
> > >>> On Sun, Nov 8, 2015 at 10:25 AM, Alessio Elmi <
> alessio_e...@hotmail.com>
> > >>> wrote:
> > >>>
> > >>>> For the moment that station has only one rlm plugin, filewrite.rlm.
> > >>>> From there we use curl to push infos all over the places we want.
> > >>>> The song has played contains only a copyright char - (c) - in the
> > >>>> publisher field. However rlm writes only title and artist (but
> maybe it
> > >>>> reads all the infos) and also that song has been played more than
> 100
> > >>>> times. May it be randomic?
> > >>>>
> > >>>> Il giorno dom 8 nov 2015 alle ore 16:10 Richard Gorbutt <
> > >>>> rich...@gorbutt.com> ha scritto:
> > >>>>
> > >>>>> I've had Rdairplay go up in smoke with "foreign" characters in
> artist
> > >>>>> or title using the the rlm plugins. This was for Icecast mind.
> When a song
> > >>>>> played and possibly had an ? like in jos? it would just vanish.
> Known
> > >>>>> issue. I stopped using the rlm plugins.
> > >>>>>
> > >>>>> I didn't investigate any further.
> > >>>>>
> > >>>>> Could that be in play?
> > >>>>>
> > >>>>> Regards Richard.
> > >>>>>
> > >>>>> Sent from my iPhone
> > >>>>>
> > >>>>>
> > >>>>> > On Nov 8, 2015, at 09:34, Alessio Elmi  >
> > >>>>> wrote:
> > >>>>> >
> > >>>>> > Hello everybody,
> > >>>>> > sometimes we face some crash of RDAirPlay. Guys found the system
> > >>>>> (Linux) perfectly running and w

[RDD] OT: ALSA Audio development project based in Germany.

2015-11-11 Thread Alessio Elmi
Hi,
I have been contacted for a job opportunity in Germany. At the moment I
cannot take it into consideration, but I thought that some of you maybe can.
That guy is just a recruiter, therefore I am not able to write you any
further detail regarding this job.
I hope someone may find it interesting

Alessio

-- Forwarded message -
From: Neil Flitcroft 
Date: mer 11 nov 2015 alle ore 11:51
Subject: ALSA Audio development project based in Germany.
To: 


Hi Alessio,



I hope this mail finds you well.



I’m working for a prestigious client based in Germany that is looking for
an experienced software engineer with the following skills:



-  Knowledge in OSS components ALSA, Gstreamer

-  Knowledge in Audio control functions
(streaming/mixing/sample rate conversion etc, not audio
processing(treble/bass/..)

-  C and C++ knowledge



Is there a convenient time to discuss this and on which number please? Can
you email me a copy of your up to date CV.



If you’re not interested in this role, please forward this mail to anyone
who you think might be interested.



Best regards,



Neil



Neil Flitcroft

Director

Arion Recruitment Ltd



T: +44 208 870 8765

M: +44 7811 447 611

ne...@arionrecruitment.co.uk

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


Re: [RDD] RDAirPlay crash

2015-11-08 Thread Alessio Elmi
Right, have a look how it writes Beyoncé or any other non English
chars, or special one like $&/(#@, which nowdays are very common in
titles or even in artist names.

2015-11-09 0:00 GMT+01:00 Richard Gorbutt :
> I didn't use the '. I just did what the RD Wiki said. Worked off the bat for
> me,.
>
> http://rivendell.tryphon.org/wiki/How_to_get_now_playing_information_into_a_text_file
>
> Cheers
>
> On Sun, Nov 8, 2015 at 5:31 PM, Alessio Elmi 
> wrote:
>>
>> Maybe i did something wrong, but i am not allowed to insert ' or " on that
>> field. Can you confirm?
>>
>>
>> Il giorno dom 8 nov 2015 21:13 Mike Carroll  ha
>> scritto:
>>>
>>> The RN text is a shell command, so you'll have to escape the substituted
>>> strings.  Maybe this will work?
>>> RN echo '%a - %t' > /var/www/playingnow.txt!
>>>
>>> (I'm not near a machine I can test on, sorry)
>>>
>>> On Sun, Nov 8, 2015 at 10:53 AM Alessio Elmi 
>>> wrote:
>>>>
>>>>  I will but I just found it fails with accents (tested with 'Beyoncé',
>>>> which becomes 'Beyonc') and you cannot add new line chars, \n.
>>>> Txt we write is %t\n%a\n%l\n and filewrite.rlm can deal with it on both
>>>> aspects, while RN command passed into Airplay config doesn't. Confirm?
>>>>
>>>> Il giorno dom 8 nov 2015 alle ore 17:21 Richard Gorbutt
>>>>  ha scritto:
>>>>>
>>>>> Doesn't sound like the rlm then, but  push the now playing using the
>>>>> "Configure Now & Next Parameters" from the RDAirplay config from the admin
>>>>> gui.
>>>>>
>>>>> I have the following string in the RML line
>>>>>
>>>>> RN echo %a - %t > /var/www/playingnow.txt!
>>>>>
>>>>> Maybe try that for for a while (change location to suit and don't
>>>>> forget the ! at the end of the line)
>>>>>
>>>>> Just a thought.
>>>>>
>>>>> On Sun, Nov 8, 2015 at 10:25 AM, Alessio Elmi
>>>>>  wrote:
>>>>>>
>>>>>> For the moment that station has only one rlm plugin, filewrite.rlm.
>>>>>> From there we use curl to push infos all over the places we want.
>>>>>> The song has played contains only a copyright char - (c) - in the
>>>>>> publisher field. However rlm writes only title and artist (but maybe it
>>>>>> reads all the infos) and also that song has been played more than 100 
>>>>>> times.
>>>>>> May it be randomic?
>>>>>>
>>>>>> Il giorno dom 8 nov 2015 alle ore 16:10 Richard Gorbutt
>>>>>>  ha scritto:
>>>>>>>
>>>>>>> I've had Rdairplay go up in smoke with "foreign" characters in artist
>>>>>>> or title using the the rlm plugins. This was for Icecast mind. When a 
>>>>>>> song
>>>>>>> played and possibly had an é like in josé it would just vanish. Known 
>>>>>>> issue.
>>>>>>> I stopped using the rlm plugins.
>>>>>>>
>>>>>>> I didn't investigate any further.
>>>>>>>
>>>>>>> Could that be in play?
>>>>>>>
>>>>>>> Regards Richard.
>>>>>>>
>>>>>>> Sent from my iPhone
>>>>>>>
>>>>>>>
>>>>>>> > On Nov 8, 2015, at 09:34, Alessio Elmi 
>>>>>>> > wrote:
>>>>>>> >
>>>>>>> > Hello everybody,
>>>>>>> > sometimes we face some crash of RDAirPlay. Guys found the system
>>>>>>> > (Linux) perfectly running and working, but without RDAirPlay. Syslog 
>>>>>>> > does
>>>>>>> > not report any crash or error so I do not know how to investigate 
>>>>>>> > further.
>>>>>>> > These are last "working" lines:
>>>>>>> >
>>>>>>> >
>>>>>>> >
>>>>>>> > Nov  6 13:45:19 xtra caed: LoadPlayback  Card: 0  Stream: 1  Name:
>>>>>>> > /var/snd/75_001.wav  Handle: 5
>>>>>>> >
>>>>>>> > Nov  6 13:45:19 xtr

Re: [RDD] RDAirPlay crash

2015-11-08 Thread Alessio Elmi
Maybe i did something wrong, but i am not allowed to insert ' or " on that
field. Can you confirm?

Il giorno dom 8 nov 2015 21:13 Mike Carroll  ha
scritto:

> The RN text is a shell command, so you'll have to escape the substituted
> strings.  Maybe this will work?
> RN echo '%a - %t' > /var/www/playingnow.txt!
>
> (I'm not near a machine I can test on, sorry)
>
> On Sun, Nov 8, 2015 at 10:53 AM Alessio Elmi 
> wrote:
>
>>  I will but I just found it fails with accents (tested with 'Beyoncé',
>> which becomes 'Beyonc') and you cannot add new line chars, \n.
>> Txt we write is %t\n%a\n%l\n and filewrite.rlm can deal with it on both
>> aspects, while RN command passed into Airplay config doesn't. Confirm?
>>
>> Il giorno dom 8 nov 2015 alle ore 17:21 Richard Gorbutt <
>> rich...@gorbutt.com> ha scritto:
>>
>>> Doesn't sound like the rlm then, but  push the now playing using the
>>> "Configure Now & Next Parameters" from the RDAirplay config from the admin
>>> gui.
>>>
>>> I have the following string in the RML line
>>>
>>> RN echo %a - %t > /var/www/playingnow.txt!
>>>
>>> Maybe try that for for a while (change location to suit and don't forget
>>> the ! at the end of the line)
>>>
>>> Just a thought.
>>>
>>> On Sun, Nov 8, 2015 at 10:25 AM, Alessio Elmi 
>>> wrote:
>>>
>>>> For the moment that station has only one rlm plugin, filewrite.rlm.
>>>> From there we use curl to push infos all over the places we want.
>>>> The song has played contains only a copyright char - (c) - in the
>>>> publisher field. However rlm writes only title and artist (but maybe it
>>>> reads all the infos) and also that song has been played more than 100
>>>> times. May it be randomic?
>>>>
>>>> Il giorno dom 8 nov 2015 alle ore 16:10 Richard Gorbutt <
>>>> rich...@gorbutt.com> ha scritto:
>>>>
>>>>> I've had Rdairplay go up in smoke with "foreign" characters in artist
>>>>> or title using the the rlm plugins. This was for Icecast mind. When a song
>>>>> played and possibly had an é like in josé it would just vanish. Known
>>>>> issue. I stopped using the rlm plugins.
>>>>>
>>>>> I didn't investigate any further.
>>>>>
>>>>> Could that be in play?
>>>>>
>>>>> Regards Richard.
>>>>>
>>>>> Sent from my iPhone
>>>>>
>>>>>
>>>>> > On Nov 8, 2015, at 09:34, Alessio Elmi 
>>>>> wrote:
>>>>> >
>>>>> > Hello everybody,
>>>>> > sometimes we face some crash of RDAirPlay. Guys found the system
>>>>> (Linux) perfectly running and working, but without RDAirPlay. Syslog does
>>>>> not report any crash or error so I do not know how to investigate further.
>>>>> These are last "working" lines:
>>>>> >
>>>>> >
>>>>> >
>>>>> > Nov  6 13:45:19 xtra caed: LoadPlayback  Card: 0  Stream: 1  Name:
>>>>> /var/snd/75_001.wav  Handle: 5
>>>>> >
>>>>> > Nov  6 13:45:19 xtra rdairplay: started audio cart: Line: 455  Cart:
>>>>> 75  Cut: 1 Pos: 0  Card: 0  Stream: 1  Port: 0
>>>>> >
>>>>> > Nov  6 13:45:19 xtra caed: PlaybackPosition - Card: 0  Stream: 1
>>>>> Pos: 208  Handle: 5
>>>>> >
>>>>> > Nov  6 13:45:19 xtra caed: Play - Card: 0  Stream: 1  Handle: 5
>>>>> Length: 342152  Speed: 10  Pitch: 0
>>>>> >
>>>>> > Nov  6 13:45:19 xtra rdairplay: rlm_filewrite: sending pad update:
>>>>> "World War#015#012Autre Ne Veut#015#012Anxiety#015#012" to
>>>>> "/tmp/currentSong.txt"
>>>>> >
>>>>> > Nov  6 13:45:19 xtra ripcd: received rml: 'RN php
>>>>> /home/poliradio/xtra_scripts/songUpdater.php!' from 127.0.0.1
>>>>> >
>>>>> > Nov  6 13:45:20 xtra rdairplay: finished event: Line: 454  Cart:
>>>>> 5202  Cut: 1 Card: 0  Stream: 0  Port: 0
>>>>> >
>>>>> > Nov  6 13:45:20 xtra caed: StopPlayback - Card: 0  Stream: 0
>>>>> Handle: 4
>>>>> >
>>>>> > Nov  6 13:45:20 xtra caed: UnloadPlayback - Card: 0  Stream: 0
>>>>> Handle: 4
>>>>> >
>>>>> > Nov 6 13:47:16 xtra ripcd: ran local maintenance routines
>>>>> > Nov 6 13:47:16 xtra ripcd: ran system-wide maintenance routines
>>>>> > Nov 6 13:57:08 xtra dbus[2260]: [system] Activating service
>>>>> name='org.freedesktop.PackageKit' (using servicehelper)
>>>>> > Nov 6 13:57:08 xtra dbus[2260]: [system] Successfully activated
>>>>> service 'org.freedesktop.PackageKit'
>>>>> >
>>>>> > Any ideas on where looking for an answer?
>>>>> > ___
>>>>> > Rivendell-dev mailing list
>>>>> > Rivendell-dev@lists.rivendellaudio.org
>>>>> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>>>>
>>>>
>>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDAirPlay crash

2015-11-08 Thread Alessio Elmi
 I will but I just found it fails with accents (tested with 'Beyoncé',
which becomes 'Beyonc') and you cannot add new line chars, \n.
Txt we write is %t\n%a\n%l\n and filewrite.rlm can deal with it on both
aspects, while RN command passed into Airplay config doesn't. Confirm?

Il giorno dom 8 nov 2015 alle ore 17:21 Richard Gorbutt 
ha scritto:

> Doesn't sound like the rlm then, but  push the now playing using the
> "Configure Now & Next Parameters" from the RDAirplay config from the admin
> gui.
>
> I have the following string in the RML line
>
> RN echo %a - %t > /var/www/playingnow.txt!
>
> Maybe try that for for a while (change location to suit and don't forget
> the ! at the end of the line)
>
> Just a thought.
>
> On Sun, Nov 8, 2015 at 10:25 AM, Alessio Elmi 
> wrote:
>
>> For the moment that station has only one rlm plugin, filewrite.rlm. From
>> there we use curl to push infos all over the places we want.
>> The song has played contains only a copyright char - (c) - in the
>> publisher field. However rlm writes only title and artist (but maybe it
>> reads all the infos) and also that song has been played more than 100
>> times. May it be randomic?
>>
>> Il giorno dom 8 nov 2015 alle ore 16:10 Richard Gorbutt <
>> rich...@gorbutt.com> ha scritto:
>>
>>> I've had Rdairplay go up in smoke with "foreign" characters in artist or
>>> title using the the rlm plugins. This was for Icecast mind. When a song
>>> played and possibly had an é like in josé it would just vanish. Known
>>> issue. I stopped using the rlm plugins.
>>>
>>> I didn't investigate any further.
>>>
>>> Could that be in play?
>>>
>>> Regards Richard.
>>>
>>> Sent from my iPhone
>>>
>>>
>>> > On Nov 8, 2015, at 09:34, Alessio Elmi 
>>> wrote:
>>> >
>>> > Hello everybody,
>>> > sometimes we face some crash of RDAirPlay. Guys found the system
>>> (Linux) perfectly running and working, but without RDAirPlay. Syslog does
>>> not report any crash or error so I do not know how to investigate further.
>>> These are last "working" lines:
>>> >
>>> >
>>> >
>>> > Nov  6 13:45:19 xtra caed: LoadPlayback  Card: 0  Stream: 1  Name:
>>> /var/snd/75_001.wav  Handle: 5
>>> >
>>> > Nov  6 13:45:19 xtra rdairplay: started audio cart: Line: 455  Cart:
>>> 75  Cut: 1 Pos: 0  Card: 0  Stream: 1  Port: 0
>>> >
>>> > Nov  6 13:45:19 xtra caed: PlaybackPosition - Card: 0  Stream: 1  Pos:
>>> 208  Handle: 5
>>> >
>>> > Nov  6 13:45:19 xtra caed: Play - Card: 0  Stream: 1  Handle: 5
>>> Length: 342152  Speed: 10  Pitch: 0
>>> >
>>> > Nov  6 13:45:19 xtra rdairplay: rlm_filewrite: sending pad update:
>>> "World War#015#012Autre Ne Veut#015#012Anxiety#015#012" to
>>> "/tmp/currentSong.txt"
>>> >
>>> > Nov  6 13:45:19 xtra ripcd: received rml: 'RN php
>>> /home/poliradio/xtra_scripts/songUpdater.php!' from 127.0.0.1
>>> >
>>> > Nov  6 13:45:20 xtra rdairplay: finished event: Line: 454  Cart: 5202
>>> Cut: 1 Card: 0  Stream: 0  Port: 0
>>> >
>>> > Nov  6 13:45:20 xtra caed: StopPlayback - Card: 0  Stream: 0  Handle: 4
>>> >
>>> > Nov  6 13:45:20 xtra caed: UnloadPlayback - Card: 0  Stream: 0
>>> Handle: 4
>>> >
>>> > Nov 6 13:47:16 xtra ripcd: ran local maintenance routines
>>> > Nov 6 13:47:16 xtra ripcd: ran system-wide maintenance routines
>>> > Nov 6 13:57:08 xtra dbus[2260]: [system] Activating service
>>> name='org.freedesktop.PackageKit' (using servicehelper)
>>> > Nov 6 13:57:08 xtra dbus[2260]: [system] Successfully activated
>>> service 'org.freedesktop.PackageKit'
>>> >
>>> > Any ideas on where looking for an answer?
>>> > ___
>>> > Rivendell-dev mailing list
>>> > Rivendell-dev@lists.rivendellaudio.org
>>> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>>
>>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDAirPlay crash

2015-11-08 Thread Alessio Elmi
For the moment that station has only one rlm plugin, filewrite.rlm. From
there we use curl to push infos all over the places we want.
The song has played contains only a copyright char - (c) - in the publisher
field. However rlm writes only title and artist (but maybe it reads all the
infos) and also that song has been played more than 100 times. May it be
randomic?

Il giorno dom 8 nov 2015 alle ore 16:10 Richard Gorbutt 
ha scritto:

> I've had Rdairplay go up in smoke with "foreign" characters in artist or
> title using the the rlm plugins. This was for Icecast mind. When a song
> played and possibly had an é like in josé it would just vanish. Known
> issue. I stopped using the rlm plugins.
>
> I didn't investigate any further.
>
> Could that be in play?
>
> Regards Richard.
>
> Sent from my iPhone
>
> > On Nov 8, 2015, at 09:34, Alessio Elmi  wrote:
> >
> > Hello everybody,
> > sometimes we face some crash of RDAirPlay. Guys found the system (Linux)
> perfectly running and working, but without RDAirPlay. Syslog does not
> report any crash or error so I do not know how to investigate further.
> These are last "working" lines:
> >
> >
> >
> > Nov  6 13:45:19 xtra caed: LoadPlayback  Card: 0  Stream: 1  Name:
> /var/snd/75_001.wav  Handle: 5
> >
> > Nov  6 13:45:19 xtra rdairplay: started audio cart: Line: 455  Cart: 75
> Cut: 1 Pos: 0  Card: 0  Stream: 1  Port: 0
> >
> > Nov  6 13:45:19 xtra caed: PlaybackPosition - Card: 0  Stream: 1  Pos:
> 208  Handle: 5
> >
> > Nov  6 13:45:19 xtra caed: Play - Card: 0  Stream: 1  Handle: 5  Length:
> 342152  Speed: 10  Pitch: 0
> >
> > Nov  6 13:45:19 xtra rdairplay: rlm_filewrite: sending pad update:
> "World War#015#012Autre Ne Veut#015#012Anxiety#015#012" to
> "/tmp/currentSong.txt"
> >
> > Nov  6 13:45:19 xtra ripcd: received rml: 'RN php
> /home/poliradio/xtra_scripts/songUpdater.php!' from 127.0.0.1
> >
> > Nov  6 13:45:20 xtra rdairplay: finished event: Line: 454  Cart: 5202
> Cut: 1 Card: 0  Stream: 0  Port: 0
> >
> > Nov  6 13:45:20 xtra caed: StopPlayback - Card: 0  Stream: 0  Handle: 4
> >
> > Nov  6 13:45:20 xtra caed: UnloadPlayback - Card: 0  Stream: 0  Handle: 4
> >
> > Nov 6 13:47:16 xtra ripcd: ran local maintenance routines
> > Nov 6 13:47:16 xtra ripcd: ran system-wide maintenance routines
> > Nov 6 13:57:08 xtra dbus[2260]: [system] Activating service
> name='org.freedesktop.PackageKit' (using servicehelper)
> > Nov 6 13:57:08 xtra dbus[2260]: [system] Successfully activated service
> 'org.freedesktop.PackageKit'
> >
> > Any ideas on where looking for an answer?
> > ___
> > Rivendell-dev mailing list
> > Rivendell-dev@lists.rivendellaudio.org
> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] RDAirPlay crash

2015-11-08 Thread Alessio Elmi
Hello everybody,
sometimes we face some crash of RDAirPlay. Guys found the system (Linux)
perfectly running and working, but without RDAirPlay. Syslog does not
report any crash or error so I do not know how to investigate further.
These are last "working" lines:



Nov  6 13:45:19 xtra caed: LoadPlayback  Card: 0  Stream: 1  Name:
/var/snd/75_001.wav  Handle: 5

Nov  6 13:45:19 xtra rdairplay: started audio cart: Line: 455  Cart: 75
Cut: 1 Pos: 0  Card: 0  Stream: 1  Port: 0

Nov  6 13:45:19 xtra caed: PlaybackPosition - Card: 0  Stream: 1  Pos: 208
Handle: 5

Nov  6 13:45:19 xtra caed: Play - Card: 0  Stream: 1  Handle: 5  Length:
342152  Speed: 10  Pitch: 0

Nov  6 13:45:19 xtra rdairplay: rlm_filewrite: sending pad update: "World
War#015#012Autre Ne Veut#015#012Anxiety#015#012" to "/tmp/currentSong.txt"

Nov  6 13:45:19 xtra ripcd: received rml: 'RN php
/home/poliradio/xtra_scripts/songUpdater.php!' from 127.0.0.1

Nov  6 13:45:20 xtra rdairplay: finished event: Line: 454  Cart: 5202  Cut:
1 Card: 0  Stream: 0  Port: 0

Nov  6 13:45:20 xtra caed: StopPlayback - Card: 0  Stream: 0  Handle: 4

Nov  6 13:45:20 xtra caed: UnloadPlayback - Card: 0  Stream: 0  Handle: 4

Nov 6 13:47:16 xtra ripcd: ran local maintenance routines
Nov 6 13:47:16 xtra ripcd: ran system-wide maintenance routines
Nov 6 13:57:08 xtra dbus[2260]: [system] Activating service
name='org.freedesktop.PackageKit' (using servicehelper)
Nov 6 13:57:08 xtra dbus[2260]: [system] Successfully activated service
'org.freedesktop.PackageKit'

Any ideas on where looking for an answer?
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] rivendell_filter usage

2015-11-08 Thread Alessio Elmi
In the end anyone has ever tried it? What was your scenario/setup?
Mine is the following:
- Studio1 (receiving system) with its audio files mounted in /var/snd.
- Studio2 (sending system) with its audio files mounted in /var/snd.
So far so good, two different and separated systems.
Now:
- From studio1 I mounted studio2:/var/snd into studio1:/tmp/xtra.
- From studio1 I launch rivendell_filter with -A /tmp/xtra but it cannot
find the right path for audio files.
- I also tried to mount studio2:/var/snd into studio1:/tmp/xtra/var/snd,
but it does not make any difference.
- However files in /tmp/xtra[/var/snd] are totally accessible. A 'ls -l'
command shows them all.
Fred, what I am doing wrong?
Thank you

Alessio

Il giorno gio 5 nov 2015 alle ore 22:12 drew Roberts  ha
scritto:

> Hmmm.
>
>
> On Thu, Nov 5, 2015 at 12:29 PM, Frederick Gleason <
> fr...@paravelsystems.com> wrote:
>
>> On Nov 4, 2015, at 19:09 50, Alessio Elmi 
>> wrote:
>>
>> > Transfering cart 012177 [Hey Mama]...[WARNING -- NO AUDIO FOUND]...done.
>> >
>> > However if I do like "ls -l /tmp/xtra/012177_001.wav" it can see that
>> audio file.
>> >
>> > Any idea?
>>
>> It expects to find the audio in the usual place —i.e. the audio store
>> (‘/var/snd’).
>>
> I have not used rivendell_filter before so I did a quick search. Found
> this link:
>
>
> http://rivendell.tryphon.org/wiki/RIVENDELL_FILTER.txt_-_Usage_Notes_for_the_'rivendell_filter'_Import_Script
> .
>
> For usage it gives:
>
> rivendell_filter -h  -u  -p  -A  -g 
>  -s  -e 
>
> Alessio is trying:
>
> rivendell_filter -h .. -u .. -p .. -A /tmp/xtra -g XTRA_TEST -s 012177 -e
> 012177
>
> I am guessing he has mounted to sources /var/snd on this machine's
> /tmp/xtra
>
> He finds the file in /tmp/xtra.
>
> Why would you have the -A option if the file had to be in /var/snd
>
> Obviously there is a mixup somewhere. Perhaps another person's reading of
> the issue will help clarify things and track down the issue...
>
>
>>
>> Cheers!
>>
>>
>> |--|
>> | Frederick F. Gleason, Jr. |  Chief Developer |
>> |   |  Paravel Systems |
>> |--|
>>
>> all the best,
>
> drew
> --
> http://nakedghosts.blogspot.com/
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] rivendell_filter usage

2015-11-05 Thread Alessio Elmi
Maybe you mean that in ".. -A [../../path] .." there must be a
../../path/var/snd ? Because I tried it and the result is the same.

2015-11-05 19:17 GMT+01:00 Alessio Elmi :
> Mmm... but I cannot mount on /var/snd. It's already in use... I
> misunderstood something...
>
> 2015-11-05 18:29 GMT+01:00 Frederick Gleason :
>> On Nov 4, 2015, at 19:09 50, Alessio Elmi  wrote:
>>
>>> Transfering cart 012177 [Hey Mama]...[WARNING -- NO AUDIO FOUND]...done.
>>>
>>> However if I do like "ls -l /tmp/xtra/012177_001.wav" it can see that audio 
>>> file.
>>>
>>> Any idea?
>>
>> It expects to find the audio in the usual place —i.e. the audio store 
>> (‘/var/snd’).
>>
>> Cheers!
>>
>>
>> |--|
>> | Frederick F. Gleason, Jr. |  Chief Developer |
>> |   |  Paravel Systems |
>> |--|
>> |  A room without books is like a body without a soul. |
>> | -- Cicero|
>> |--|
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] rivendell_filter usage

2015-11-05 Thread Alessio Elmi
Mmm... but I cannot mount on /var/snd. It's already in use... I
misunderstood something...

2015-11-05 18:29 GMT+01:00 Frederick Gleason :
> On Nov 4, 2015, at 19:09 50, Alessio Elmi  wrote:
>
>> Transfering cart 012177 [Hey Mama]...[WARNING -- NO AUDIO FOUND]...done.
>>
>> However if I do like "ls -l /tmp/xtra/012177_001.wav" it can see that audio 
>> file.
>>
>> Any idea?
>
> It expects to find the audio in the usual place —i.e. the audio store 
> (‘/var/snd’).
>
> Cheers!
>
>
> |--|
> | Frederick F. Gleason, Jr. |  Chief Developer |
> |   |  Paravel Systems |
> |--|
> |  A room without books is like a body without a soul. |
> | -- Cicero|
> |--|
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] rivendell_filter usage

2015-11-05 Thread Alessio Elmi
More on this topic... We have this 2 different systems which may have
overlapping IDs. Is there a way to avoid CART overwriting? Or do I need to
write a script to check each song before importing?

Il giorno gio 5 nov 2015 01:09 Alessio Elmi  ha
scritto:

> Hi there,
> I was wondering if anyone had positive experience with rivendell_filter
> tool.
> Basically I could pull MySQL info of desired carts but it complains about
> the audio file and tell it doesn't exist.
> This is what I do
> $ rivendell_filter -h .. -u .. -p .. -A /tmp/xtra -g XTRA_TEST -s 012177
> -e 012177
> ...this is the output
>
> Transfering cart 012177 [Hey Mama]...[WARNING -- NO AUDIO FOUND]...done.
>
> However if I do like "ls -l /tmp/xtra/012177_001.wav" it can see that
> audio file.
>
> Any idea?
>
>
> Alessio
>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] rivendell_filter usage

2015-11-04 Thread Alessio Elmi
Hi there,
I was wondering if anyone had positive experience with rivendell_filter
tool.
Basically I could pull MySQL info of desired carts but it complains about
the audio file and tell it doesn't exist.
This is what I do
$ rivendell_filter -h .. -u .. -p .. -A /tmp/xtra -g XTRA_TEST -s 012177 -e
012177
...this is the output

Transfering cart 012177 [Hey Mama]...[WARNING -- NO AUDIO FOUND]...done.

However if I do like "ls -l /tmp/xtra/012177_001.wav" it can see that audio
file.

Any idea?


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


Re: [RDD] Rivendell on CentOS 7

2015-10-15 Thread Alessio Elmi
I think we could poll for that. In that case I would vote for something
built on Openbox, or Xfwm which I think are more suitable for audio
application. However if we are in the process of evaluating an alternative
why not doing a good study of performance between the available options?
Maybe involving "crazy" guys from Linux Audio community :-)
Il giorno gio 15 ott 2015 alle ore 08:35 Rick Thomas  ha
scritto:

>
> I don’t know if it’s available on CentOS, but the “mate”  (pronounced
> “mahtay” as in “yerba mate”) desktop, which is available in Debian, is a
> fork of GNOME that attempts to reproduce the GNOME 2 user interface and
> still be compatible with newer systemd based init systems.  I use it on
> several systems as my first choice GUI.
>
> Rick
>
> On Oct 14, 2015, at 2:37 PM, Frederick Gleason 
> wrote:
>
> > On Oct 14, 2015, at 16:37 18, Rob Landry <41001...@interpring.com>
> wrote:
> >
> >> I find mention of a beta Appliance on Centos 7, but no mention of
> Rivendell 3.0. I fear I've missed a post.
> >
> > No Rivendell 3 at the moment.  There is a (presently somewhat stalled)
> BA3, for which I am currently evaluating alternative desktops (as I’ve come
> to the conclusion that GNOME 3 is a complete and utter basket case).  I’ve
> been using it for a couple of months now as my default environment and it
> *doesn’t* get any better.  Quite the opposite actually.
> >
> > Stay tuned…
> >
> > Cheers!
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell, Jack, Sample Rate

2015-09-25 Thread Alessio Elmi
What about using alsa_in/out to pipe Rivendell into Jack?
You can keep Rivendell with plan ALSA, working at 44.1 or 48 kHz. Then
create an instance of Jack server at 192kHz. You can plug what goes out
from ALSA into Jack by launching alsa_out. I think it can resample on the
fly so you should have it working.
Not sure it's a safe/stable solution.
Just give it a try, I'm curious!

Alessio

Il giorno ven 25 set 2015 alle ore 12:42 Wayne Merricks <
waynemerri...@thevoiceasia.com> ha scritto:

> I've not really played with stereo tool but it seems like it outputs at
> 192khz (if I understand the conversation thread).
>
> So on the output you'd need the sound card to be set to 192khz across
> the board.  The problem being the max Riv supports is 48khz.
>
> You'd save yourself a lot of headaches by having two sound cards. Have
> Riv output straight to the sound card (ALSA) and then run a line out
> from that to line in on the other card.
>
> JACK then runs the other card for stereo tool purposes?
>
> Wayne Merricks
> The Voice Asia
>
> On 25/09/15 01:06, Aaron Horn wrote:
> > On 24/09/2015 21:33, Aaron Horn wrote:
> >> Hello,
> >>
> >> I'm trying to run RD with Jack on my laptop.  I need to run Jack at
> >> 192khz sampling rate for FM processing.
> >>
> >> RD doesn't seem to want to play ball.  When I start caed -d, it
> >> complains of a sample rate mismatch and all the music plays at the
> >> wrong speed.
> >>
> >> What am I doing wrong here?
> >
> >
> > I have made a little progress with this...
> >
> > I have found I can run jackd at 192khz and then use this asound.conf
> > to create a 'virtual' interface from jack:
> >
> > pcm.rawjack {
> > type jack
> > playback_ports {
> > 0 system:playback_1
> > 1 system:playback_2
> > }
> > capture_ports {
> > 0 system:capture_1
> > 1 system:capture_2
> > }
> > }
> >
> > pcm.rd0 {
> > type plug
> > slave { pcm "rawjack" }
> > }
> > ctl.rd0 {
> > type hw
> > card 0
> > }
> >
> > This works ok ish:
> >
> > aaron@pl:~$ caed -d
> > HPI_DriverOpen error: No such file or directory
> > caed: Starting ALSA Play Device rd0:
> > caed:   Format = 32 bit little-endian
> > caed:   SampleRate = 48000
> > caed:   Aggregate Channels = 16
> > caed:   Periods = 4
> > caed:   BufferSize = 4096 frames
> > caed:   Device started successfully
> > caed: Starting ALSA Capture Device rd0:
> > caed:   Format = 32 bit little-endian
> > caed:   SampleRate = 48000
> > caed:   Aggregate Channels = 16
> > caed:   Periods = 4
> > caed:   BufferSize = 4096 frames
> > caed:   Device started successfully
> > caed: no control device found for rd0
> > ALSA lib pcm.c:2267:(snd_pcm_open_noupdate) Unknown PCM rd1
> > ALSA lib pcm.c:2267:(snd_pcm_open_noupdate) Unknown PCM rd1
> > caed: connected to JACK server
> > JACK sample rate mismatch!
> > caed: JACK sample rate mismatch!
> > caed: Found TwoLAME encoder library, MPEG L2 encoding supported
> > caed: Found MAD decoder library, MPEG L2 decoding supported
> > caed: using realtime scheduling, priority=79
> > caed: cae started
> >
> > But I have two issues... It's complaining about no control device for
> > rd0 (but works anyway) and it's still connecting to jack as rd1.
> >
> > Is there anyway to make it not try to do jack other than recompiling
> > it without jack support?
> > ___
> > Rivendell-dev mailing list
> > Rivendell-dev@lists.rivendellaudio.org
> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Has anyone tried the Juli@ XTe is the PCIe audio card yet?

2015-08-04 Thread Alessio Elmi
Not sure if your question is related about the PCIe model or Julia in
general as an audio card.
We use PCI (non Express, but they should share same audio chipset) with
Rivendell using straight ALSA and does its job pretty well. Anyway at first
we got confused because you couldn't use digital output separately from
analog (if you do you will lose control on the analog layer, but if needed
you can route the analog-out or the analog-input). Basically it's 1 stereo
IN, 1 stereo OUT, you choose which one.

Il giorno mar 4 ago 2015 alle ore 22:43 Christian Pointner <
equi...@helsinki.at> ha scritto:

> Hi,
>
> Am 04.08.2015 um 21:02 schrieb Bill Putney:
> > It looks pretty cool and the price is attractive (~$200). Has balanced
> > analog IO and S/PDIF digital in and out. Says it is "Compatible with
> > Linux (ALSA)" for what that's worth.
> >
> We use this card in one of our machines. It runs just fine under Debian
> Wheezy. We don't use it for Rivendell but i don't think that there will
> be a problem with that.
>
> regards
>  christian
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Using macro to set a variable

2015-07-28 Thread Alessio Elmi
Sorry I didn't read correctly the question.
In fact we pair php script with a filewrite.rlm plugin...

And by the way that was the only way we found to avoid crash in updating
Icecast in case of accented chars...

Il giorno mar 28 lug 2015 alle ore 12:07 Alessio Elmi <
alessio_e...@hotmail.com> ha scritto:

> Hi all,
> I can confirm we have this which works ok:
> RDAdmin -> Host -> RDAirPlay -> Now&Next -> Master Log RML
> ...and directly in that field:
> RN php /home/poliradio/xtra_scripts/songUpdater.php!
>
> Cheers!
>
> Alessio
>
>
> Il giorno mar 28 lug 2015 alle ore 11:47 Wayne Merricks <
> waynemerri...@thevoiceasia.com> ha scritto:
>
>>  I don't think its as simple as using RN with %a for the artist or
>> whatever.  You can use the RLM stuff quite easily though you'll have to do
>> a bit of C and recompile it.
>>
>> Have a look at rlm_test in the source to see if this is something you can
>> amend.
>>
>> This test rlm simply prints all the info to the screen whenever now/next
>> changes.  You could combine it with curl to get/post to a PHP script or
>> something.  Or if its a simple shell script, in the rlm_test_RLMPadDataSent
>> function just replace all the printf stuff with someting like this:
>>
>> char cmd[1024];
>> sprintf(cmd,"/path/to/my/script.sh \"Now Playing Cart %06u: Artist: %s -
>> Title: %s\"", now->rlm_cartnum, now->rlm_artist, now->rlm_title);
>>
>> printf("cmd: %s", cmd);
>> system(cmd);
>>
>> My C is very rusty so you may have to tweak this to get it to compile.
>>
>> Regards,
>>
>>
>> Wayne Merricks
>> The Voice Asia
>>
>> On 27/07/15 20:07, Tim Camp wrote:
>>
>> Greetings,
>> I was wondering if anyone had tried using the macro line in now&next
>> settings in rdairplay to do something like set a variable to say something
>> like the song Id?  Perhaps using RN macro.
>> I want to pass a number to a script based on the song that is playing.
>>
>> Thoughts?
>>
>> Cheers
>>
>> Tim Camp
>> WZEW-FM
>> Mobile, Al
>>
>>
>> ___
>> Rivendell-dev mailing 
>> listRivendell-dev@lists.rivendellaudio.orghttp://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
>>
>>  ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Using macro to set a variable

2015-07-28 Thread Alessio Elmi
Hi all,
I can confirm we have this which works ok:
RDAdmin -> Host -> RDAirPlay -> Now&Next -> Master Log RML
...and directly in that field:
RN php /home/poliradio/xtra_scripts/songUpdater.php!

Cheers!

Alessio

Il giorno mar 28 lug 2015 alle ore 11:47 Wayne Merricks <
waynemerri...@thevoiceasia.com> ha scritto:

>  I don't think its as simple as using RN with %a for the artist or
> whatever.  You can use the RLM stuff quite easily though you'll have to do
> a bit of C and recompile it.
>
> Have a look at rlm_test in the source to see if this is something you can
> amend.
>
> This test rlm simply prints all the info to the screen whenever now/next
> changes.  You could combine it with curl to get/post to a PHP script or
> something.  Or if its a simple shell script, in the rlm_test_RLMPadDataSent
> function just replace all the printf stuff with someting like this:
>
> char cmd[1024];
> sprintf(cmd,"/path/to/my/script.sh \"Now Playing Cart %06u: Artist: %s -
> Title: %s\"", now->rlm_cartnum, now->rlm_artist, now->rlm_title);
>
> printf("cmd: %s", cmd);
> system(cmd);
>
> My C is very rusty so you may have to tweak this to get it to compile.
>
> Regards,
>
>
> Wayne Merricks
> The Voice Asia
>
> On 27/07/15 20:07, Tim Camp wrote:
>
> Greetings,
> I was wondering if anyone had tried using the macro line in now&next
> settings in rdairplay to do something like set a variable to say something
> like the song Id?  Perhaps using RN macro.
> I want to pass a number to a script based on the song that is playing.
>
> Thoughts?
>
> Cheers
>
> Tim Camp
> WZEW-FM
> Mobile, Al
>
>
> ___
> Rivendell-dev mailing 
> listRivendell-dev@lists.rivendellaudio.orghttp://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
>  ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Max size of importing audio

2015-07-13 Thread Alessio Elmi
Hi Geoff,
I think you're right! I have 300 seconds as Timeout value...
Doin' more tests.

Il giorno lun 13 lug 2015 alle ore 23:14 Geoff Barkman <
countryra...@gmail.com> ha scritto:

> Hi Alessio
> I don't usually import audio longer than an hour, but had similar
> Audio Conversion errors.
>
> I think I solved this problem with increasing the Apache Time Out
> length in /etc/apache2/apache2.conf file. Ubuntu  not sure where
> other linuxes store it.
> Look for the line "Timeout 300" and change it to "Timeout 3000"
>
> 1.2 gig for 2 hour audio files, sounds like a pcm wave file. I think
> there is a limit of 4 gig on one of those files... my head hurts
> trying to work out how long that is.
> Many thanks
> Geoff Barkman
>
> On 7/14/15, Alessio Elmi  wrote:
> > I was noticing that importing very big audio files leads sometimes to
> > "Audio conversion error". We're talking of file of about 2 hours in plain
> > wave format (a bit more that 1.2 GB).
> >
> > I suspect the reason is because the /tmp (or the ram?) is getting full or
> > something like that. However on the / there are more than 25GB available
> so
> > I cannot figure out where it gets stuck.
> >
> > Splitting that in two solves the problem but I'd like to understand it
> > better for the future. Given available resource, what's the largest file
> I
> > can import?
> >
> > Thank you
> >
> > Alessio
> >
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Max size of importing audio

2015-07-13 Thread Alessio Elmi
I was noticing that importing very big audio files leads sometimes to
"Audio conversion error". We're talking of file of about 2 hours in plain
wave format (a bit more that 1.2 GB).

I suspect the reason is because the /tmp (or the ram?) is getting full or
something like that. However on the / there are more than 25GB available so
I cannot figure out where it gets stuck.

Splitting that in two solves the problem but I'd like to understand it
better for the future. Given available resource, what's the largest file I
can import?

Thank you

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


Re: [RDD] Switching main output between cards

2015-06-29 Thread Alessio Elmi
Probably you're right and by the way that's the only way of achieving this
now. I'll go for it.

Il giorno lun 29 giu 2015 alle ore 06:54 Lorne Tyndale <
ltynd...@tyndaleweb.com> ha scritto:

> Hi,
>
> I know you mentioned you don't like Jack, although I admit I'm a little
> curious as to why?
>
> If you consider that you can use the JC and JD (Jack Connect and Jack
> Disconnect) macros from within Rivendell, and that you can get jack to
> recognize multiple in's and outs (even if they happen to be on different
> sound cards), from what I can tell you can do pretty much everything
> you're trying to achieve with Jack and some Rivendell macros.  From your
> example you'd still have to fire macros to switch around the audio
> within the matrix, so I'm not sure what the difference between a series
> of ST macros versus a JD / JC macro.
>
> The more I think about it, the more it makes sense to do this type of
> switching external to Rivendell via an audio switcher, an Axia Livewire
> type of setup, or Jack.
>
> Lorne Tyndale
>
>
>
> > I think the need of a plan B is quite reasonable. Apart from the mixer
> > channel hot substitution (and by the way we do not have such a
> professional
> > one) sometimes you may want to route somewhere else or feed other
> channels
> > simultaneously for delivering purposes. I mean... there may be lots of
> > scenarios in which a digital matrix in between could save you from
> troubles.
> > I know Jack is there and can take care of the those jobs, but something
> > integrated in Rivendell would be really nice. That's all! :-)
> >
> > Il giorno dom 28 giu 2015 alle ore 22:51 Lorne Tyndale <
> > ltynd...@tyndaleweb.com> ha scritto:
> >
> > > Hi,
> > >
> > > The main reason that I see for being able to change things up on the
> fly
> > > relate to situations I've directly encountered when troubleshooting /
> > > fixing gear.
> > >
> > > Consider: Rivendell is set to alternate playout between Channel A and
> > > Channel B.  The console in your on-air studio develops a problem with
> > > one of the channel modules that Rivendell uses.  If you happen to have
> a
> > > modular console and if this were a feature you could run a macro that
> > > tells Rivendell to only output to Channel A (or Channel B as
> > > appropriate), then once there is nothing going through the channel that
> > > has the difficulty, pop that channel out, repair it, and pop it back in
> > > (or if you happen to have a spare channel module, pop your spare in).
> > > Then tell Rivendell to go back to the A to B alternating sequence.  The
> > > system will never miss a beat, no need to interrupt RDAirplay to fix
> > > your console.
> > >
> > > I've actually done this a number of times on another automation system
> > > (I won't mention which one) that has the ability to change the channel
> > > playout sequence on the fly.  It isn't one of those features that needs
> > > to be used a lot, but when it is needed it sure is nice to have.
> > >
> > > I agree that it is entirely possible (and quite simple) to do this type
> > > of changeup with Jack.
> > >
> > > Lorne Tyndale
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > >
> > > > or put a switcher on the output of Rivendell, and switch that...
> > > > I AM CURIOUS AS TO WHY you want to switch the outputs, though...
> > > >
> > > >
> > > >  On Sunday, June 28, 2015 9:52 AM, Alessio Elmi <
> > > alessio_e...@hotmail.com> wrote:
> > > >
> > > >
> > > >  The only workaround I found is using Jack for this (I need to test
> it
> > > yet though), but it's a solution I don't like too much...
> > > >
> > > > @Fred can you confirm there's no way of doing it inside Rivendell? In
> > > this case I think it would be a very appreciated implementation! :-)
> > > > Something like you create a list of "Virtual Audio Devices" to be
> > > interposed between Rivendell modules and physical audio devices, each
> of
> > > them with a number of virtual inputs and virtual outputs. Then you can
> feed
> > > Virtual devs with Physical devs and vice-versa, something like jack
> > > connections...
> > > >
> > > > I suspect it's a big effort :-) ...just a wish!
> > > >
> > &g

Re: [RDD] Switching main output between cards

2015-06-28 Thread Alessio Elmi
I think the need of a plan B is quite reasonable. Apart from the mixer
channel hot substitution (and by the way we do not have such a professional
one) sometimes you may want to route somewhere else or feed other channels
simultaneously for delivering purposes. I mean... there may be lots of
scenarios in which a digital matrix in between could save you from troubles.
I know Jack is there and can take care of the those jobs, but something
integrated in Rivendell would be really nice. That's all! :-)

Il giorno dom 28 giu 2015 alle ore 22:51 Lorne Tyndale <
ltynd...@tyndaleweb.com> ha scritto:

> Hi,
>
> The main reason that I see for being able to change things up on the fly
> relate to situations I've directly encountered when troubleshooting /
> fixing gear.
>
> Consider: Rivendell is set to alternate playout between Channel A and
> Channel B.  The console in your on-air studio develops a problem with
> one of the channel modules that Rivendell uses.  If you happen to have a
> modular console and if this were a feature you could run a macro that
> tells Rivendell to only output to Channel A (or Channel B as
> appropriate), then once there is nothing going through the channel that
> has the difficulty, pop that channel out, repair it, and pop it back in
> (or if you happen to have a spare channel module, pop your spare in).
> Then tell Rivendell to go back to the A to B alternating sequence.  The
> system will never miss a beat, no need to interrupt RDAirplay to fix
> your console.
>
> I've actually done this a number of times on another automation system
> (I won't mention which one) that has the ability to change the channel
> playout sequence on the fly.  It isn't one of those features that needs
> to be used a lot, but when it is needed it sure is nice to have.
>
> I agree that it is entirely possible (and quite simple) to do this type
> of changeup with Jack.
>
> Lorne Tyndale
>
>
>
>
>
>
>
> >
> > or put a switcher on the output of Rivendell, and switch that...
> > I AM CURIOUS AS TO WHY you want to switch the outputs, though...
> >
> >
> >  On Sunday, June 28, 2015 9:52 AM, Alessio Elmi <
> alessio_e...@hotmail.com> wrote:
> >
> >
> >  The only workaround I found is using Jack for this (I need to test it
> yet though), but it's a solution I don't like too much...
> >
> > @Fred can you confirm there's no way of doing it inside Rivendell? In
> this case I think it would be a very appreciated implementation! :-)
> > Something like you create a list of "Virtual Audio Devices" to be
> interposed between Rivendell modules and physical audio devices, each of
> them with a number of virtual inputs and virtual outputs. Then you can feed
> Virtual devs with Physical devs and vice-versa, something like jack
> connections...
> >
> > I suspect it's a big effort :-) ...just a wish!
> >
> >
> > Il giorno dom 28 giu 2015 alle ore 01:49 Lorne Tyndale <
> ltynd...@tyndaleweb.com> ha scritto:
> >
> > Hi,
> >
> > At present there is no way that I am aware of - on the fly - of
> > switching the audio output or input from one card / port to another.
> > You can change the audio outputs / inputs in rdadmin --> Manage hosts,
> > however to make the new settings take effect it requires exiting and
> > restarting rdairplay (or which ever module you're using).
> >
> > The Local Audio Adapter in the matrix is there to allow you to grab the
> > LineIN off an audio card and route it to an output on the same audio
> > card via an RML command.  The purpose of this would be - as an example -
> > to provide a method of routing satellite audio hooked into a line in and
> > have it put out to an audio output.  More information can be found here:
> >
> >
> http://rivendell.tryphon.org/wiki/How_do_I_make_Rivendell_play_Audio_from_the_%22Line_In%22_of_the_Sound_Card_on_the_air%3F
> >
> > Lorne Tyndale
> >
> >
> > >  Original Message 
> > > Subject: [RDD] Switching main output between cards
> > > From: Alessio Elmi 
> > > Date: Sat, June 27, 2015 12:39 pm
> > > To: User discussion about the Rivendell Radio Automation System
> > > 
> > >
> > >
> > > Sorry if this is a topic already discussed or explained somewhere
> around
> > > but I couldn't find an exhaustive guide on it, so maybe you could
> point me
> > > to the right direction.
> > > What I need to to is having the ability to switch the output card (or
> maybe
> > > just the port) in automatic at some poin

Re: [RDD] Switching main output between cards

2015-06-28 Thread Alessio Elmi
I think scenarios which would benefit from it may be multiple... In our
specific case idea is to "free" the mixer when no programs are live, in
order to power it off, or simply be free to record new programs there.
Hope this scheme is helping...
Now:
RDD > Card 0 > Mixer > Encoder PC

Better:
Card 0 > Mixer > Card 2 Port 0
RDD < > Encoder
Card 1 > direct > Card 2 Port 1

...of course I know there are alternatives, but I think this would be very
powerful.

Il giorno dom 28 giu 2015 alle ore 19:06 John Anderson <
validmirror...@yahoo.com> ha scritto:

> or put a switcher on the output of Rivendell, and switch that...
>
> I AM CURIOUS AS TO WHY you want to switch the outputs, though...
>
>
>
>   On Sunday, June 28, 2015 9:52 AM, Alessio Elmi 
> wrote:
>
>
> The only workaround I found is using Jack for this (I need to test it yet
> though), but it's a solution I don't like too much...
>
> @Fred can you confirm there's no way of doing it inside Rivendell? In this
> case I think it would be a very appreciated implementation! :-)
> Something like you create a list of "Virtual Audio Devices" to be
> interposed between Rivendell modules and physical audio devices, each of
> them with a number of virtual inputs and virtual outputs. Then you can feed
> Virtual devs with Physical devs and vice-versa, something like jack
> connections...
>
> I suspect it's a big effort :-) ...just a wish!
>
>
> Il giorno dom 28 giu 2015 alle ore 01:49 Lorne Tyndale <
> ltynd...@tyndaleweb.com> ha scritto:
>
> Hi,
>
> At present there is no way that I am aware of - on the fly - of
> switching the audio output or input from one card / port to another.
> You can change the audio outputs / inputs in rdadmin --> Manage hosts,
> however to make the new settings take effect it requires exiting and
> restarting rdairplay (or which ever module you're using).
>
> The Local Audio Adapter in the matrix is there to allow you to grab the
> LineIN off an audio card and route it to an output on the same audio
> card via an RML command.  The purpose of this would be - as an example -
> to provide a method of routing satellite audio hooked into a line in and
> have it put out to an audio output.  More information can be found here:
>
>
> http://rivendell.tryphon.org/wiki/How_do_I_make_Rivendell_play_Audio_from_the_%22Line_In%22_of_the_Sound_Card_on_the_air%3F
>
> Lorne Tyndale
>
>
> >  Original Message 
> > Subject: [RDD] Switching main output between cards
> > From: Alessio Elmi 
> > Date: Sat, June 27, 2015 12:39 pm
> > To: User discussion about the Rivendell Radio Automation System
> > 
> >
> >
> > Sorry if this is a topic already discussed or explained somewhere around
> > but I couldn't find an exhaustive guide on it, so maybe you could point
> me
> > to the right direction.
> > What I need to to is having the ability to switch the output card (or
> maybe
> > just the port) in automatic at some point. In poor words: "Ok from now on
> > route RDAirPlay to Card 1 instead of Card 0, or - equivalently - from
> Card
> > 0 port 0 to Card 0 port 1".
> > I think that matrix/switcher could help in somehow. But how? I tried to
> > "clic randomly" to try things out but I couldn't get the whole picture in
> > my head.
> >
> > When I create a new matrix as the Local Audio adapter what does it
> > represent to me? Shall I see it as something in the halfway between caed
> > and the physical audio card?
> >
> > How can I connect everything?
> >
> > Thank you all
> >
> > Alessio___
> > Rivendell-dev mailing list
> > Rivendell-dev@lists.rivendellaudio.org
> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Switching main output between cards

2015-06-28 Thread Alessio Elmi
The only workaround I found is using Jack for this (I need to test it yet
though), but it's a solution I don't like too much...

@Fred can you confirm there's no way of doing it inside Rivendell? In this
case I think it would be a very appreciated implementation! :-)
Something like you create a list of "Virtual Audio Devices" to be
interposed between Rivendell modules and physical audio devices, each of
them with a number of virtual inputs and virtual outputs. Then you can feed
Virtual devs with Physical devs and vice-versa, something like jack
connections...

I suspect it's a big effort :-) ...just a wish!


Il giorno dom 28 giu 2015 alle ore 01:49 Lorne Tyndale <
ltynd...@tyndaleweb.com> ha scritto:

> Hi,
>
> At present there is no way that I am aware of - on the fly - of
> switching the audio output or input from one card / port to another.
> You can change the audio outputs / inputs in rdadmin --> Manage hosts,
> however to make the new settings take effect it requires exiting and
> restarting rdairplay (or which ever module you're using).
>
> The Local Audio Adapter in the matrix is there to allow you to grab the
> LineIN off an audio card and route it to an output on the same audio
> card via an RML command.  The purpose of this would be - as an example -
> to provide a method of routing satellite audio hooked into a line in and
> have it put out to an audio output.  More information can be found here:
>
>
> http://rivendell.tryphon.org/wiki/How_do_I_make_Rivendell_play_Audio_from_the_%22Line_In%22_of_the_Sound_Card_on_the_air%3F
>
> Lorne Tyndale
>
>
> > ---- Original Message 
> > Subject: [RDD] Switching main output between cards
> > From: Alessio Elmi 
> > Date: Sat, June 27, 2015 12:39 pm
> > To: User discussion about the Rivendell Radio Automation System
> > 
> >
> >
> > Sorry if this is a topic already discussed or explained somewhere around
> > but I couldn't find an exhaustive guide on it, so maybe you could point
> me
> > to the right direction.
> > What I need to to is having the ability to switch the output card (or
> maybe
> > just the port) in automatic at some point. In poor words: "Ok from now on
> > route RDAirPlay to Card 1 instead of Card 0, or - equivalently - from
> Card
> > 0 port 0 to Card 0 port 1".
> > I think that matrix/switcher could help in somehow. But how? I tried to
> > "clic randomly" to try things out but I couldn't get the whole picture in
> > my head.
> >
> > When I create a new matrix as the Local Audio adapter what does it
> > represent to me? Shall I see it as something in the halfway between caed
> > and the physical audio card?
> >
> > How can I connect everything?
> >
> > Thank you all
> >
> > Alessio___
> > Rivendell-dev mailing list
> > Rivendell-dev@lists.rivendellaudio.org
> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Switching main output between cards

2015-06-27 Thread Alessio Elmi
Sorry if this is a topic already discussed or explained somewhere around
but I couldn't find an exhaustive guide on it, so maybe you could point me
to the right direction.
What I need to to is having the ability to switch the output card (or maybe
just the port) in automatic at some point. In poor words: "Ok from now on
route RDAirPlay to Card 1 instead of Card 0, or - equivalently - from Card
0 port 0 to Card 0 port 1".
I think that matrix/switcher could help in somehow. But how? I tried to
"clic randomly" to try things out but I couldn't get the whole picture in
my head.

When I create a new matrix as the Local Audio adapter what does it
represent to me? Shall I see it as something in the halfway between caed
and the physical audio card?

How can I connect everything?

Thank you all

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


Re: [RDD] Web service test harnesses [WAS: Oh, this is weird: can't import audio]

2015-06-12 Thread Alessio Elmi
Could you managed in the end? I read only now...
You probably need to add to your "apache/httpd.conf"
LoadModule cgid_module modules/mod_cgid.so

Il giorno ven 12 giu 2015 alle ore 17:44 Frederick Gleason <
fr...@paravelsystems.com> ha scritto:

> On Jun 12, 2015, at 11:16 43, Rob Landry <41001...@interpring.com> wrote:
>
> > Debian 8 won't start the Rivendell daemons at boot; it runs something
> called systemd that seems to want to start everything at the same time
> instead of in their proper order.
>
> This same ‘systemd’ misery is now included with RHEL 7 as well.  It
> originated from Apple, where it has been part of OS X/Darwin for some
> time.  Mercifully though, on RHEL 7 the legacy service(8) commands still
> work (they are merely wrappers that redirect to the appropriate
> systemctl(8) commands).
>
> Look on the bright side: at least they didn’t inflict Upstart on you
> (Ubuntu’s allegedly “advanced” boot system, with emphasis decidedly on the
> quotation marks).
>
> Cheers!
>
>
> |--|
> | Frederick F. Gleason, Jr. |  Chief Developer |
> |   |  Paravel Systems |
> |--|
> | Stult's Report:  |
> |   Our problems are mostly behind us.  What we have to do now is  |
> | fight the solutions. |
> |--|
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Init script unable to create /var/run/rivendell

2015-06-09 Thread Alessio Elmi
Just to understand: could find out the reason in the end?
I mean.. in /etc/init.d/ there are other scripts, aren't they? Debian
default stuff.. what could be the differnece between them and your script?

Maybe it's time to deal with a systemd script..

Il giorno mar 9 giu 2015 alle ore 22:55 Dave B  ha
scritto:

> I've already tried that Alessio.
>
> On 6/9/2015 4:31 PM, Alessio Elmi wrote:
> > Do you mean the file located in /etc/init.d/rivendell ?
> > Is there any problem in chown that init script by 'root' and let it
> > create a folder in /var/run which belongs to 'rivendell'?
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Init script unable to create /var/run/rivendell

2015-06-09 Thread Alessio Elmi
Do you mean the file located in /etc/init.d/rivendell ?
Is there any problem in chown that init script by 'root' and let it create
a folder in /var/run which belongs to 'rivendell'?

Il giorno mar 9 giu 2015 alle ore 21:04 Frederick Gleason <
fr...@paravelsystems.com> ha scritto:

> On Jun 9, 2015, at 13:05 17, Wayne Merricks <
> waynemerri...@thevoiceasia.com> wrote:
>
> > OK It seems that most distributions are ignoring the super user bit
> these days.
>
> Most distributions have always shipped with bash(1) configured to ignore
> the SETUID bit, which means that init scripts will ignore them as well.
> There are very good security reasons for doing so.  Debian has
> traditionally been the exception.  Sounds like perhaps they have changed
> that policy in 8.
>
> Cheers!
>
>
> |--|
> | Frederick F. Gleason, Jr. |  Chief Developer |
> |   |  Paravel Systems |
> |--|
> |  A room without books is like a body without a soul. |
> | -- Cicero|
> |--|
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] OT 1U Rackmount Audio Receiver (Pi)

2015-06-09 Thread Alessio Elmi
Really impressivve! Excellent job!

Il giorno mar 9 giu 2015 alle ore 18:22 Wayne Merricks <
waynemerri...@thevoiceasia.com> ha scritto:

> Hi all,
>
> Off topic but I had to build an "audio codec" for very little money and
> at short notice (less than 12 hours).  Now that the heart attack has
> finished I wrote up the install with some pictures over on github.
>
> https://github.com/waynemerricks/picodec
>
> I think all in, it cost less than £150.  For that I get audio
> restreaming onto standard XLR ports with standard IEC power connectors
> in a 1U box.
>
> It also emails when things happen and provides reverse ssh for remote
> administration.
>
> Feel free to message on or off list if anyone is crazy enough to follow
> my ramblings.
>
> Regards,
>
> --
> Wayne Merricks
> The Voice Asia
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] OT 1U Rackmount Audio Receiver (Pi)

2015-06-09 Thread Alessio Elmi
Il giorno mar 9 giu 2015 alle ore 18:22 Wayne Merricks <
waynemerri...@thevoiceasia.com> ha scritto:

> Hi all,
>
> Off topic but I had to build an "audio codec" for very little money and
> at short notice (less than 12 hours).  Now that the heart attack has
> finished I wrote up the install with some pictures over on github.
>
> https://github.com/waynemerricks/picodec
>
> I think all in, it cost less than £150.  For that I get audio
> restreaming onto standard XLR ports with standard IEC power connectors
> in a 1U box.
>
> It also emails when things happen and provides reverse ssh for remote
> administration.
>
> Feel free to message on or off list if anyone is crazy enough to follow
> my ramblings.
>
> Regards,
>
> --
> Wayne Merricks
> The Voice Asia
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Bug: Exporting file will delete markers

2015-06-04 Thread Alessio Elmi
Hi everybody! The guys found a bug using RDLibrary, which deletes
talk/segue markers each time you export that cut.
In order to reproduce this bug simply:
- Take cart, choose one cut and set some markers.
- Try to export it and save it somewhere.
- Go back in Edit Markers.
- Magically Talk and Segue markers disappeared. Cut markers remeained.
Bug confirmed on both 2.9.2 and 2.10.3. Both stations are based on Debian 7
with Tryphon repositories.
Here's a link for a video showing the bug https://youtu.be/hW27OTHxJts
Can you please confirm if you're affected too?

Alessio
___
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-25 Thread Alessio Elmi
Hi Eugene,
not sure it wil help (and maybe Fred wil point me as a sinner) but try to
do the following.
- Suppose in /etc/rd.conf in the identity lines you have user: rivendell
and audiogroup: rivendell
- Then for all caed, ripcd, rdcatchd, jackd launch this as root (in this
order):
chown rivendell:rivendell /usr/bin/caed (then do it for the others)
chmod 6755 /usr/bin/caed (maybe they're in /usr/local/bin).

By doing this you impose that executables will run always under
rivendell:rivendell regardless whom they exectued by. The simple ownership
for executables, like jackd, it doesn't mean that much. Because even though
they belong to 'rivendell' but the user who launch it is 'alessio' they
will run as 'alessio' in the end. It's that 'chmod' with the 6 ahead which
makes the difference.

Now try to launch everything as a normal user (let's say you log in linux
as 'alessio'). You open a terminale and do
$ jackd -d dummy & (or your favourite jack setup)
Now open 'htop' or do a 'ps aux | grep jackd' and you should see that jackd
runs under 'rivendell' regardless it was 'alessio' that launched.
Now do the same with the rest:
Open 'rdadmin' (alessio) -> it will call caed,ripcd,rdcatchd -> but they've
been setuid -> they will run as 'rivendell'. Again, check with htop.

In this configuration 'caed' (which is responsible of searching for audio
resources). It will check these things, in this order:
- AudioScience cards
- ALSA cards (/etc/asound.conf, rd0, rd1, ...)
- JACK server
As a debug you can see what's going on by doing this:
- Launch jack in terminal as told above
- In terminal do: "caed -d" -> it wil tell you what it finds.

Again, maybe this is not the correct way to go. Only Fred knows (and most
of times it changes from scenario to scenario)... In mine it does its job
:-)
Hope it helps!

Alessio
Il giorno lun 25 mag 2015 alle ore 20:33 Eugene  ha
scritto:

> OK, let's try this again and I'll be more direct.  Getting acquainted
> with Rivendell Appliance v2.10.2 and want to connect to jackd server in
> order to use processing (stereo tool).  Here are my specific issues so far:
>
> (1) Since Jack must be run as same owner as Rivendell daemons...
> I checked and seem to have a combination of user/owner assignments (no
> doubt revealing my linux ignorance).
>
> When I ls -l /var/run/rivendell the result is...
>
> caed and ripcd are "rivendell:root"
> jackd and rdcatchd are "root:root"
>
> so, I changed jackd to "rivendell:root" and the result was still no
> evidence of jack in the Rivendell host> Audio resource listing, or
> Rivendell in the jack connect list.  Yes I restarted rivendell services
> with no change.
>
> Also, if it matters,
> When I ls -l /var   the result is...
>/var/snd is "rivendell:rivendell"
>
> (2) ...and this is likely a hitch, in Rivendell Manage Hosts>Jack
> Settings, I've checked the box to start the server, added the "default"
> name, but not sure what goes in the command line(s) for Jack and Jack
> clients (if anything).
>
> Probably all very elementary, but perhaps setting specific to the
> appliance.  Greatly appreciate any suggestions
>
> Eugene
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


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

2015-05-23 Thread Alessio Elmi
You replied just to me.

-- Forwarded message -
From: Eugene 
Date: sab 23 mag 2015 alle ore 20:17
Subject: Re: [RDD] Configuring Jack For v2.10.2 Appliance
To: Alessio Elmi 


 Thanks Gary and Alessio.

Hmm, interesting.  My Riv appliance v2.10.2 has been working smoothly
(under test conditions) by simply clicking on the desktop icons, setting up
logs and music, then running rdairplay.  The install named the host
"rduser" so I just went with that for now as the default user.

Upon investigation, we seem to have a combination of user/owner assignments.
When I ls -l /var/run/rivendell
caed and ripcd are rivendell : root
jackd and rdcatchd are root : root

When I ls -l /var
I see /var/snd is rivendell : rivendell

This I must presume is by design.  However, I'm hesitant to rock the boat
in smooth waters, so my question becomes which of these owners/user is
correct?  What happens if I change 'em all to one or the other?  Are you
suggesting in order to use these creative "accessories"  I need to create a
new user?

Thanks again for any suggestions.


Eugene


On 5/23/2015 6:48 AM, Alessio Elmi wrote:


 The easiest way (which will give you less headaches) is to run everything
under the same user: you login as 'radio', 'radio' will be the owner of
filesystem,



 > ___
> > Rivendell-dev mailing list
> > Rivendell-dev@lists.rivendellaudio.org
> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
> 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
>
___
Rivendell-dev mailing
listRivendell-dev@lists.rivendellaudio.orghttp://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
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 Alessio Elmi
Just remember one thing: Jack unfortunately is not developed to be a
multi-user application. I'm not an expert but here's what I found out
during years (and by the way I'm not an expert of the B.Appliance either).

The easiest way (which will give you less headaches) is to run everything
under the same user: you login as 'radio', 'radio' will be the owner of
filesystem, you launch Rivendell apps as 'radio', caed/ripcd/rdcatchd will
run under 'radio' as well and so on... By doing this everything will work
at the first attempt without struggling on configurations and so on. I did
it many times for situations where I was the only who had access to the
computer. However this is the worst way of doing things and I don't
recommend it for activities involving many 'humans'.

If you want things going the proper way it's a bit more complicated. Back
to Rivendell you have a dedicated Linux user for it (let's suppose
'rduser'). You login as 'radio', but caed/ripcd/rdcathcd will run under
'rduser', who is the owner of /var/snd too. Therefore jackd must go with
the same user (otherwise Rivendell doesn't see it) and because of the same
logic 'rduser' will be responsible of StereoTool and darkice/liquidsoap.
But some applications may complain of not having a dedicated X session and
it's here that headaches manifest themselves.

I must admit that I was never able to configure the second scenario exactly
the way I wanted. Case histories here are more than welcome!

Just a tip: remember you don't need to login as 'rduser' any time you want
to startup jack. It may be helpful doing a setuid/setgid operation on
applications.

Good luck!

Alessio

Il giorno sab 23 mag 2015 alle ore 08:36 Gary Hodder  ha
scritto:

> 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
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] RDLibrary bug on multi cart edit

2015-05-19 Thread Alessio Elmi
Hi there,
a guy just found a bug on RDLibrary which I think it hasn't been reported
yet. When you change GROUP to many carts at once using RDLibrary you will
loose the year information on every cart.
In order to reproduce the bug you can simply do the folllowing:
- Open RDLibrary
- Select more than one cart
- Edit
- Change GROUP.
What happens:
- Group has changed, but Year field in every cart has been lost.
Cheers!

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


Re: [RDD] Access rights

2015-05-19 Thread Alessio Elmi
Yes, of course it's possible! Just be sure to flag permissions correctly in
RDAdmin -> Manage users. Choose in the user configuration which GROUPS can
be managed by the user. By doing this he/she will be able to see (or not)
those GROUPS in RDLibrary. Apart from that user will be able to play that
GROUP anyway (as long as On-Rights are flagged).
Hope I've been clear!

Il giorno lun 18 mag 2015 alle ore 19:44 Hoggins!  ha
scritto:

> Hello everyone,
>
> For a particular RD user, I would like to prevent the possibility of
> *writing* in a specific GROUP (moving a CART from one GROUP to another,
> the destination one being forbidden for that user), but allow that user
> to *read* in it, and for example, selecting CARTS in it, under
> RDAirplay, for example.
>
> Would this be possible ?
>
> Thank you for your hints !
>
> Hoggins!
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Interface on one machine, playout on another?

2015-05-13 Thread Alessio Elmi
Lorne,
do you think it is possible to mix two audio resources?
Let's say we have Studio A, connected to the mixer and Studio B as a
production workstation. Can we say that RDAirPlay of B must go to studio A
and eventually on air, while RDLibrary stays locally just to manage the
library?

Alessio

Il giorno mer 13 mag 2015 alle ore 07:43 Lorne Tyndale <
ltynd...@tyndaleweb.com> ha scritto:

> Hi,
>
> That is exactly what that Core Audio Engine setting is for.  You can set
> up a new host (in this case, Host 2), and tell it in rdadmin to use the
> audio engine (in this case, another word for the sound card) on Host 1.
> Then you just set your audio in's and out's based on the resources
> available on Host 1.  It works quite well (and can be lots of fun on
> April 1st when you want to make unexpected audio come out of someone's
> cue speaker!)
>
>
>
> >  Original Message 
> > Subject: Re: [RDD] Interface on one machine, playout on another?
> > From: Jay Eames 
> > Date: Wed, May 13, 2015 1:06 am
> > To: John Anderson 
> > Cc: "rivendell-dev@lists.rivendellaudio.org"
> > 
> >
> >
> > Not sure if this will help, or in fact if this was part of the design,
> but I have inadvertently done this in the past by setting the host core
> audio engine of an auxiliary machine to that of the playout PC in rdadmin
> host settings.
> >
> > > On 13 May 2015, at 04:43, John Anderson  wrote:
> > >
> > >> On Tue, 2015-05-12 at 22:32 -0500, Keith Thelen wrote:
> > >>
> > >> Right now I have one machine all set up and running Rivendell. I'm
> planning on adding a second machine to the mix -
> > >> an all-in-one unit with a touchscreen, no expansion slots, and no
> on-board audio hardware. The purpose of this second
> > >> machine would be to run RDPanel, allowing the talent to have more
> buttons at their fingertips. Simple enough.
> > >
> > > is this the same studio or an extension?  is there some reason you just
> > > didn't add a 2nd screen.
> > >
> > >>
> > >> Thing is, I'd like to have this second machine merely act as an
> extension of the first.
> > >> Any audio playout triggered on it would actually occur on the other
> machine. I'm not talking
> > >> about a netjack-type scenario - the idea would be that no audio would
> actually be handled by
> > >
> > > more like an aux studio...?  I'd likely do a kvm extension on some
> video
> > > extenders...(of course, I do have that laying around).  In a whole lot
> > > of cases, I use an older tried and true (& CHEAP) way to not reinvent
> > > the wheel.
> > >
> > > I know some folks were experiment with thin clients, but, it's seems
> > > like a bit of bother for no real reason
> > >
> > >
> > > ___
> > > Rivendell-dev mailing list
> > > Rivendell-dev@lists.rivendellaudio.org
> > > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> > ___
> > Rivendell-dev mailing list
> > Rivendell-dev@lists.rivendellaudio.org
> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Rmlsend for "Schedule now"

2015-05-11 Thread Alessio Elmi
Hi there,
is there any solution for a rmlsend command which "schedule/play now" a
cart?
My idea is to create a macro cart (RN myscript.sh!) which is scheduled
regularly in the log. Myscript.sh does a db query and decides which cart to
play. Once the the db gives me the answer I would need to add the end of
myscript.sh something like:
rmlsend PLAY-NOW (and not NEXT) $CART!
...but I couldn't find any command of that form, only ADD NEXT, which I
don't like because $CART "presents" the very next song and cannot go after
that.
Is there any solution for that?

Cheers!

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


[RDD] Now and Next through rmlsend field in RDAdmin

2015-05-09 Thread Alessio Elmi
Hi everybody,
we encounter a problem in sending Now Playing parameters through a specific
rmlsend command.
Basically what it does is taking infos and passing them to a php script
which will update our website.
We still have to manage some accents or apostrophes (those tiltes are
skipped at the moment) but it's quite ok for now.
However we faced a sort of crash (no more titles were sent after that) when
it had to manage with this song:

ARTIST: Los Campesinos!
TITLE: This is How You Spell "HAHAHA We Destroyed the Hopes and the Dreams
of a Generation of Faux-Romantcs"

That was the last title it tried to send (and failed). There isn't any
trace in syslog. Anyway there are a couple of RLM plugins too attached in
RDAdmin (Shoucast) and they kept sending info like nothing happened.
We were wonder if the problem were because of the special chars on the
title or the length of the total string of rmlsend command after %a and %t
had been expanded. Is there any limit on that?

What do you think?
Thank you

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


[RDD] Colors of panel elements in RDAirPlay

2015-04-23 Thread Alessio Elmi
Hi,
don't remember if it came out already in the list.
we are experiencing this sort of bug where buttons in the panel lose their
colors while trying to copy elements in the window. There's a moment where
all the elements are purple and after a clic/keystroke the selected button
to be copied stays purple forever. I still need to understand what they do
exactly, but I think they're right as I spotted many item in purple along
the panels.
Did it ever happen to you? We're using 2.9.x..
Cheers

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


Re: [RDD] Problems with Appliance Install

2015-04-01 Thread Alessio Elmi
Hi Robert,
as a debug you can try to edit the grub.cfg and remove the option
'quiet' in the entry related to CentOS. This will show all the booting
steps and you can see why it hangs...

Alessio

2015-04-01 8:08 GMT+02:00 Robert Jeffares :
> appliance install 2.6.5.1 on Asrock H81M-DGS R2.0 Intel G3240 3.1Ghz 2GB
>
> Install runs OK but stalls on reboot.
>
> Countdown in grub [Centos will boot in x] then black screen.
>
> Have tried rescue disk, reinstalling grub in MBR, different SATA HDD,
> installing grub on HDD [got error 17]
>
> Same system will boot on alternate OS installs including Centos 6.5
>
> I am bemistified.
>
> I have used this install DVD successfully previously on another new machine
> [not same MB]
>
>
> Robert Jeffares
> Big Valley Radio
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Cannot record [SOLVED]

2015-03-21 Thread Alessio Elmi
So what's the "right" (in general scenarios) setup to remotely
export/mount a NFS share?
I usually keep in mind this, but it may be incomplete:
- I create rivendell-specific user on both NFS server and client, and
both users with same uid/gid (let's call them 'rduser').
- On both the server and client rduser is the owner of /var/snd (or
nfs-share/audio) with chmod 0755.
With these it just works (Debian 7) Now...
- are there any suggested parameters when export or mount so that
things get faster?
- Is "all_squash,anonuid=1000,anongid=1000" always required? What does it make?
Thank you

Alessio

2015-03-20 14:44 GMT+01:00  :
> Awesome, that did the trick. NFS is a bitch sometimes :-)
> Thank you very much Rob & Fred
>
>
>> On Mar 16, 2015, at 14:15 45, Rob Landry <41001...@interpring.com> wrote:
>>
>>> /var/snd is an NFS share on a central server. It was writable by the user
>>> 'nowplayd', which is the user specified in AudioOwner=, but I discovered
>>> that Rivendell could nevertheless not write to it.
>>>
>>> Adding "all_squash,anonuid=1000,anongid=1000" to the /etc/exports line
>>> cured the problem, and I can record now.
>>
>>
>> Ah, NFS -- a whole additional layer of permissions fun...
>>
>> Cheers!
>>
>>
>> |--|
>> | Frederick F. Gleason, Jr. |  Chief Developer |
>> |   |  Paravel Systems |
>> |--|
>> |  A room without books is like a body without a soul. |
>> | -- Cicero|
>> |--|
>>
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] RDLibrary: very tiny bug

2015-03-06 Thread Alessio Elmi
Hi there,
I think there's a little bug in our Rivendell (version 2.9.3, Debian
pkgs by Tryphon).
Here's how to reproduce it
Open RDLibrary -> Choose a cart -> Double clic on a cut -> Clic Play
-> Press ESC.
It closes the window but doesn't stop the music (you need to close the
main RDLibrary window).
Not sure it was already reported or solved in later versions (or if
you don't even think it's a bug).
Have a nice weekend!

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


Re: [RDD] rdairplay crashes when trying to play audio in playlist

2014-11-25 Thread Alessio Elmi
Hi,
I honestly don't know what can cause your problem. Anyway I think
programmers would prefer some deeper debugging. Try for example to
launch "rdairplay" from terminal and see if it outputs something when
crashes.
Maybe you can also try with "strace -f -o /tmp/rdairplay.log
rdairplay" after installing 'strace' and reproduce crash there. This
will give a really verbose outputs with a lot of information.

Alessio

2014-11-24 21:28 GMT+01:00 Tom Smith :
> An interesting one if anyone can help?
>
> Rdairplay is crashing whenever I open a log either empty or full. I can open 
> the program itself and  it stays open right until I try to add a cut to the 
> main log or aux log! I really am at a loss here!! Anyone able to help?
>
> Tom
>
> Sent from my iPad
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Importing files from a Rivendell Dropbox

2014-11-20 Thread Alessio Elmi
Let's hope!
However check apache log after you import music:
1) /var/log/apache2/access.log
2) /var/log/apache2/error.log

Alessio

2014-11-20 10:15 GMT+01:00 Geoff Barkman :
> Hi Alessio
> I found the conf file that you mentioned... I added another 0 to the
> end making it 3000... will test out to see if it works.
> Its just so weird... my Lubuntu set up works good as gold. Only
> difference is I can see is the size of his database (20 thousand)...
> double the number of songs... whereas mine only has 10 thousand
> and mine is a database that is over 7 years old and its migrated
> up through versions up to its present v 2.9.3.
> Whereas his database is only 6 months old... and I think started at
> about v 2.8.1 and migrated upto the prersent v 2.9.3
> Its so strange Hopefully the apache fix will do it.
> Many thanks
> Geoff Barkman
>
> On 11/20/14, Alessio Elmi  wrote:
>> Hi,
>> not sure if it solves the problem.. We don't use dropboxes, our
>> problem was that long tracks (like pre-recorded entire shows) give
>> error when imported. Anyway track is present in terms of wav file and
>> database audio length.
>> So I checked the log but I will try to tweak on that the next days.
>> Anyway you can experiment a bit on the field by tweaking Apache
>> configuration file. In case you constate that it fix that behaviour
>> please share that with us.
>> We use Debian 7 (so Apache is 2.2, while yours probably is 2.4) so
>> there may be difference in behaviour.
>> Anyway you can find Apache config file in
>> /etc/apache2/apache2.conf and there is a timeout value, which is 300
>> by default I think.
>> More info here:
>> http://httpd.apache.org/docs/current/mod/mod_reqtimeout.html (for
>> current apache version).
>>
>> Alessio
>>
>> 2014-11-20 1:10 GMT+01:00 Geoff Barkman :
>>> Hi Alessio and Wayne
>>> How do you increase the apache timeout? I take it is one of the conf
>>> files?
>>> I did notice when running "top" the rdxport.cgi process was using 25%
>>> of the cpu and importlog.txt has messages like "Database connection
>>> failed: select FILE_DATETIME from DROPBOX_PATHS"
>>>
>>> Many Thanks
>>> Geoff
>>>
>>> On 11/20/14, Alessio Elmi  wrote:
>>>> Nice tip Wayne thank you! We experienced the same problem and checking
>>>> in the Apache log:
>>>> [Mon Nov 17 10:52:15 2014] [error] [client 127.0.0.1] Script timed out
>>>> before returning headers: rdxport.cgi
>>>> Thank you!
>>>>
>>>> 2014-11-19 15:24 GMT+01:00 Wayne Merricks
>>>> :
>>>>> Hi,
>>>>>
>>>>> Just a thought are you running into the apache script time out limit?
>>>>> I'd
>>>>> imagine a 52minute mp3 would take some time to import and apache's
>>>>> default
>>>>> time outs are quite conservative by default.
>>>>>
>>>>> Wayne Merricks
>>>>> The Voice Asia
>>>>>
>>>>>
>>>>> On 19/11/14 07:34, Geoff Barkman wrote:
>>>>>>
>>>>>> I've set up Rivendell dropboxes for my friends Radio Station.
>>>>>> Running Lubuntu 14.04 Rivendell v 2.9.3
>>>>>>
>>>>>> His machine is also identical specs to mine. Apart from having more
>>>>>> ram and 20 thousand songs in the database. My system has about half of
>>>>>> that.
>>>>>>
>>>>>> I've made shared folders that his production machine saves files to
>>>>>> (using samba). These shared folders are dropboxs for a series of carts
>>>>>> in his system.
>>>>>>
>>>>>> The problem we are having with his system is Files not importing...
>>>>>> deleting the existing audio and leaving an empty cart. We then have to
>>>>>> manually import which sometimes works. We get an Audio Error OK... but
>>>>>> the file has imported.
>>>>>>
>>>>>> The Audio carts are about 52 minutes long (128k mp3) ... should I make
>>>>>> them half that length?
>>>>>>
>>>>>> Any thoughts
>>>>>> Geoff Barkman
>>>>>> ___
>>>>>> Rivendell-dev mailing list
>>>>>> Rivendell-dev@lists.rivendellaudio.org
>>>>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>>>>
>>>>>
>>>>> ___
>>>>> Rivendell-dev mailing list
>>>>> Rivendell-dev@lists.rivendellaudio.org
>>>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>>> ___
>>>> Rivendell-dev mailing list
>>>> Rivendell-dev@lists.rivendellaudio.org
>>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>>>
>>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Importing files from a Rivendell Dropbox

2014-11-20 Thread Alessio Elmi
Hi,
not sure if it solves the problem.. We don't use dropboxes, our
problem was that long tracks (like pre-recorded entire shows) give
error when imported. Anyway track is present in terms of wav file and
database audio length.
So I checked the log but I will try to tweak on that the next days.
Anyway you can experiment a bit on the field by tweaking Apache
configuration file. In case you constate that it fix that behaviour
please share that with us.
We use Debian 7 (so Apache is 2.2, while yours probably is 2.4) so
there may be difference in behaviour.
Anyway you can find Apache config file in
/etc/apache2/apache2.conf and there is a timeout value, which is 300
by default I think.
More info here:
http://httpd.apache.org/docs/current/mod/mod_reqtimeout.html (for
current apache version).

Alessio

2014-11-20 1:10 GMT+01:00 Geoff Barkman :
> Hi Alessio and Wayne
> How do you increase the apache timeout? I take it is one of the conf files?
> I did notice when running "top" the rdxport.cgi process was using 25%
> of the cpu and importlog.txt has messages like "Database connection
> failed: select FILE_DATETIME from DROPBOX_PATHS"
>
> Many Thanks
> Geoff
>
> On 11/20/14, Alessio Elmi  wrote:
>> Nice tip Wayne thank you! We experienced the same problem and checking
>> in the Apache log:
>> [Mon Nov 17 10:52:15 2014] [error] [client 127.0.0.1] Script timed out
>> before returning headers: rdxport.cgi
>> Thank you!
>>
>> 2014-11-19 15:24 GMT+01:00 Wayne Merricks :
>>> Hi,
>>>
>>> Just a thought are you running into the apache script time out limit?
>>> I'd
>>> imagine a 52minute mp3 would take some time to import and apache's
>>> default
>>> time outs are quite conservative by default.
>>>
>>> Wayne Merricks
>>> The Voice Asia
>>>
>>>
>>> On 19/11/14 07:34, Geoff Barkman wrote:
>>>>
>>>> I've set up Rivendell dropboxes for my friends Radio Station.
>>>> Running Lubuntu 14.04 Rivendell v 2.9.3
>>>>
>>>> His machine is also identical specs to mine. Apart from having more
>>>> ram and 20 thousand songs in the database. My system has about half of
>>>> that.
>>>>
>>>> I've made shared folders that his production machine saves files to
>>>> (using samba). These shared folders are dropboxs for a series of carts
>>>> in his system.
>>>>
>>>> The problem we are having with his system is Files not importing...
>>>> deleting the existing audio and leaving an empty cart. We then have to
>>>> manually import which sometimes works. We get an Audio Error OK... but
>>>> the file has imported.
>>>>
>>>> The Audio carts are about 52 minutes long (128k mp3) ... should I make
>>>> them half that length?
>>>>
>>>> Any thoughts
>>>> Geoff Barkman
>>>> ___
>>>> Rivendell-dev mailing list
>>>> Rivendell-dev@lists.rivendellaudio.org
>>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>>
>>>
>>> ___
>>> Rivendell-dev mailing list
>>> Rivendell-dev@lists.rivendellaudio.org
>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Importing files from a Rivendell Dropbox

2014-11-19 Thread Alessio Elmi
Nice tip Wayne thank you! We experienced the same problem and checking
in the Apache log:
[Mon Nov 17 10:52:15 2014] [error] [client 127.0.0.1] Script timed out
before returning headers: rdxport.cgi
Thank you!

2014-11-19 15:24 GMT+01:00 Wayne Merricks :
> Hi,
>
> Just a thought are you running into the apache script time out limit?  I'd
> imagine a 52minute mp3 would take some time to import and apache's default
> time outs are quite conservative by default.
>
> Wayne Merricks
> The Voice Asia
>
>
> On 19/11/14 07:34, Geoff Barkman wrote:
>>
>> I've set up Rivendell dropboxes for my friends Radio Station.
>> Running Lubuntu 14.04 Rivendell v 2.9.3
>>
>> His machine is also identical specs to mine. Apart from having more
>> ram and 20 thousand songs in the database. My system has about half of
>> that.
>>
>> I've made shared folders that his production machine saves files to
>> (using samba). These shared folders are dropboxs for a series of carts
>> in his system.
>>
>> The problem we are having with his system is Files not importing...
>> deleting the existing audio and leaving an empty cart. We then have to
>> manually import which sometimes works. We get an Audio Error OK... but
>> the file has imported.
>>
>> The Audio carts are about 52 minutes long (128k mp3) ... should I make
>> them half that length?
>>
>> Any thoughts
>> Geoff Barkman
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Hybrid /var/snd: write remotely, read locally

2014-11-18 Thread Alessio Elmi
Hi there,
I was wondering if it were be possible to set up things this way:
- A single NFS server, redundant, and so on..
- All clients have their own local copy, synchronized with central NFS server.
So far, so good: rsync can do the job.
Now the question: is it possible to tell Rivendell to read locally and
write (rdimport) remotely?

This would be how imagine results. I import songs from the client and
rdimport push them into the server. Rsync daemon synchronize server
and client as soon as remote folder is modified (upload or delete of
file). After few seconds I will be able to play that song from the
client, reading locally.

Is it possible in your opinion?
Thank you

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


Re: [RDD] How to change import bitrate?

2014-11-18 Thread Alessio Elmi
However consider that rdimport convert your imported music into plain
wave first. In that stage it operates with frequency resolution
44.1kHz <-> 48kHz (according to your source and target settings) and
normalization (-13 dBFS is the default). For this reason original and
imported audio file will probably be quite different, therefore extra
bitrate is not a waste of hd space (in my opinion).
Moreover consider that Rivendell chooses mp2 as compressing coding,
and it is quite different compared to mp3. Mp3 outperforms mp2 at the
same bitrate, so from a theoretical point of view your imported
mp3@256kbps will probably sound even "better" than imported
mp2@384kbps.
As always it depends... and it's a matter of what you actually want to achieve.

Alessio


2014-11-18 3:43 GMT+01:00  :
>
> Pedro the settings is for each channel... so if you have it on mpeg@192 it
> will be mpeg@384 stereo, change the settings to mpeg@128 and you will get
> mpeg@256 stereo files.
>
> Cheers
> Les
>
>
>
>  Thanks for your replies. I thought that about VLC... Is there some other
>> app to check the properties?
>>
>> On Tue, Nov 18, 2014 at 2:29 AM,  wrote:
>>
>>>
>>> The settings in Rdlogedit is for VTing pedro, I would not take much
>>> notice
>>> of VLC as it could well not be reading the file properly, the settings
>>> in
>>> rdlibrary and rdlogedit are correct settings.
>>>
>>> Regards
>>>
>>> Les
>>>
>>> > I think that setting is for the VTing, wich is already set to
>>> mpeg@192.
>>> > I can be (very) wrong though. I'm checking the file properties on VLC.
>>> >
>>>
>>>
>>>
>>
>
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Audacity and AudioScience

2014-11-03 Thread Alessio Elmi
Fred himself used to build a custom-made version of Audacity. You can
find it here: http://www.rivendellaudio.org/ftpdocs/audacity-hpi/
It is not probably up to date and I never tried it, but you may find
it useful anyway.
Regards

Alessio

2014-11-03 9:31 GMT+01:00 Stan Fotinos :
> Hi All
>
> Can a AudioScience card be used with Audacity? I am used Rivendell repos to
> install Audacity.
>
> Centos Broadcast Appliance 6
>
> Rivendell 2.10.0
>
>
> Regards
>
> Stan
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] RLM manage strange chars

2014-10-28 Thread Alessio Elmi
Hi guys,
some time ago this topic came out. What I see now is that all
non-English characters appear correctly in all RD application
(Library, AirPlay, ...) but I still see problem in RLM modules
(shoutcast, icecast, ...). Is it the same for all of you? I am using
Tryphon .deb.

Does anyone succeeded in building a proper RML module which can
transmit accent/foreign chars?

Thank you!

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


[RDD] Blog post: install Rivendell (Part II)

2014-10-16 Thread Alessio Elmi
Hello,
I would like to share with you the following post I wrote for our blog
on how to install Rivendell.
It is meant to be a beginner guide. Even though none of you would
probably need it, feedbacks, corrections, suggestions and so on are
more than welcome.

http://poliradiolabs.altervista.org/?p=564

I wish you a nice day

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


Re: [RDD] Caching audio storage

2014-10-02 Thread Alessio Elmi
Interesting link, thank you! I had completely misunderstood the problem.

2014-10-02 19:32 GMT+02:00 Rivendell Steve :
> Hi Alessio,
>
> See http://idle3-tools.sourceforge.net/ for information about WD greens and
> how to disable their power saving features.
>
> Steve.
>
> On 2 October 2014 17:24, Alessio Elmi  wrote:
>>
>> Thank you both.
>> I used exactly Caviar Green by WD. They were the cheapest and now I
>> realise why.
>> I was looking for a bottleneck on the line when it's just the disks
>> that take a nap when they like. Shame on me!
>> I will search if I can change their behaviour.
>>
>> Alessio
>>
>> 2014-10-02 17:13 GMT+02:00 Cowboy :
>> > On Thursday 02 October 2014 10:38:50 am Sébastien Leblanc wrote:
>> >> Sounds a lot like your disks are spinning down after a while. Verify
>> >> that
>> >> this is not the case: https://www.google.ca/search?q=sdparm+spindown
>> >
>> >  Western Digital has some inexpensive "green" drives.
>> >  Spin-down is exactly their claim to fame.
>> >  I don't know if it can be disabled, I just avoid "green" anything.
>> >  For the 1 watt per year they might save, just not worth it.
>> >
>> > --
>> > Cowboy
>> >
>> > http://cowboy.cwf1.com
>> >
>> > If only one could get that wonderful feeling of accomplishment without
>> > having to accomplish anything.
>> > ___
>> > Rivendell-dev mailing list
>> > Rivendell-dev@lists.rivendellaudio.org
>> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Caching audio storage

2014-10-02 Thread Alessio Elmi
Thank you both.
I used exactly Caviar Green by WD. They were the cheapest and now I realise why.
I was looking for a bottleneck on the line when it's just the disks
that take a nap when they like. Shame on me!
I will search if I can change their behaviour.

Alessio

2014-10-02 17:13 GMT+02:00 Cowboy :
> On Thursday 02 October 2014 10:38:50 am Sébastien Leblanc wrote:
>> Sounds a lot like your disks are spinning down after a while. Verify that
>> this is not the case: https://www.google.ca/search?q=sdparm+spindown
>
>  Western Digital has some inexpensive "green" drives.
>  Spin-down is exactly their claim to fame.
>  I don't know if it can be disabled, I just avoid "green" anything.
>  For the 1 watt per year they might save, just not worth it.
>
> --
> Cowboy
>
> http://cowboy.cwf1.com
>
> If only one could get that wonderful feeling of accomplishment without
> having to accomplish anything.
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Caching audio storage

2014-10-01 Thread Alessio Elmi
Hi everybody,
has anyone a piece of advice about deal with caching the audio resources?
Sometimes we face delay issues, from the moment we hit NEXT to the
moment it is actually played by the client.
Our present NFS server is quite old pc with a basic Raid1 2x2TB hdd in
a Fast Ethernet Lan. Hdd are Sata III but the motherboard only support
Sata I.
We will probably upgrade the machine, but in the meanwhile I was
wondering if putting an SSD between Hdd and the real world.
1) Have you any experience in this? Like flashcache, bcache... or
anything else? Is it complicated to setup?
2) How to update the cache? Maybe it's already implemented, I don't
know. I was thinking something like: "everytime the sound panel or the
airplay queue is modified try to copy all the items to /dev/null, so
that wave files are moved to the cache in case they're not present".
I am a perfect beginner in this.. thank you

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


Re: [RDD] USb Audio Interfaces

2014-09-30 Thread Alessio Elmi
I can speak for the M-Audio FTP.
It is a strange audio card and there is a bit of leterature about it.
You can read these articles if you want to investigate a bit
1) 
http://joegiampaoli.blogspot.it/2011/06/m-audio-fast-track-pro-for-debian-linux.html
2) https://wiki.archlinux.org/index.php/Pro_Audio#M-Audio_Fast_Track_Pro
If I remember correctly with Rivendell you should use the card in
simple mode 16bit@44.1/48kHz.
As a first check can you write the output of "aplay -l"?

2014-09-30 7:35 GMT+02:00 Scobiform.com :
> Hi there,
>
> I am currently living in Kyrgyzstan. My job is to make the technic work
> behind a new radio stream for a media ngo that teaches young people to be
> (good) journalists.
>
> All low budget  / no cost. Because average wage is here about 100 $ a month.
>
> Okay I choosed Audacity, Ardour and Rivendell.
>
> And now for my problem, because of just one shop (no hardware) here in
> Kyrgyzstan I only have a
>
> Lexikon Omega (USB) Interface // 4x2
>
> and a M-Audio Fast Track Pro (USB^^) // 4/4
>
> Rivendell and all Software works great on a fresh Install of Ubuntu 14.04,
> but the big problem is, I can´t get all channels for the audio interfaces
> working. It just gives me 1 Out / 1 IN each Interface.
>
> I have the newest Kernel and Alsa says this interfaces should work out of
> the box on their wiki, but nada.
>
> So my questions is, is there anything I can do about ubuntu not recognizing
> these interfaces. I checked everything and it seems like it is just Alsa not
> talking to this hardware. May be some config file will help, so Alsa can see
> each channel?
>
> ALSA works perfectly with Jack and Rivendell plays without a questions. I
> just need more channels to give the hardware mixer a panel and a cue track
> so we can teach live-mixing and go finally on air.
>
> And I need the 4 mic inputs from the interfaces to record "audio dramas" in
> ardour.
>
> Thx for your great piece of software.
>
> Have a nice day.
> Uwe
>
> --
> # Scobiform.com - Web Design - Web Development - Hosting
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell and InnoDB

2014-09-30 Thread Alessio Elmi
In the meanwhile if you use that machine only Rivendell you can edit
"my.cnf" file after you install MySQL with the following
default_storage_engine=MYISAM;


2014-09-30 11:31 GMT+02:00 Hoggins! :
> Aaah thanks !
>
> What would we need to ask for such a modification ? Push a new issue to
> GitHub ?
>
> Hoggins!
>
>
> Le 29/09/2014 21:42, Karl Koscher a écrit :
>> IIRC, some of the schemas are incompatible with InnoDB. In particular,
>> the SERVICES table has a 64-character clock name for each hour of the
>> week, which puts the row size over the InnoDB limit (as described
>> here: http://dev.mysql.com/doc/refman/5.0/en/innodb-restrictions.html). If
>> this was moved to a separate table with (service, hour, clock id)
>> tuples, it should work just fine.
>>
>>
>>
>> On Mon, Sep 29, 2014 at 12:29 PM, Hoggins! > > wrote:
>>
>> Hello list,
>>
>> In a near future, we plan to have master-master replication on MySQL,
>> using Galera for MariaDB. It works really well.
>> But the system *demands* that all tables are InnoDB, and not MyISAM.
>>
>> Can someone explain why the InnoDB format is not supported by all the
>> features of Rivendell (AFAIK RDLogManager with clocks, and some
>> voicetracking), and if it is planned to accept also the InnoDB
>> format in
>> the future ?
>>
>> Thank you for your answers.
>>
>> Hoggins!
>>
>>
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> 
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
>>
>
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell v2.9.2

2014-09-13 Thread Alessio Elmi
Yes I supposed you already had it.
Usually on Debian based systems like Ubuntu "apt-get install
build-essential" gives a nice list of building tools for
compiling/building needs. You may want this as well.

Aside from that have a look here
http://rivendell.tryphon.org/wiki/Rivendell_on_Debian_6
It is a well documented guide on installing Rivendell. Even though it
is a bit outdated, its basic steps remain the same.

2014-09-13 2:38 GMT+02:00 Pedro Picoto :
> UPDATE: managed to upgrade to v2.9.2.
> After installing the suggested -dev files I end up with a missing g++
> Googled  for help and solved the problem.
>
> sudo apt-get apt-get install g++
>
> On Sat, Sep 13, 2014 at 12:16 AM, Pedro Picoto 
> wrote:
>>
>> Didnt work. Not worried, still have it working, i discovered with a
>> strange bug to be explained on a new topic...
>>
>> On Fri, Sep 12, 2014 at 3:13 PM, Alessio Elmi 
>> wrote:
>>>
>>> You need -dev deps!
>>> Try with these:
>>> apt-get install libcdparanoia-dev libflac++-dev libsamplerate0-dev
>>> libid3tag0-dev libid3-3.8.3-dev libcurl4-gnutls-dev libsndfile-dev
>>> qt3-dev-tools libpam0g-dev libsoundtouch1-dev libasound2-dev
>>> libtwolame-dev libmad0-dev libjack-jackd2-dev libqt3-mt-mysql
>>> build-essential
>>>
>>> ...you probably already have some of them installed.
>>>
>>> 2014-09-12 5:04 GMT+02:00 Pedro Picoto :
>>> > Disclaimer:
>>> >
>>> > I've never done a Rivendell update. I always waited for Tryphon
>>> > to make them available. Since they had not done that lately, I decided
>>> > to
>>> > give a try.
>>> > I've followed what I'm used to:
>>> >
>>> > ./configure
>>> > make
>>> > sudo make install
>>> >
>>> > But I end up with missing items upon configure.
>>> >
>>> > pedro@pedro-desktop:~/Transferências/rivendell-2.9.2$ ./configure
>>> > 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... i686-pc-linux-gnu
>>> > checking host system type... i686-pc-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 i686-pc-linux-gnu file names to
>>> > i686-pc-linux-gnu
>>> > format... func_convert_file_noop
>>> > checking how to convert i686-pc-linux-gnu file names to toolchain
>>> > format...
>>> > func_convert_file_noop
>>> > checking for /usr/bin/ld option to reloa

Re: [RDD] Rivendell v2.9.2

2014-09-12 Thread Alessio Elmi
You need -dev deps!
Try with these:
apt-get install libcdparanoia-dev libflac++-dev libsamplerate0-dev
libid3tag0-dev libid3-3.8.3-dev libcurl4-gnutls-dev libsndfile-dev
qt3-dev-tools libpam0g-dev libsoundtouch1-dev libasound2-dev
libtwolame-dev libmad0-dev libjack-jackd2-dev libqt3-mt-mysql
build-essential

...you probably already have some of them installed.

2014-09-12 5:04 GMT+02:00 Pedro Picoto :
> Disclaimer:
>
> I've never done a Rivendell update. I always waited for Tryphon
> to make them available. Since they had not done that lately, I decided to
> give a try.
> I've followed what I'm used to:
>
> ./configure
> make
> sudo make install
>
> But I end up with missing items upon configure.
>
> pedro@pedro-desktop:~/Transferências/rivendell-2.9.2$ ./configure
> 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... i686-pc-linux-gnu
> checking host system type... i686-pc-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 i686-pc-linux-gnu file names to i686-pc-linux-gnu
> format... func_convert_file_noop
> checking how to convert i686-pc-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) 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
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
> yes
> checking for g++ option to produce PIC... -fPIC -DPIC
> checking if g++ PIC flag -fPIC -DPIC works... yes

Re: [RDD] M-Audio M-Track Plus

2014-07-23 Thread Alessio Elmi
Also something like running "caed -d" could give helpful information...

2014-07-23 16:05 GMT+02:00 Wayne Merricks :
> Hi,
>
> Just to be clear, in rdalsaconfig you have moved the usb card into Active
> Sound Devices and hit save?
>
> After that you would need to restart the Riv daemons to pick up the changes.
> You can reboot if you want but just in case theres some weird device
> swapping with the USB card just kill the daemons and run rdadmin again:
>
> e.g.
>
> killall caed ripcd rdcatchd
> rdadmin
>
> You might have to sudo killall caed ripcd rdcatchd as I believe they run as
> root by default.
>
> I'm not sure what the equivalent of /etc/init.d/rivendell stop is on CentOS
> or even if it will work so I'd stick with killing them.
>
> rdadmin will load the daemons on its own.  The theory being at this point it
> will have noticed it should use the USB card and you'll see it in the audio
> resources section.
>
> Wayne Merricks
> The Voice Asia
>
> On 23/07/14 14:57, Frank White wrote:
>
> I ran the RDAlsaConfig from the Rivendell Menu.  The adaptor is there.  But
> when I look at the audio resources in RDAmin it is not available.  I turned
> the built in audio card off in the bios and Rivendell still could not see
> the adaptor.  I must be missing something somewhere.  Could it be a change
> that is needed because it is USB and not PCI?
>
>
> On Wed, Jul 23, 2014 at 9:32 AM, Wayne Merricks
>  wrote:
>>
>> have you tried:
>>
>> sudo rdalsaconfig and then selecting the adapter from the list?
>>
>> Wayne Merricks
>> The Voice Asia
>>
>> On 23/07/14 14:08, Frank White wrote:
>>
>> I hope you will not mind the interruption to the list.  I am not well
>> versed in Rivendell or Linux.  I would like to know if anyone has used the
>> M-Audio M-Track Plus USB audio adaptor with Rivendell.  I am using the
>> Rivendell Appliance install DVD.  Centos can play out over the adaptor but
>> Rivendell can not.  I have looked at Jack but it seems too complicated for
>> me at this time.  Rivendell is picking up the built in audio adaptor.  Is
>> there something I need to change in a configuration file to allow Rivendell
>> to see this adaptor just using Alsa?
>>
>> --
>> Frank White
>> Frank White Technology
>>
>>
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
>>
>>
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
>
>
>
> --
> Frank White
> Frank White Technology
>
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Tipro keyboard on Rivendell

2014-05-26 Thread Alessio Elmi
Hi John,
some time ago I wrote this, even though it didn't get much attention.
Hope you find it quite useful

Alessio

Hi all,
I want to share with you my experience and maybe ask you suggestions
on how would you improve this configuration.

The goal having a real cartwall which plays Rivendell cartwall (sound
panel in rdairplay or rdpanel), preloaded with sound effects or beds.
In our mind they behave differently
- SFXs: if pressed many times, it must firts stop itself and then
sound again, like a drum machine. They can sound simultaneously.
- BEDs: they are exclusive (non-simultaneous), so that once it is
pressed it stops all other buttons playing at the moment.
Other buttons act as NEXT, AUTO/LIVE-ASSIST, open text-editor ...

The controller we found is a 2nd-hand TiPro keyboard, something like
this: 
http://www.epos-store.co.uk/media/catalog/product/cache/1/image/9df78eab33525d08d6e5fb8d27136e95/t/i/tiprokmx064a.jpg

It is programmable so that each key is mapped with a combination like
CTRL+SHIFT+P or whatever you like...

Then we prepared bash scripts for each button in the panel, with some
rmlsend commands lines, (like stop itself then play itself again, or
stop all other panel lines) according sfx or bed behaviour.

In Debian we mapped specific key-shortcuts with realtive bash scripts.
Now the pipeline is

key pressed -> translated as key-combination -> gnome associate
key-combination with bash script -> inside the script there are
rmlsend commands -> rivendell plays.

It works but it is far from being elegant and sometimes it delays a bit :-(
How would you improve this?
...not sure I wrote in an understandable way.


Alessio

2014-05-26 15:34 GMT+02:00 John Hodgson :
> Hi,
>
> Just wondering if anyone has been able to make a Tipro keyboard work with 
> Rivendell? Able to program custom buttons etc?
>
> Cheers
> John
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] QT3 and Polymer on Paravel Broadcast Appliance

2014-05-09 Thread Alessio Elmi
A "dirty" way in Debian environment would be "dpkg -i" this
https://packages.debian.org/squeeze/polymer, or (better) create your
own .deb package from source if you plan to use it on other
Wheezy-based  RD stations.
>From CentOS point of view manual make/make install, like Wayne said,
would be your best option.

Alessio

2014-05-09 12:17 GMT+02:00 Wayne Merricks :
> Hi,
>
> Not sure if it helps, but heres how I got polymer installed on Debian 7:
>
> Install some qt3 stuff:
> sudo apt-get install qt3-qtconfig qt3-dev-tools
>
> Download the polymer source (found a link in Debian lenny on launchpad):
> wget
> https://launchpad.net/debian/lenny/+source/polymer/0.3.2-4/+files/polymer_0.3.2.orig.tar.gz
>
> untar it and compile:
> tar -zxvf polymer_0.3.2.orig.tar.gz
> cd ~/polymer-0.3.2
> ./configure
> make
>
> install it:
> sudo make install
>
> On debian 7 it installed to the wrong directory so I had to make the
> "correct" directory and move it into place:
> sudo mkdir /usr/share/qt3/plugins/styles
> sudo cp /usr/plugins/styles/polymer.so /usr/share/qt3/plugins/styles/
>
> After that I could run qtconfig and select polymer.
>
> Regards,
>
> Wayne Merricks
> The Voice Asia
>
>
> On 09/05/14 00:04, John Hodgson wrote:
>>
>> That would be fab! It seems to be much easier under Ubuntu but I'm
>> assuming it's all to do with repositories and things I'm not too familiar
>> with.
>>
>> Thanks again
>> John
>>
>> Sent from my iPhone
>>
>>> On 9 May 2014, at 00:01, "Timothy R. Elwell"
>>>  wrote:
>>>
>>> If you can give me until later tonight I get get something out for you. I
>>> just did this a couple weeks ago on the appliance, but it's still in note
>>> form. I'll try to get something out tonight, worse case in the morning.
>>>
>>> Tim
>>>
 On 5/8/14 5:41 PM, John Hodgson wrote:
 Hi Guys,

 I have just installed a fresh install of the Broadcast appliance from
 paravels website which installed great.  I would very much like to have
 the
 polymer qt3 theme installed too.  I have managed to install qt3-config
 but I
 have been unsuccessful in the polymer install.

 Would any of you have any hints or tips on how I can get this installed.
 We
 are currently using the RRbuntu release and I managed to install it on
 that
 but I think centos does things slightly differently.

 Any help greatly appreciated.

 Many thanks in advance.

 John

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


[RDD] Jingle Palette integration

2014-04-08 Thread Alessio Elmi
[I send again as I used the wrong sender address and probably wasn't delivered]

Hi all,
I want to share with you my experience and maybe ask you suggestions
on how would you improve this configuration.

The goal having a real cartwall which plays Rivendell cartwall (sound
panel in rdairplay or rdpanel), preloaded with sound effects of beds.
In our mind they behave differently
- SFXs: if pressed many times, it must firts stop itself and then
sound again, like a drum machine. They can sound simultaneously.
- BEDs: they are exclusive (non-simultaneous), so that once it is
pressed it stops all other buttons playing at the moment.
Other buttons act as NEXT, AUTO/LIVE-ASSIST, open text-editor ...

The controller we found is a 2nd-hand TiPro keyboard, something like
this: 
http://www.epos-store.co.uk/media/catalog/product/cache/1/image/9df78eab33525d08d6e5fb8d27136e95/t/i/tiprokmx064a.jpg

It is programmable so that each key is mapped with a combination like
CTRL+SHIFT+P or whatever you like...

Then we prepared bash scripts for each button in the panel, with some
rmlsend commands lines, (like stop itself then play itself again, or
stop all other panel lines) according sfx or bed behaviour.

In Debian we mapped specific key-shortcuts with realtive bash scripts.
Now the pipeline is

key pressed -> translated as key-combination -> gnome associate
key-combination with bash script -> inside the script there are
rmlsend commands -> rivendell plays.

It works but it is far from being elegant and sometimes it delays a bit :-(
How would you improve this?
...not sure I wrote in an understandable way.

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


Re: [RDD] Trouble With FLAC Files

2014-03-28 Thread Alessio Elmi
It should fix both cases.


2014-03-28 21:26 GMT+01:00 Rich Stivers :

>  No, I haven't tried that.  Many Thanks for the work-around tip!  I'm
> anxious to see how this works for me.
> That would fix the carts which report a length which is too long.
>
> Have you ever imported a FLAC file which resulted in a zero length?  Is
> there a work-around for that as well?
>
>
> Alessio Elmi said the following on 3/28/2014 13:07 PM:
>
> Unfortunately same story here (Debian).
> You can solve (for 99% of cases) by setting an autotrim value (like -50)
> in RDAdmin -> Host -> RDLibrary or directly in rdimport command.
> Have you already tried that?
>
>
> 2014-03-28 20:37 GMT+01:00 Rich Stivers :
>
>>  When I import FLAC files with RDLibrary, no error messages are
>> indicated but the
>> resulting cart list displays an incorrect playing time length for FLAC
>> files.
>> They are either zero playing time or a playing time way too large, such
>> as two
>> hours for a two minute file. I even tried the "mixdown" set of FLAC files
>> from
>> the Rivendell Project Download page, and those don't import correctly
>> either.
>>
>> My Rivendell workstation was built from the latest Paravel Broadcast
>> Appliance,
>> CentOS 6 with Rivendell 2.2.1. The FLAC file import problem exists with
>> 2.2.1.
>> I installed the latest Rivendell release, 2.8.1, but the FLAC import
>> problem is
>> still present. Mp3's and wav's import correctly.
>>
>> Anyone else having trouble importing FLAC? I want to determine whether or
>> not
>> this is actually a Rivendell bug, or perhaps a FLAC support library
>> problem.
>>
>> Thanks,
>> Rich Stivers
>> KKUP-FM 91.5
>> Cupertino, CA
>>
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
>>
>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Trouble With FLAC Files

2014-03-28 Thread Alessio Elmi
Unfortunately same story here (Debian).
You can solve (for 99% of cases) by setting an autotrim value (like -50) in
RDAdmin -> Host -> RDLibrary or directly in rdimport command.
Have you already tried that?


2014-03-28 20:37 GMT+01:00 Rich Stivers :

>  When I import FLAC files with RDLibrary, no error messages are indicated
> but the
> resulting cart list displays an incorrect playing time length for FLAC
> files.
> They are either zero playing time or a playing time way too large, such as
> two
> hours for a two minute file. I even tried the "mixdown" set of FLAC files
> from
> the Rivendell Project Download page, and those don't import correctly
> either.
>
> My Rivendell workstation was built from the latest Paravel Broadcast
> Appliance,
> CentOS 6 with Rivendell 2.2.1. The FLAC file import problem exists with
> 2.2.1.
> I installed the latest Rivendell release, 2.8.1, but the FLAC import
> problem is
> still present. Mp3's and wav's import correctly.
>
> Anyone else having trouble importing FLAC? I want to determine whether or
> not
> this is actually a Rivendell bug, or perhaps a FLAC support library
> problem.
>
> Thanks,
> Rich Stivers
> KKUP-FM 91.5
> Cupertino, CA
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Record Live Show

2014-03-28 Thread Alessio Elmi
Hi everybody,
I was looking for a guide on how setup correctly Rivendell so that
presenters can record their live shows. The idea is they manually add in
RDAirPlay playlist a START-REC macro cart at the begininng and a STOP-REC
after last song played in the show.
But how setup it properly?
1) I think enable a record deck in RDAdmin -> Host -> RDCatch (card:port)
2) Create audio cart (eg 123456) with an empty cut
3) Create start-rec macro cart "RS 1 123456 1 [max mS]!" (something like 2
hours?)
4) Create stot-rec macro cart "RR 1!"
It doesn't work... :-( ...empty cart (remains "red" in rdlibrary). Syslog
of 'ripcd' says it launches those start and stop carts.
Any idea?

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


Re: [RDD] UTF-8 characters in RLM updates [WAS: more segfaults errors [solved]]

2014-03-28 Thread Alessio Elmi
I tried that package and in particular I tested the rlm_filewrite plugin
(in Debian, VM).
I imported a cart in the Library with something like this as title
"çò@§àù+è*". I played it and the output file was ok!


2014-03-24 21:14 GMT+01:00 Fernando Della Torre :

> Hello Friends!
>
> It will be great!
>
> I've been very busy too, I hope I can test it next week.
>
> Regards!
>
>
>
>
> Atenciosamente,
>
>
>
> *Fernando Della Torre*
>
> Tecnologia da Informação
>
> (: +55 16 98137-1240
>
> (: +55 16 99137-2886
>
> *: *f...@vdit.com.br *
>
> V.D.I.T. Soluções em Virtualização
>
>
>
>
>
> A utilização deste e-mail não implica em autorização ou outorga de poderes
> para seu usuário praticar qualquer ato em nome das empresas citadas, cuja
> representação considera-se válida se praticada exclusivamente por
> representante legal ou procurador devidamente constituído, na forma
> estabelecida em seu respectivo estatuto ou contrato social
>
>
> 2014-03-24 11:51 GMT-03:00 Fred Gleason :
>
> On Mar 24, 2014, at 06:59 21, Alessio Elmi 
>> wrote:
>>
>> > Which modules need to be tested? AirPlay, Library, LogEdit? Even RLM
>> plugins?
>>
>> Mostly RDAirPlay's RLM functionality.  Turns out that we have 'issues'
>> with UTF-8 in a number of different spots (all of which I plan to be
>> addressing in coming weeks), but the specific one being addressed here is
>> particularly egregious in that it can cause RDAirPlay to crash.  Not good.
>>
>>
>> > Here in Italy we have some exotic letters, I can give you a feedback..
>>
>> Looking forward to it!
>>
>> Cheers!
>>
>>
>>
>> |-|
>> | Frederick F. Gleason, Jr. |   Chief Developer
>> |
>> |   |   Paravel Systems
>> |
>>
>> |-|
>> |  A room without books is like a body without a soul.
>>  |
>> | -- Cicero
>> |
>>
>> |-|
>>
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] UTF-8 characters in RLM updates [WAS: more segfaults errors [solved]]

2014-03-24 Thread Alessio Elmi
Which modules need to be tested? AirPlay, Library, LogEdit? Even RLM
plugins?
Here in Italy we have some exotic letters, I can give you a feedback..


2014-03-21 17:34 GMT+01:00 Fred Gleason :

> On Feb 28, 2014, at 03:59 56, Hoggins!  wrote:
>
> > That's too bad if we have to strip out accented characters. I guess it
> > is okay for english speaking radios, but imagine we, in France, have to
> > replace all accented characters ! Although the words remain
> > understandable, but as the manager of our station, I insist on having
> > the carts properly named, with caps, accents, etc. I couldn't imagine a
> > Czech radio.
> > So a thorough examination of what is needed to support "exotic"
> > characters is, in my opinion, really important.
>
> Ok, I think I've made some progress in getting this solved, but I need
> some testers who run setups that use these characters to confirm.  I've
> posted a test version at:
>
>
> http://www.rivendellaudio.org/ftpdocs/rivendell/tests/rivendell-2.8.1utf00.tar.gz
>
> that should properly handle multi-byte UTF-8 characters (e.g. 'ç', 'é', or
> 'ã').  It uses DB schema 234 and so should play nice with databases working
> under stock 2.8.x.
>
> Any takers?
>
> Cheers!
>
>
> |-|
> | Frederick F. Gleason, Jr. |   Chief Developer   |
> |   |   Paravel Systems   |
> |-|
> |  Beware of Programmers who carry screwdrivers.  |
> |  -- Leonard Brandwein   |
> |-|
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Fwd: Makefile patch suggestion

2014-03-23 Thread Alessio Elmi
I am an Archlinux user, outside the radio.
I tried Sebastien AUR Rivendell packages on my laptop and they work great.
Hope you consider his effort as I think Arch is ready to became a good
standard in audio applications environment.

Alessio


2014-03-23 22:04 GMT+01:00 Sébastien Leblanc :

> Since I did not get any feedback the first time I submitted this
> email, I am resubmitting it so that more people see it. The reason I
> am submitting this patch is so that the packaging process becomes more
> portable to Linux distributions other than the big fours
> (Debian/Ubuntu, Centos, Slackware, Gentoo).
>
> While this patch was explicitly engineered for the Arch Linux
> "makepkg" package building system, I believe it is of adequate
> portability to integrate it to the codebase and that it will probably
> benefit other distributions who have a similar build system.
>
> Note that one of these fixes (the "lib64" one, details in original
> post) needs to be factored out as I could not figure out a way to
> guess the conventions of a specific system (on Arch, there is no
> "lib64", but there is a "lib32" only on "multilib" systems, which are
> truly 64-bit systems that include 32-bit libraries for compatibility
> reasons; pure 32-bit systems will have a "lib" directory but no
> "lib32/64"). I would like some guidance or feedback on how to fix this
> once and for all.
>
>
> -- Forwarded message --
> From: Sébastien Leblanc 
> Date: 10 March 2014 02:35
> Subject: Makefile patch suggestion
> To: Rivendell Users Group 
>
>
> Hello all,
>
> I spent the last few hours tweaking the Makefiles in Rivendell so that
> it will compile seamlessly on Arch Linux systems.
>
> Attached is an unified diff-formatted patch to address some issues
> with the Makefile system.
>
> I made my changes in such a way that they should not affect other
> system, except for a few small details. Here is the list of
> modifications:
>
> ###
>
>   - cae/Makefile.am
> Problem: caed depends on pthread, but for some reason it does not
> get included.
> Solution: add -lpthread to "caed_LDADD" variable.
>
>
>   - configure.in:
> Problem: a lib path of "lib64" is forced for 64-bit systems. Some
> systems (e.g. Arch) keep "/usr/lib" as path for "default"
> architecture, and have a "lib32" directory instead for multilib
> installations.
>
> Solution: I am not an autotools expert and I could not devise a
> way to make it work for distributions that have "lib64" as a default
> for 64-bit systems. On Arch, the standard is lib/lib32 on 64-bit
> system and only "lib" on 32-bit. Other projects have defined an
> additional variable (LIB_SUFFIX) which is set by configure during
> compilation using "-DLIB_SUFFIX=64". This modification is therefore
> incompatible with 64-bit distros that have lib64 as the default lib
> path. This is a hack that should probably not be committed to repo.
>
>
>   - lib/Makefile.am
> Problem: libtool can't figure out that librd.la needs to be linked
> against some libraries
> Solution: specify those libraries manually, in "librd_la_LDADD"
>
>
>   - pam_rd/Makefile.am
> Problems: 1-  out-of-directory packaging breaks libtool as it
> tries to relink the library to a non-final directory, 2- installation
> path does not honor prefix. On my system, the PAM libraries are in
> /usr/lib/security/.
>
> Solution: specify "inst_prefix_dir" [1] and add $(prefix) to
> "inst_libdir".
>
>
>   - rdselect/Makefile.am
> Problem: multiple parallel job compilation (make -j) usually fails
> because it tries to "chmod" a file that was not yet installed
>
> Solution: rename target "install-exec-local" to "install-exec-hook".
> [2]
>
>
>   - {icons,rlm,scripts,web/rdxport,xdg}/Makefile.am
> Problem: $(DESTDIR) not set, making staged installs impossible
>
> Solution: add $(DESTDIR) accordingly. Note that I did not fix the
> "uninstall" counterparts as I did not need to.
>
>
>
> 1: https://www.gnu.org/software/libtool/manual/html_node/Install-mode.html
> 2: https://www.sourceware.org/autobook/autobook/autobook_108.html
>
> ##
>
> Comments and criticism are more than welcome.
>
> --
> Sébastien Leblanc
>
>
> --
> Sébastien Leblanc
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] GRID strange behaviour

2014-03-21 Thread Alessio Elmi
Ok, google is my friend :-)
Yeah you're right! That's the reason why!
Thank you again

Alessio


2014-03-21 11:55 GMT+01:00 Alessio Elmi :

> Interesting, thank you!
> 1) How can check which one I am using?
> 2) How do I change InnoDB to MyISAM?
>
>
> 2014-03-21 11:49 GMT+01:00 Gerrit van den Hanenberg  >:
>
> Hi,
>>
>> The Mysql tables are most likely using InnoDB this is the default for most
>> distributions now, but it can't handle tables with lots of columns like
>> SERVICES If you chance this table to MyISAM then it should work.
>>
>> Gerrit
>>
>> > Hi all!
>> > We're facing a strange behaviour in a new stand alone workstation. It's
>> a
>> > test machine, with Tryphon-provided Rivendell 2.7.0 (debian 32bit).
>> > At the moment we have only one clock, which should be replicated all
>> over
>> > the week.
>> > Problem is it doesn't save it more than 84 times per week. You can
>> assign
>> > all the week and save the grid, but when you reopen it only half week is
>> > associated. Is it normal? Is it a bug?
>> > We even tried with different clock but it doesn't work...
>> > Thank you in advance
>> >
>> > Alessio
>> > ___
>> > Rivendell-dev mailing list
>> > Rivendell-dev@lists.rivendellaudio.org
>> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>> >
>>
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] GRID strange behaviour

2014-03-21 Thread Alessio Elmi
Hi all!
We're facing a strange behaviour in a new stand alone workstation. It's a
test machine, with Tryphon-provided Rivendell 2.7.0 (debian 32bit).
At the moment we have only one clock, which should be replicated all over
the week.
Problem is it doesn't save it more than 84 times per week. You can assign
all the week and save the grid, but when you reopen it only half week is
associated. Is it normal? Is it a bug?
We even tried with different clock but it doesn't work...
Thank you in advance

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


[RDD] Newbie: Rivendell with external scheduler

2014-03-19 Thread Alessio Elmi
Hi everybody,
a friend of mine would like to use Rivendell in cooperation with PowerGold.
I found a lot of literature on how generate logs from external schedulers
so that they will be are compatible with Rivendell, but I didn't find
anything on the other way. How can PowerGold (just to name one of them)
keep in synch with Rivendell database? Did anyone of you already prepared a
script fro that?
Thank you

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


[RDD] RDimport temporary file

2014-03-12 Thread Alessio Elmi
Hi,
I was facing a strange behaviour during rdimport. I was importing a
huge wave file, about 1:30h almost 1 GB, when suddenly the process
used all the free space on the hard disk. At first I panicked but
after deleting something not important I completed my task.
But the questions remain:
1) Where does this temporary file is stored? /tmp, /var or /home ?
2) Why does it require much more than the size of the plain wave file
(stereo 16 bit) I need to import?
Not a big deal, I am just curious :-)

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


[RDD] Rivendell Startup script after login

2014-03-10 Thread Alessio Elmi
Hi everybody,
I have problems about writing a script which takes place after login.

Basically I rely on /etc/init.d/rivendell only to proper making
/var/run/rivendell but I want everything else being after logging in
gnome.

Therefore I wrote a file startup.sh which is recalled by "Startup
Application" menu in gnome. It is responsible of starting Jackd,
launching RDAirPlay (and RD daemons) and play the first track of the
loaded log. Something like this

#!/bin/bash
/usr/bin/jackd -R -ddummy -r44100 &
sleep 5
/usr/bin/rdairplay &
sleep 5
/usr/bin/rmlsend PN\ 1\!

It needs to be extended with other applications (processing, encoder,
stream etc) but it fails in "rmlsend" step. Can you guess why? If I
give that last line in the terminal it works ok, but it fails during
startup process.
I added 'echo' for debugging and I know it reaches that last line. It
simply doesn't produce results.
Can you help me?

Thank you

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


Re: [RDD] OT Open OB

2014-03-05 Thread Alessio Elmi
The author himself, J. Harrison reads this newsletter...
He works in BBC R&D now!
Cheers!

Alessio

2014-03-05 3:17 GMT+01:00 Lee Baker :
> Hi All, I know this is off topic but thought it may be of interest to some
> you.
>
>
>
> I came across this https://github.com/JamesHarrison/openob through a
> colleague of mine who used this at their community radio station here in aus
> for their OBs.
>
>
>
> It's an open source STL basically which used the Opus codec and works very
> reliably.
>
>
>
> Has many uses and for those looking to build an STL on the cheap, this is
> for you.
>
>
>
> Cheers
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Look what the cat dragged in....

2014-02-17 Thread Alessio Elmi
Dan,
I do agree, like most of you, that peak normalization is not a good
volume balancer along the whole catalog. Nevertheless it's a simple
strategy in avoiding clipping.
I think that many Rivendell users kept the default -12 dB peak
normalization, without tuning this value according to the loudness of
the song.
I am far from being an expert on this field, but I think that once the
risk of clipping has been avoided, a good 'modus operandi' would be
leveling the catalog volume according the loudness, and in particular
with the Ebu128 standard.
Considering I have already imported some thousands of tracks, all with
the default -12 norm, I was thinking of using the gain value in the
cut table to pimp a bit those tracks with high dynamics which suffered
from the peak normalization more than others.
Can you think it is a good strategy? If I am not wrong only values in
the range of +/- 6dB are accepted in that field.

Alessio

2014-02-16 21:10 GMT+01:00 Fred Gleason :
> On Feb 16, 2014, at 14:26 27, Dan Mills  wrote:
>
>> Looks like I might be once again working in broadcast in the not too
>> distant future (Mostly SDI video toys rather then audio this time), so
>> I thought I had better re up, life happened as it so often does
>
> Hey Dan, welcome back!
>
>
>> Fred, would you take a patch to make the normalization use the R.128
>> loudness estimation method rather then the rather simple minded
>> measure it uses at present, it should make for much more even loudness
>> across cuts? The spec does not look hard to implement, but it would
>> really benefit from the meter having a Loudness unit mode as well as
>> VU.
>> This would among other things make for much better leveling between
>> compressed music and speech cuts.
>>
>> I think I can cook up a measurement code that can be included in the
>> source so removing the library dependencies issue.
>
> It sounds good.  Does this mean that we'd wind up with compliant meters as 
> well?  That'd be sweet.
>
>
>> I figure an extra entry in the cuts table with the computed LU value,
>> and probably a target level in the groups table so that different
>> things can be trimmed to slightly different average loudness levels
>> (Naughty, but someone is going to want to go there).
>
> Is there a reason we shouldn't keep the current normalization target scheme 
> (a system-wide default, with the ability to override that on a one-off basis)?
>
> Cheers!
>
>
> |-|
> | Frederick F. Gleason, Jr. |   Chief Developer   |
> |   |   Paravel Systems   |
> |-|
> |  A room without books is like a body without a soul.|
> | -- Cicero   |
> |-|
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell with Creative SB0880 Sound Card?

2014-02-11 Thread Alessio Elmi
Are you sure the name under asound.conf is the correct one?
If you do aplay -l it gives you the right device name.


2014-02-11 22:40 GMT+01:00 WWNL Radio (AM-1080) :

>
> I'm using Alsa.  PulseAudio is disabled.
>
> Here's the output of caed -d
>
> studio@studio1:~$ caed -d
> caed: Starting ALSA Play Device rd0:
> caed:   Format = 16 bit little-endian
> caed:   SampleRate = 44100
> caed:   Aggregate Channels = 8
> caed:   Periods = 5
> caed:   BufferSize = 5120 frames
> caed:   Device started successfully
> caed: Starting ALSA Capture Device rd0:
> caed:   Format = 16 bit little-endian
> caed:   SampleRate = 44100
> caed:   Aggregate Channels = 2
> caed:   Periods = 5
> caed:   BufferSize = 5120 frames
> caed:   Device started successfully
> caed: Starting ALSA Play Device rd1:
> caed:   Format = 16 bit little-endian
> caed:   SampleRate = 44100
> caed:   Aggregate Channels = 8
> caed:   Periods = 4
> caed:   BufferSize = 4096 frames
> caed:   Device started successfully
> caed: Starting ALSA Capture Device rd1:
> caed:   Format = 16 bit little-endian
> caed:   SampleRate = 44100
> caed:   Aggregate Channels = 2
> caed:   Periods = 4
> caed:   BufferSize = 4096 frames
> caed:   Device started successfully
> ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM rd2
> ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM rd2
> unable to communication with JACK server
> caed: unable to communicate with JACK server
> JACK general failure
> caed: JACK general failure
> no connection to JACK server
> caed: no connection to JACK server
> caed: Found TwoLAME encoder library, MPEG L2 encoding supported
> caed: Found MAD decoder library, MPEG L2 decoding supported
> caed: using realtime scheduling, priority=8
> caed: cae started
> caed: period size mismatch - wrote 11
> caed: *** alsa error 5: Input/output error
> caed: *** alsa error 5: Input/output error
> caed: *** alsa error 5: Input/output error
>
> Speaker test came out normal.
>
> I can get the sound cards to both play and record using Audacity; I just
> can't get them to work with Rivendell.
>
> If it matters:  These cards are PCI Express cards. . .
> Creative Sound Blaster X-Fi SB0880.
>
> The onboard audio works in Rivendell fine.
> I've taken the hard drive and put it in other systems, and it works fine
> with other sound cards (just PCI, not PCI Express).
>
>
>
> __
>>
>> Fred Brucker
>> Station Manager
>>
>>
>>
>> 5316 William Flynn Highway * Suite 3N
>> Gibsonia, PA  15044
>> Phone:  (724) 443-4844
>> E-mail:  w...@wilkinsradio.com
>> Web:  www.wilkinsradio.com
>>
>>
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
>>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell with Creative SB0880 Sound Card?

2014-02-11 Thread Alessio Elmi
Do you use ALSA or JACK? Can you give the output of:
- caed -d
- speaker-teast D hw: -c 2
(be sure no other application or audio serve like pulseaudio is using the
card)

Alessio



2014-02-10 23:26 GMT+01:00 WWNL Radio (AM-1080) :

>
> Hi, all. . .
>
> Having problems getting Rivendell to play nice with a Creative SB0880
> Sound Card.  The card works in all other aspects of the operating system.
>
> I tried getting things to work with RD 2.5.1 and with RD 2.7.0.
> Using Lubuntu 12.04.
>
> Any insight?
>
> __
>
> Fred Brucker
> Station Manager
>
>
>
> 5316 William Flynn Highway * Suite 3N
> Gibsonia, PA  15044
> Phone:  (724) 443-4844
> E-mail:  w...@wilkinsradio.com
> Web:  www.wilkinsradio.com
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell-dev Digest, Vol 10, Issue 1

2014-02-02 Thread Alessio Elmi
Everyone has his own needs.. but I would suggest to import a stereo catalog
in case some day you decide to go stereo. Set up all the catalog is really
a time/energy demanding task and I would avoid to do it twice.
I would prefer generating mono sound on-the-fly...

Alessio


2014-02-01 Fred Gleason :

> On Feb 1, 2014, at 12:08 31, Brandon Sossamon 
> wrote:
>
> > @Fred:  I rebuilt an old box that had SS32 on it.  All new guts but I
> kept the ASI6114!  That being said, I posed this question in an earlier
> email, I'm assuming Rivendell comes with the drivers for this card but does
> it also come with ASIControl?
>
> 'Rivendell' does not, but it will work with AudioScience hardware if it
> finds the appropriate driver (available at http://www.audioscience.com)
> loaded.  BroadcastAppliance (both versions) already includes this driver,
> so your ASI6114 should work 'right out of the box'.
>
> As for 'ASIControl', that's a Windows-only program.  It's functionality is
> handled directly by Rivendell (e.g. see RDAdmin->ManageHosts->AudioPorts
> and the RDHPIInfo applet).
>
>
> >  The reason I ask is I am running my station mono and would like to run
> the card in mono mode instead of building a bunch of resistive networks to
> knock it down.
>
> Just import your library as mono.  Later ASI cards (though IIRC not the
> ASI6114) also have the capability to mix stereo down to mono internally
> (see RDAdmin->ManageHosts->AudioPorts to configure).
>
>
> >  Also, I'm installing from the Appliance CD you gave me last JAN which
> is 1.0.0-x86_64.  After installing it on other machines, it looks like RD
> upgrades to v.2 with updates but keeps the KDE3 and CentOS 5.
>
> v1 of the Appliance installs Rivendell v2.0.1.  An upgrade will take it to
> the 'current' version (v2.7.0 as of this writing).
>
> Cheers!
>
>
> |-|
> | Frederick F. Gleason, Jr. |   Chief Developer   |
> |   |   Paravel Systems   |
> |-|
> |  A room without books is like a body without a soul.|
> | -- Cicero   |
> |-|
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] First Steps Document

2014-01-31 Thread Alessio Elmi
Hi Brandon,
there's no unique way to set up things, as there may be many configurations
in response to the needs of every radio station.
Are you considering an independent stand-alone workstation or a networked
configuration (with a db and storage server and many clients)?
Do you need live/presenter interaction or just music rotation?

Alessio


2014-01-31 Brandon Sossamon :

> Thanks.  I've been on the wiki for quite some time studying up.  Like most
> wiki's it's vague in some places and detailed in others.  I hadn't seen the
> First Steps doc in quite some time so just wanted to make sure I wasn't
> missing anything.  I've had RD installed on 2 machines to play around with
> and learn.  I'm now installing it on a "pro" machine so I want to make sure
> all is done right.
> I apologize to all for the basic questions.  As mentioned before, Linux is
> new to me but so far I'm loving it.  Thanks for the help!
>
> --
> brandon sossamon
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to start daemons

2014-01-26 Thread Alessio Elmi
Yeah, much more elegant.


2014-01-26 Lorne Tyndale 

> Hi,
>
> I generally use the script that Frederick Henderson put together a few
> years ago.
>
>
> http://frederick.henderson-meier.org/2010/09/24/testers-need-for-rivendell-start-up-script-on-ubuntu-lucid/
>
> It goes in /etc/init.d/rivendell
>
> You might have to modify it to point to wherever your daemons get
> installed (when I compile from source, I end up with all the executables
> in /usr/local/bin/ so I modify the script to point to that).  It does a
> nice job of ensuring the /var/run/rivendell is created.  If you modify
> it then you can also have it pause to wait for jackd to start up before
> it'll start up the rivendell daemons.
>
> To get the script to start up every time you boot, you might need to
> first run:
>
> sudo update-rc.d rivendell defaults
>
> after you've copied the script to /etc/inti.d/rivendell
>
> Lorne Tyndale
>
>
> >
> >
> > Hello all,
> >
> > This is probably more of an Ubuntu thing than a Rivendell thing, but I
> > know how helpful you guys are so here's hoping!
> >
> > I'm having the above mentioned error message when starting any RD
> > application. The old trick of recreating /var/run/rivendell seems to
> > work but I have to do this every time the machine restarts. I found a
> > script on the list that was meant to recreate the folder and restore
> > permissions but couldn't get it to do the trick. Any suggestions why
> > this might be happening in the first place, and any way around it?
> >
> > Many thanks,
> > Tom Dawson
> > FANTASY RADIO
> > www.fantasyradio.co.uk
> > ___
> > Rivendell-dev mailing list
> > Rivendell-dev@lists.rivendellaudio.org
> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to start daemons

2014-01-26 Thread Alessio Elmi
This works form me... (in Debian, compiled from sources).
Create a rivendell-prestart.sh in /etc/init.d and set it executable (chmod
+x). This scripts has only the lines
#!/bin/bash
mkdir /var/run/rivendell
Then do
update-rc.d defaults rivendell-prestart.sh 100
It's a rough solution, but it does its job.

Alessio


2014-01-26 Tom Dawson 

> Hello all,
>
> This is probably more of an Ubuntu thing than a Rivendell thing, but I
> know how helpful you guys are so here's hoping!
>
> I'm having the above mentioned error message when starting any RD
> application. The old trick of recreating /var/run/rivendell seems to work
> but I have to do this every time the machine restarts. I found a script on
> the list that was meant to recreate the folder and restore permissions but
> couldn't get it to do the trick. Any suggestions why this might be
> happening in the first place, and any way around it?
>
> Many thanks,
> Tom Dawson
> FANTASY RADIO
> www.fantasyradio.co.uk
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Drag-and-drop wrapup

2014-01-23 Thread Alessio Elmi
Hello,
even though now I am used to "long-clic-sequences-operations" I think that
the ability to drag-as-move options would be great (it would basically be
the only use of drag and drop I would enable). In the same way you move
songs in Winamp-like audio players.
Anyway I feel everyday prouder and prouder of this community.

Alessio


2014/1/23 Hoggins! 

> Hello,
>
> That's exactly how I'm seeing it.
>
> Thanks !
>
> Le 23/01/2014 00:43, Fred Gleason a écrit :
> > Howdy Folks:
> >
> > A big thanks to every one who contributed to the recent threads about
> drag-and-drop in Rivendell.  I think some really good ideas have been put
> forth!
> >
> > Here’s the consensus as I’m understanding it and how I plan to proceed:
> >
> > 1) Add a control in RDAdmin->ManageHosts->[Hostname] to enable/disable
> the entire drag-and-drop system.  Disabling it would essentially restore
> operation to how it was before drag-and-drop was added in v2.6.1.  This
> could be configured on a host-by-host basis.
> >
> > 2) Add a control in RDAdmin->ManageHosts->[Hostname] to enable/disable
> drops on SoundPanels when not in ‘Setup’ mode.  *Drags* from SoundPanel
> buttons would continue to work as they do now in 2.7.0.  This would
> likewise by configured on a host-by-host basis, but would apply to *all*
> sound panels on that host.
> >
> > Am I understanding this correctly?
> >
> > Cheers!
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell 2.7.0

2014-01-21 Thread Alessio Elmi
Luigino, follow these instructions
http://www.tryphon.eu/en/blog/2012/10/19/rivendell-2.2.0-debian-ubuntu/


2014/1/21 Luigino Bracci 

> Hi Alban,
>
> Trying to install the packages with dpkg -i, I got dependency problems in
> Ubuntu Studio 12.04 64-bit (full output in http://pastebin.com/KsJMw1Xw):
>
> =
> dpkg: dependency problems prevent configuration of rivendell:
>  rivendell depends on libflac++6 (>= 1.3.0); however:
>   Version of libflac++6 on system is 1.2.1-6.
>  rivendell depends on libflac8 (>= 1.3.0); however:
>   Version of libflac8 on system is 1.2.1-6.
>  rivendell depends on libsoundtouch0 (>= 1.7.1-3~); however:
>   Version of libsoundtouch0 on system is 1.6.0-2build1.
> =
>
> Bye!
>
>
> 2014/1/21 Alban Peignier 
>
>> Hi all,
>>
>> Rivendell 2.7.0 packages for Debian and Ubuntu are available for review.
>>
>> See instructions on the dedicated wiki page : http://l.tryphon.eu/1751af
>>
>> Regards,
>> --
>> Alban Peignier - al...@tryphon.eu
>>
>> Tryphon : Radio, Web et Logiciels Libres
>> http://www.tryphon.eu
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Fwd: What reliable ALSA cards are you using?

2014-01-06 Thread Alessio Elmi
Echo as well could be an option. Something like Layla 24/96 (PCI) would
really be deal (2nd hand, around 100€ or less in here).


2014/1/6 Robert Jeffares 

> I have M-Audio cards in 4 machines and a permanent search on ebay and the
> local trademe site.
>
> Thousands of these cards were sold to home recording enthusiasts who have
> moved on for various reasons, and they generally don't get a lot of
> attention so prices are low.
>
> They work with alsa, record and play, but you do have to remember to set
> 44100 because they default to 48,000.
>
>
> M-Audio 2496 has RCA In and Out and needs an external boost by about 20DB
> and they work in high RF locations [ 3 AM Tx]
>
> The 44 have balanced out but still need 20db to follow.
>
> Well worth the effort.
>
> Robert Jeffares
>
>
>
>
>
>
>
> On 07/01/14 08:16, Alan Smith wrote:
>
>> WOW, I have NOT been paying attention.
>> The MAudio recommendations are great, but are they even in production
>> anymore?  kind of scarce.
>>
>> It doing some "catch up" web research, did the sound card market just up
>> and die?  There isn't much available like there used to be.
>>
>> I'm not *opposed* to USB solutions, but have been bit in the past with
>> 24/7/365 operation reliability issues of USB devices, but maybe that is a
>> thing of the past...
>>
>> It seems to me there is a hole in the market for something more flexible
>> than on-board, yet not as expensive as ASI.  M-Audio was the perfect fit
>> for this market, but do they even make anything besides headphones
>> now-a-days?
>>
>> -Alan
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell daemons and user management, Debian 7

2013-11-28 Thread Alessio Elmi
Just for completing the story...
I setup a quick VM with Debian 7 and Rivendell compiled from sources..
After doing "update-rc.d rivendell defaults" this is what happens:

1) On reboot "ls -l /var/run/rivendell"
-rw-rw-r-- 1 rivendell root  caed.pid
-rw-r--r-- 1 root root ... jackd.pid (even though JACK_START="no")

2) If I do as 'root' "/etc/init.d/rivendell restart"
-rw-rw-r-- 1 rivendell root  caed.pid
-rw-r--r-- 1 root root ... jackd.pid
-rw-rw-r-- 1 root root .. rdcatchd.pid
-rw-rw-r-- 1 rivendell root . ripcd.pid

3) If I do a "/etc/init.d/rivendell stop" and (as 'alessio') "rdadmin"
-rw-rw-r-- 1 rivendell alessio  caed.pid
-rw-r--r-- 1 root root ... jackd.pid
-rw-rw-r-- 1 root alessio .. rdcatchd.pid
-rw-rw-r-- 1 rivendell alessio . ripcd.pid

Which is your configuration? Just to clear my mind.
Thank you

Alessio



2013/11/27 Alessio Elmi 

> Hi everybody,
> I have a question on how you manage Linux user related to Rivendell.
> My setup is Debian 7, with Rivendell 2.5.1 installed from Tryphon
> repositories.
>
> Like most of you usually do, I created a specific Linux account for
> Rivendell, 'rivendell' indeed. From a theoretical point of view, as Fred
> always said, this user should be responsible for all Rivendell activities
> and no human account could use it. It must be reported in /etc/rd.conf and
> it should be the owner of /var/snd (mod/own is 0775 rivendell:rivendell).
> I also have a /home/rivendell folder where scripts,reports or db-backups
> will be saved.
>
> My goal now is that Debian automatically logs in as 'guest', completely
> unprivileged Linux user. It doesn't belong to 'rivendell' group, and
> therefore it can't be able to edit /var/snd.
>
> For those who use Tryphon init scripts.
> /etc/default/rivendell -> all commented, does nothing (I want to use PAM)
> /etc/init.d/rivendell ->
> 
> if [ ! -d $PIDDIR ]; then
> install --directory --mode 04775 --owner=rivendell --group=rivendell
> /var/run/rivendell
> fi
> this creates the folder /var/run/rivendell (it works!) with mod/own
> 775 rivendell:rivendell as desired.
> Then it checks if I want to use PAM or INIT reading
> /etc/default/rivendell. As I said it's all commented, so it exits and does
> nothing.. (still no pid files/daemons are up)
>
> Now the interesting part. When I run RD application from the desktop (user
> 'guest') it tries to write its 3 pids in /var/run/rivendell (created with
> the ownership of rivendell) and it fails. But:
> 1) If I chmod 777 /var/run/rivendell it creates daemons -> but under owner
> 'guest', which is bad!
> 2) I need to do:
> su rivendell (enter)
> psw (enter)
> caed (enter)
> ripcd (enter)
> rdcatchd (enter)
> Now I can launch RD application with 'guest' user and it works...
> Is this behaviour correct? Would it more correct that each RD application
> could write 3 pid files under the ownership of 'rivendell'?
> How do you manage user permissions and startup daemons?
> Thank you
>
> Alessio
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Rivendell daemons and user management, Debian 7

2013-11-27 Thread Alessio Elmi
Hi everybody,
I have a question on how you manage Linux user related to Rivendell.
My setup is Debian 7, with Rivendell 2.5.1 installed from Tryphon
repositories.

Like most of you usually do, I created a specific Linux account for
Rivendell, 'rivendell' indeed. From a theoretical point of view, as Fred
always said, this user should be responsible for all Rivendell activities
and no human account could use it. It must be reported in /etc/rd.conf and
it should be the owner of /var/snd (mod/own is 0775 rivendell:rivendell).
I also have a /home/rivendell folder where scripts,reports or db-backups
will be saved.

My goal now is that Debian automatically logs in as 'guest', completely
unprivileged Linux user. It doesn't belong to 'rivendell' group, and
therefore it can't be able to edit /var/snd.

For those who use Tryphon init scripts.
/etc/default/rivendell -> all commented, does nothing (I want to use PAM)
/etc/init.d/rivendell ->

if [ ! -d $PIDDIR ]; then
install --directory --mode 04775 --owner=rivendell --group=rivendell
/var/run/rivendell
fi
this creates the folder /var/run/rivendell (it works!) with mod/own 775
rivendell:rivendell as desired.
Then it checks if I want to use PAM or INIT reading /etc/default/rivendell.
As I said it's all commented, so it exits and does nothing.. (still no pid
files/daemons are up)

Now the interesting part. When I run RD application from the desktop (user
'guest') it tries to write its 3 pids in /var/run/rivendell (created with
the ownership of rivendell) and it fails. But:
1) If I chmod 777 /var/run/rivendell it creates daemons -> but under owner
'guest', which is bad!
2) I need to do:
su rivendell (enter)
psw (enter)
caed (enter)
ripcd (enter)
rdcatchd (enter)
Now I can launch RD application with 'guest' user and it works...
Is this behaviour correct? Would it more correct that each RD application
could write 3 pid files under the ownership of 'rivendell'?
How do you manage user permissions and startup daemons?
Thank you

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


  1   2   3   >