Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Room metadata: add keywords + default recording/streaming setting #128

Open
saerdnaer opened this issue Sep 22, 2023 · 1 comment
Open

Comments

@saerdnaer
Copy link
Member

saerdnaer commented Sep 22, 2023

[…]

Auf Raum Ebene brauchen wir wie von cyroxx in https://git.cccv.de/hub/hub/-/issues/373 und in pretalx/pretalx#1571 vorgeschlagen auf dem Raum ein Feld das den default Zustand für das Event vorgibt. Ich weiß nicht 100%ig das da ein Boolean Feld reicht, sondern wäre eher für zwei Freitext Feld mit Dropdown Vorschlägen "Events in this room"

recordings

  • will probably not be recorded
  • will not be not recorded
  • will be recorded

livestream

  • will be live-streamed
  • will not be live-streamed

+ ggf. relive aber ich glaube das will man sich nicht auch noch antun...

Im schedule.xml könnte man das wie folgt da stellen:

<schedule>
  <day date="2016-12-27" end="2016-12-28T04:00:00+01:00" index="1" start="2016-12-27T10:00:00+01:00">
    <room name="Saal 6" recordings="yes" livestream="https://streaming.media.ccc.de/33c3/saal1" keywords="foo bar baz">
      <event guid="c06dd4c2-c637-445d-9c72-92204a35eeff" id="8264">
        <date>2016-12-27T20:30:00+01:00</date>
        <start>20:30</start>
        <duration>01:00</duration>
        <room>Saal 6</room>
        <slug>33c3-8264-netzpolitik_in_der_schweiz_2016</slug>
        <url>https://fahrplan.events.ccc.de/congress/2016/Fahrplan/events/8264.html</url>
        <recording>
          <url>https://media.ccc.de/v/33c3-8264-netzpolitik_in_der_schweiz_2016</url>
          <license>CC BY 4.0</license>
          <optout>false</optout>
        </recording>
        …
      </event>
    </room>
    <room name="Podcast Tisch" recordings="audio only" livestream="https://live.sendezentrum.de/33c3"> … </room>
    <room name="Workshop Raum 1" recordings="no" livestream="no"> … </room>       

Und der vollständigkeit halber – im Schedule JSON sieht die Serialisierung aktuell leider komplett anders aus:

{
  "schedule": {
    "version": "Voltron",
    "base_url": "https://fahrplan.events.ccc.de/congress/2018/Fahrplan/",
    "conference": {
      "acronym": "35c3",
      "title": "35th Chaos Communication Congress",
      "start": "2018-12-27",
      "end": "2018-12-30",
      "daysCount": 4,
      "timeslot_duration": "00:10",
      "rooms": [
        {
          "name": "Saal 6",
          "guid": "691e97a8-0b0c-4992-9aaf-5d289ec2fe7a",
          "description": null,
          "capacity": 300,
          "recordings": "yes",
          "livestream": "https://streaming.media.ccc.de/33c3/saal1",
          "keywords":  ["foo", "bar", "baz"]
        },
        {
          "name": "Podcast Tisch",
          "guid": null,
          "description": "Buchung im Sendegate",
          "capacity": 15,
          "recordings": "audio only",
          "livestream": "https://live.sendezentrum.de/33c3"
        },
        {
          "name": "Workshop Raum 1",
          "guid": "8d5e3c9a-3df0-407b-a203-2dd8f911a927",
          "description": "Workshop Room",
          "capacity": 90,
          "recordings": false,
          "livestream": null
        }
        
      ],
      "days": [
        {
          "index": 1,
          "date": "2018-12-27",
          "day_start": "2018-12-27T11:00:00+01:00",
          "day_end": "2018-12-28T03:00:00+01:00",
          "rooms": {
            "Saal 6": [
              {
                "url": "https://fahrplan.events.ccc.de/congress/2018/Fahrplan/events/9590.html",
                "id": 9590,
                "guid": "c94fde2e-b5db-48f2-b94f-872ce7405875",
                "logo": "/system/events/logos/000/009/590/large/swiss-flag_001.jpg?1545082519",
                "date": "2018-12-28T20:50:00+01:00",
                "start": "20:50",
                "duration": "00:40",
                "room": "Saal 6",
                "slug": "35c3-9590-schweiz_netzpolitik_zwischen_bodensee_und_matterhorn",
                "type": "lecture",
                "language": "de",
                "recording_license": "CC BY 4.0",
                "do_not_record": false,
                
              }

see also:

@saerdnaer
Copy link
Member Author

saerdnaer commented Dec 11, 2024

Teile davon wurden jetzt in 1dc5492#diff-656ebcc477e2c3f90bc897b24d93e574e2f7748743d7811e4a1f4c827c929813R462-R471 umgesetzt

"RoomFeatures": {
"type": "object",
"additionalProperties": true,
"properties": {
"recording": {
"type": "string",
"enum": ["record_by_default", "not_recorded_by_default", "recording_forbidden", "recording_not_possible", "unknown"]
}
}
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant