@saooti/octopus-sdk 41.0.11-SNAPSHOT → 41.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -1
- package/plateform.conf +1 -1
- package/src/App.vue +3 -7
- package/src/api/classicApi.ts +1 -1
- package/src/components/composable/player/usePlayerLive.ts +2 -2
- package/src/components/composable/radio/usefetchRadioData.ts +29 -12
- package/src/components/display/categories/CategoryChooser.vue +4 -0
- package/src/components/display/comments/CommentList.vue +1 -1
- package/src/components/display/emission/EmissionList.vue +1 -1
- package/src/components/display/live/RadioCurrently.vue +2 -5
- package/src/components/display/participant/ParticipantList.vue +1 -1
- package/src/components/display/playlist/PlaylistList.vue +1 -1
- package/src/components/display/podcasts/PodcastList.vue +1 -1
- package/src/components/display/podcasts/PodcastPlayButton.vue +4 -1
- package/src/components/display/sharing/PlayerParameters.vue +0 -8
- package/src/components/display/sharing/SharePlayer.vue +0 -5
- package/src/components/display/sharing/SubscribeButtons.vue +4 -2
- package/src/components/form/ClassicInputText.vue +3 -0
- package/src/components/form/ClassicMultiselect.vue +36 -8
- package/src/components/misc/ClassicAccordion.vue +4 -4
- package/src/components/misc/ClassicSpinner.vue +1 -1
- package/src/components/misc/HomeDropdown.vue +3 -110
- package/src/components/misc/MobileMenu.vue +59 -64
- package/src/components/misc/TopBar.vue +4 -11
- package/src/components/misc/TopBarMainContent.vue +0 -2
- package/src/components/misc/UserButtonContent.vue +159 -0
- package/src/components/misc/player/elements/PlayerImage.vue +0 -1
- package/src/components/misc/player/elements/PlayerTitle.vue +3 -3
- package/src/components/misc/player/radio/RadioHistory.vue +3 -2
- package/src/components/misc/player/video/PlayerVideo.vue +2 -2
- package/src/components/pages/PageLogout.vue +1 -6
- package/src/components/pages/PodcastPage.vue +0 -1
- package/src/components/pages/VideoPage.vue +5 -2
- package/src/locale/de.ts +3 -3
- package/src/locale/en.ts +3 -3
- package/src/locale/es.ts +3 -3
- package/src/locale/fr.ts +3 -3
- package/src/locale/it.ts +3 -3
- package/src/locale/sl.ts +3 -3
- package/src/stores/FilterStore.ts +1 -1
- package/src/stores/PlayerStore.ts +6 -1
- package/src/stores/class/conference/conference.ts +2 -0
- package/src/stores/class/general/player.ts +2 -2
- package/src/style/_variables.scss +6 -0
- package/src/style/general.scss +18 -1
- package/src/helper/radio/radioHelper.ts +0 -15
package/src/locale/sl.ts
CHANGED
|
@@ -142,8 +142,8 @@ export default {
|
|
|
142
142
|
"Sort score": "Razvrščeno po relevantnosti",
|
|
143
143
|
"Sort name": "Naslov",
|
|
144
144
|
"Sort last": "Zadnje",
|
|
145
|
-
"Choose color": "
|
|
146
|
-
"Choose theme": "
|
|
145
|
+
"Choose color": "Poudarjena barva",
|
|
146
|
+
"Choose theme": "Tema (ozadje igralca)",
|
|
147
147
|
"Podcast no visible": "Podkast je skrit",
|
|
148
148
|
"Display episodes": "Prikaži epizode",
|
|
149
149
|
"Podcast published in future": "Podkast bo objavljen v prihodnje",
|
|
@@ -163,7 +163,6 @@ export default {
|
|
|
163
163
|
"open left Menu": "Meni odpri/zapri",
|
|
164
164
|
Participant: "Sodelujoči",
|
|
165
165
|
"Number of player podcasts": "Število podkastov v predvajalniku",
|
|
166
|
-
"Proceed reading": "Nadaljuj s poslušanjem",
|
|
167
166
|
"Without topic": "Brez teme",
|
|
168
167
|
"Without rubric": "Brez rubrike",
|
|
169
168
|
"Consider podcasts no visible": "Občinstvu skriti podkasti",
|
|
@@ -406,4 +405,5 @@ export default {
|
|
|
406
405
|
"Code copied!":"Koda kopirana!",
|
|
407
406
|
"Copied!":"Kopirano!",
|
|
408
407
|
"Color of the QR Code": "Barva kode QR",
|
|
408
|
+
"Silent stream":"Tihi tok",
|
|
409
409
|
}
|
|
@@ -52,7 +52,7 @@ export const useFilterStore = defineStore("FilterStore", {
|
|
|
52
52
|
this.filterRubrique = rubriqueFilter;
|
|
53
53
|
},
|
|
54
54
|
filterUpdateRubriqueDisplay(rubriques: Array<Rubrique>) {
|
|
55
|
-
this.filterRubriqueDisplay = rubriques;
|
|
55
|
+
this.filterRubriqueDisplay = rubriques.filter(rubrique=> rubrique);
|
|
56
56
|
},
|
|
57
57
|
filterUpdateMedia(filter: {
|
|
58
58
|
type?: string;
|
|
@@ -32,6 +32,7 @@ interface PlayerState {
|
|
|
32
32
|
playerChaptering?: Chaptering;
|
|
33
33
|
playerDelayStitching: number;
|
|
34
34
|
playerHlsUrl?: string;
|
|
35
|
+
playerHlsIdentifier?:string;
|
|
35
36
|
}
|
|
36
37
|
export const usePlayerStore = defineStore("PlayerStore", {
|
|
37
38
|
state: (): PlayerState => ({
|
|
@@ -49,6 +50,7 @@ export const usePlayerStore = defineStore("PlayerStore", {
|
|
|
49
50
|
playerVideo: false,
|
|
50
51
|
playerChaptering: undefined,
|
|
51
52
|
playerDelayStitching: 0,
|
|
53
|
+
playerHlsIdentifier: undefined,
|
|
52
54
|
}),
|
|
53
55
|
getters: {
|
|
54
56
|
playerChapteringPercent(): ChapteringPercent | undefined {
|
|
@@ -146,6 +148,7 @@ export const usePlayerStore = defineStore("PlayerStore", {
|
|
|
146
148
|
this.playerPodcast = undefined;
|
|
147
149
|
this.playerMedia = undefined;
|
|
148
150
|
this.playerLive = undefined;
|
|
151
|
+
this.playerHlsIdentifier = undefined;
|
|
149
152
|
this.playerRadio = undefined;
|
|
150
153
|
this.playerElapsed = 0;
|
|
151
154
|
this.playerVideo = false;
|
|
@@ -168,6 +171,7 @@ export const usePlayerStore = defineStore("PlayerStore", {
|
|
|
168
171
|
this.playerPodcast = undefined;
|
|
169
172
|
this.playerMedia = undefined;
|
|
170
173
|
this.playerLive = undefined;
|
|
174
|
+
this.playerHlsIdentifier = undefined;
|
|
171
175
|
this.playerRadio = undefined;
|
|
172
176
|
this.playerVideo = isVideo;
|
|
173
177
|
this.playerElapsed = 0;
|
|
@@ -177,6 +181,7 @@ export const usePlayerStore = defineStore("PlayerStore", {
|
|
|
177
181
|
(!param.podcastId || param.processingStatus !== "READY")
|
|
178
182
|
) {
|
|
179
183
|
this.playerLive = param;
|
|
184
|
+
this.playerHlsIdentifier = param.hlsIdentifier;
|
|
180
185
|
this.playerCurrentChange = null;
|
|
181
186
|
return;
|
|
182
187
|
}
|
|
@@ -210,7 +215,7 @@ export const usePlayerStore = defineStore("PlayerStore", {
|
|
|
210
215
|
playerUpdateSeekTime(seekTime: number) {
|
|
211
216
|
this.playerSeekTime = seekTime;
|
|
212
217
|
},
|
|
213
|
-
playerMetadata(metadata: MediaRadio, history: Array<MediaRadio>) {
|
|
218
|
+
playerMetadata(metadata: MediaRadio|undefined, history: Array<MediaRadio>) {
|
|
214
219
|
if (!this.playerRadio) {
|
|
215
220
|
return;
|
|
216
221
|
}
|
|
@@ -8,6 +8,7 @@ export interface Conference {
|
|
|
8
8
|
deletionAttempts?: number;
|
|
9
9
|
directCode?: string;
|
|
10
10
|
externalRtmpUrl?: ExternalRtmpUrl;
|
|
11
|
+
hlsIdentifier?: string;
|
|
11
12
|
hostname?: string;
|
|
12
13
|
jingleDuration?: number;
|
|
13
14
|
jingleFilePath?: string;
|
|
@@ -57,6 +58,7 @@ export function getEmptyConference(): Conference {
|
|
|
57
58
|
export interface ConferencePublicInfo {
|
|
58
59
|
status: string;
|
|
59
60
|
videoProfile: string;
|
|
61
|
+
hlsIdentifier: string;
|
|
60
62
|
}
|
|
61
63
|
|
|
62
64
|
export interface ExternalRtmpUrl {
|
|
@@ -4,7 +4,7 @@ import { Podcast } from "./podcast";
|
|
|
4
4
|
export interface Radio {
|
|
5
5
|
canalId: number;
|
|
6
6
|
url: string;
|
|
7
|
-
metadata
|
|
7
|
+
metadata?: MediaRadio;
|
|
8
8
|
history: Array<MediaRadio>;
|
|
9
9
|
nextAdvertising: NextAdvertising;
|
|
10
10
|
isInit: boolean;
|
|
@@ -30,7 +30,7 @@ export interface NextAdvertising {
|
|
|
30
30
|
|
|
31
31
|
export interface MetadataRadio {
|
|
32
32
|
channelId: number;
|
|
33
|
-
currently: MediaRadio;
|
|
33
|
+
currently: MediaRadio|null;
|
|
34
34
|
previously: Array<MediaRadio>;
|
|
35
35
|
nextAdvertising: NextAdvertising;
|
|
36
36
|
}
|
|
@@ -27,10 +27,16 @@
|
|
|
27
27
|
--octopus-background-transparent: oklch(from var(--octopus-background) l c h / 40%);
|
|
28
28
|
--octopus-tertiary-really-transparent: oklch(from var(--octopus-tertiary) l c h / 30%);
|
|
29
29
|
|
|
30
|
+
//Gradient
|
|
31
|
+
--octopus-gradient : linear-gradient(90deg,var(--octopus-primary) 0%, var(--octopus-tertiary) 100%);
|
|
32
|
+
|
|
30
33
|
// Size
|
|
31
34
|
--octopus-image-size: 12.5rem;
|
|
32
35
|
--octopus-podcast-size: 13.5rem;
|
|
33
36
|
--octopus-border-radius: 0.2rem;
|
|
34
37
|
--octopus-line-clamp:2;
|
|
35
38
|
--octopus-max-height-description: 7rem;
|
|
39
|
+
|
|
40
|
+
//Font-family
|
|
41
|
+
--octopus-font-family: Montserrat,sans-serif,"Helvetica Neue";
|
|
36
42
|
}
|
package/src/style/general.scss
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/** Document style */
|
|
2
2
|
|
|
3
|
+
|
|
3
4
|
html{
|
|
4
5
|
font-size: 20px;
|
|
5
6
|
height: 100%;
|
|
@@ -9,7 +10,7 @@ html{
|
|
|
9
10
|
body{
|
|
10
11
|
margin: 0;
|
|
11
12
|
color: var(--octopus-color-text);
|
|
12
|
-
font-family:
|
|
13
|
+
font-family: var(--octopus-font-family);
|
|
13
14
|
font-size: 0.8rem;
|
|
14
15
|
overflow-x: hidden;
|
|
15
16
|
background: var(--octopus-secondary-lighter);
|
|
@@ -42,6 +43,10 @@ main, #app{
|
|
|
42
43
|
align-items: center;
|
|
43
44
|
}
|
|
44
45
|
|
|
46
|
+
input {
|
|
47
|
+
font-family: var(--octopus-font-family);
|
|
48
|
+
}
|
|
49
|
+
|
|
45
50
|
/** Link style */
|
|
46
51
|
a{
|
|
47
52
|
word-break: break-word;
|
|
@@ -114,6 +119,11 @@ main, #app{
|
|
|
114
119
|
background: var(--octopus-complementary-color) !important;
|
|
115
120
|
}
|
|
116
121
|
|
|
122
|
+
.bg-gradient{
|
|
123
|
+
background: var(--octopus-primary);
|
|
124
|
+
background:var(--octopus-gradient);
|
|
125
|
+
}
|
|
126
|
+
|
|
117
127
|
.text-blue-octopus{
|
|
118
128
|
color: var(--octopus-tertiary) !important
|
|
119
129
|
}
|
|
@@ -170,6 +180,13 @@ main, #app{
|
|
|
170
180
|
}
|
|
171
181
|
}
|
|
172
182
|
|
|
183
|
+
.show-small-screen{
|
|
184
|
+
display: none !important;
|
|
185
|
+
@media (width <= 500px) {
|
|
186
|
+
display: flex !important;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
173
190
|
.show-phone{
|
|
174
191
|
display: none;
|
|
175
192
|
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { MediaRadio } from "@/stores/class/general/player";
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
displayTitle(metadata: MediaRadio): string {
|
|
5
|
-
let title = "";
|
|
6
|
-
if (metadata.title) {
|
|
7
|
-
title += metadata.title;
|
|
8
|
-
}
|
|
9
|
-
if (metadata.artist) {
|
|
10
|
-
title += " - " + metadata.artist;
|
|
11
|
-
}
|
|
12
|
-
return title;
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
|