Skip to content

Commit

Permalink
[Fix] Peertube Ontology: add some Video, Person and Link attributes, …
Browse files Browse the repository at this point in the history
…and new Infohash type
  • Loading branch information
landrok committed Apr 3, 2024
1 parent 610252e commit d5540ee
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/ActivityPhp/Type/Ontology/Peertube.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,14 @@ abstract class Peertube extends OntologyBase
'waitTranscoding', 'state', 'commentsEnabled', 'support',
'subtitleLanguage', 'likes', 'dislikes', 'shares',
'comments', 'licence',
'downloadEnabled', 'originallyPublishedAt'
'downloadEnabled', 'originallyPublishedAt',
'url', 'isLiveBroadcast', 'liveSaveReplay', 'permanentLive',
'latencyMode'
],
'Image' => ['width', 'height'],
'Link' => ['fps', 'mimeType', 'size' ],
'Link' => ['fps', 'mimeType', 'size', 'tag' ],
'Hashtag' => ['type'],
'Person|Group' => ['uuid', 'publicKey', 'playlists'],
'Infohash' => ['name'],
'Person|Group' => ['uuid', 'publicKey', 'playlists', 'icons'],
];
}

0 comments on commit d5540ee

Please sign in to comment.