Mircea, I put the pull request on GitHub to allow the filename to contain 
date/time wildcards:

https://github.com/ElvishArtisan/rivendell/pull/197 
<https://github.com/ElvishArtisan/rivendell/pull/197>

I created an issue for millisecond/second problem to get some feedback:

https://github.com/ElvishArtisan/rivendell/issues/196

Hopefully we will get some feedback.

Patrick

—
Patrick
patr...@scnv.net



> On Jan 31, 2018, at 6:49 AM, Mircea Paun <mircea.p...@gmail.com> wrote:
> 
> Sounds good! 
> I think it will be difficult to get that (played) time in the naw & next 
> module ...
> Tell me if you succeed.
> I wish you inspiration and thank you very much!
> mIRCea
> 
> On Wed, Jan 31, 2018 at 1:07 AM, Patrick <patr...@scnv.net 
> <mailto:patr...@scnv.net>> wrote:
> I'll start looking at this. I'll hopefully have something early next week.
> 
> Patrick
> 
> —
> Patrick
> patr...@scnv.net <mailto:patr...@scnv.net>
> 
> 
> 
>> On Jan 30, 2018, at 3:02 AM, Mircea Paun <mircea.p...@gmail.com 
>> <mailto:mircea.p...@gmail.com>> wrote:
>> 
>> Hi Patrick!
>> Programmers makes the World go round and round :-) !
>> So the rlm...
>> With rlm_filewrite.conf I can have almost all.
>> But not the played time and the date stamp on filename log.
>> These two options I need additionally on rlm_filewrite module.
>> This new module can be named "rlm_stirlitz.
>> Will certainly appreciated by other users in the future and will appear even 
>> at Stirlitz page 
>> as Rivendell supports integration with Stirlitz.
>> So I think it's a good thing.
>> ps 
>> played time must be in seconds with 1, 2 or 3 digits after the separator.
>> (for example: 6.1 6.12 6.124). 
>> Milliseconds alone are not supported.
>> 
>> On Tue, Jan 30, 2018 at 3:03 AM, Patrick <patr...@scnv.net 
>> <mailto:patr...@scnv.net>> wrote:
>> What is the format string you're using now? Or would you mind sending me 
>> your rlm_filewrite.conf file?
>> 
>> I've been a programmer for many years. I'm a firefighter now, but I still 
>> like to tinker with programming in my spare time.
>> Rivendell is written in C and C++. I know C quite well and fake it in C++. 
>> For me, the most difficult part of contributing
>> to the Rivendell open source project is getting familiar with Github and Git.
>> 
>> I started off building a development environment in a VM on my Mac. I now 
>> have a standalone computer with an
>> ASI card in it and have submitted a few pull requests in the past couple of 
>> weeks, mostly bug fixes.
>> 
>> I've only written one RLM, which was to send now/next data to TuneIn. There 
>> I just copied and modified the rlm_icecast
>> plugin.
>> 
>> Based on what I've seen so far, we need to add some tags, like "%a" for 
>> artist, to provide the information you need.
>> That is handled by lib/rdnownext.cpp which is part of Rivendell's core 
>> library.
>> 
>> Patrick
>> 
>> —
>> Patrick
>> patr...@scnv.net <mailto:patr...@scnv.net>
>> 
>> 
>> 
>>> On Jan 29, 2018, at 2:57 PM, Mircea Paun <mircea.p...@gmail.com 
>>> <mailto:mircea.p...@gmail.com>> wrote:
>>> 
>>> Hi Patrick!
>>> GREAT !
>>> 
>>> Filename example: 20180130.log, something like %Y%m%d.log
>>> And the from the cart field is Artist, Title, and all other ...Album, 
>>> Compose 
>>> The exact content is :
>>> 
>>> starttime;length_played;title;artist;group
>>> Example:
>>> 01:31:22;222;LET'S DANCE;DAVID BOWIE;Music
>>>        
>>> in my example running play is in seconds.
>>> but I think there is no problem if is miliseconds.
>>> I obtained some results with mysql querry fro ("Service"_SRT.TITLE, 
>>> CART.FORCED_LENGTH) :
>>> "14:34:06";"5216";"Who You Are";"Mihail";"Who You Are";"214700";"Music"
>>> 
>>> if it's not too much and too hard to explain, maybe you can tell me two 
>>> words about how you did.
>>> I have idea but I want to learn something from that.
>>> Thanks!
>>> 
>>> M I R C E A   P A U N
>>> ra...@radiocafe.ro <mailto:mircea.p...@radiocafe.ro>
>>> mircea.p...@gmail.com <mailto:mircea.p...@gmail.com>
>>> 
>>> 
>>> 
>>> 
>>>> On 29 Jan 2018, at 22:53, Patrick <patr...@scnv.net 
>>>> <mailto:patr...@scnv.net>> wrote:
>>>> 
>>>> Mircea, I can possibly do this for you. Is "length_played" supposed to the 
>>>> length of the cart/cut that played
>>>> and do you have the format they want the date and time in?
>>>> 
>>>> Patrick
>>>> 
>>>> —
>>>> Patrick
>>>> patr...@scnv.net <mailto:patr...@scnv.net>
>>>> 
>>>> 
>>>> 
>>>>> On Jan 29, 2018, at 9:43 AM, Mircea Paun <mircea.p...@gmail.com 
>>>>> <mailto:mircea.p...@gmail.com>> wrote:
>>>>> 
>>>>> Hello again!
>>>>> Does anyone use Stirlitz integrated with Rivendell?
>>>>> This is a very interested logger with many useful options. 
>>>>> I need to create a text file with date format name and the following 
>>>>> fields:
>>>>> Startime;length_played;Title;Artist;Group
>>>>> I try with rlm_filewrite.
>>>>> It works but no "length_played" and no date stamp on writed filename.
>>>>> I think it appears in mysql at  "_SRT`.TITLE, CART.FORCED_LENGTH" ?
>>>>> Fred wrote somewhere that it's easy to compile your own module.
>>>>> If you have some patience and know what you are doing :-))) 
>>>>> Somebody ?
>>>>> Thanks!
>>>>> 
>>>>> M I R C E A   P A U N
>>>>> ra...@radiocafe.ro <mailto:ra...@radiocafe.ro>
>>>>> mircea.p...@gmail.com <mailto:mircea.p...@gmail.com>
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Rivendell-dev mailing list
>>>>> Rivendell-dev@lists.rivendellaudio.org 
>>>>> <mailto:Rivendell-dev@lists.rivendellaudio.org>
>>>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev 
>>>>> <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