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 <rich...@gorbutt.com>:
> 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 <alessio_e...@hotmail.com>
> 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 <druidl...@gmail.com> 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 <alessio_e...@hotmail.com>
>>> 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 <alessio_e...@hotmail.com>
>>>>>>> > 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/000075_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: 100000  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

Reply via email to