Code Monkey home page Code Monkey logo

Comments (4)

sagiadinos avatar sagiadinos commented on May 25, 2024

Hello JF,

I am uncertain if I understood what you mean with "datetime interpretation of repeating".

There is a "begin" and "end" attribute in SMIL. There you can trigger repeats based on datetime (wallclock).
http://www.a-smil.org/index.php/Wallclock
https://www.w3.org/TR/SMIL3/smil-timing.html#q31

In the garlic-palyer /test/data/smil/ directory you will find some examples like this here:
https://github.com/sagiadinos/garlic-player/blob/master/tests/data/smil/par/5_wallclock.smil

Hope this helps.

from garlic-player.

jf133 avatar jf133 commented on May 25, 2024

Hi Niko -- I was essentially asking for a way to convert ical's repeat rule into the wallclock format to understand format for smil.

for example: DTSTART:20211220T020000Z
RRULE:FREQ=WEEKLY;UNTIL=20220131T120000Z;COUNT=30;INTERVAL=1;WKST=MO would translate smartly into wallclock. I see there's a library to do ical->rrule implemntation here https://jakubroztocil.github.io/rrule/

Is there such a thing that smil can accept?

from garlic-player.

jf133 avatar jf133 commented on May 25, 2024

I'm going to try to use the Wall clock conversion.

Thank you
JF

from garlic-player.

sagiadinos avatar sagiadinos commented on May 25, 2024

Oh, I overseen this.

Is there such a thing that smil can accept?

Yes, As I understand, wallclock and the repeat periods cover this. Periods have the same syntax as time intervals of the iso-8601 date.
e.g.
P1Y2M10DT2H30M

from garlic-player.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.