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

When the playlist finishes the last video, don't loop to the beginning #3910

Closed
iBlz opened this issue Jan 23, 2022 · 19 comments
Closed

When the playlist finishes the last video, don't loop to the beginning #3910

iBlz opened this issue Jan 23, 2022 · 19 comments
Assignees

Comments

@iBlz
Copy link

iBlz commented Jan 23, 2022

So i have a playlist with around 200 videos, and when the playlist finishes streaming i would like it to stop streaming instead of looping?
Is there any way i could do this? Thanks

@mekya
Copy link
Contributor

mekya commented Jan 24, 2022

Thank you for the issue. Let's assign someone in the team to take a look at this.

@iBlz
Copy link
Author

iBlz commented Jan 24, 2022

thanks, and its not a issue

@iBlz iBlz closed this as completed Jan 24, 2022
@iBlz iBlz reopened this Jan 24, 2022
@iBlz
Copy link
Author

iBlz commented Jan 24, 2022

i accidentally closed the issue

@iBlz
Copy link
Author

iBlz commented Jan 26, 2022

why did u like my message, i still need help!

@mekya
Copy link
Contributor

mekya commented Jan 27, 2022

@Toxic-Omega , as far as I understand, @SelimEmre just would like to say that 'yes I got it, no worries'.

This issue is scheduled for this week and there will be likely a snapshot ready to use in next week.

@iBlz
Copy link
Author

iBlz commented Jan 27, 2022

oh ok,thanks

@SelimEmre
Copy link
Contributor

Thank you for your explanation @mekya. Yes, @Toxic-Omega I realized about your accident. No worries. This feature is almost done.

@iBlz
Copy link
Author

iBlz commented Jan 29, 2022

and one last thing, how do i download this change, and how do i enable the option?

@SelimEmre
Copy link
Contributor

Hi @Toxic-Omega, you can download the SNAPSHOT version for using this feature after the merge to master. I just added Enable Playlist Loop option in playlist details. It's enabled by default. It can be disabled according to usage. Is it ok for you?

@mekya
Copy link
Contributor

mekya commented Jan 31, 2022

Where is the Enable Playlist Loop?

@SelimEmre
Copy link
Contributor

SelimEmre commented Jan 31, 2022

I have added Enable Playlist Loop option as below:
Screenshot from 2022-01-31 12-05-23

@mekya
Copy link
Contributor

mekya commented Jan 31, 2022

Thank you @SelimEmre for making it clear.

@SylvainSB
Copy link

Hi,
Nice, could we also please get this parameter in the API method?

Thanks

@iBlz
Copy link
Author

iBlz commented Jan 31, 2022

Hi, Nice, could we also please get this parameter in the API method?

Thanks

That would be nice!

@SelimEmre
Copy link
Contributor

Hi @SylvainSB,

playlistLoopEnabled parameter is in broadcast object. If you want to use via REST API, you just need to update broadcast object playlistLoopEnabled parameter to true or false.

For more detail, please check this guide: https://github.com/ant-media/Ant-Media-Server/wiki/REST-Guide

@iBlz
Copy link
Author

iBlz commented Jan 31, 2022

I see you merged this to master, so i downloaded it, how do i install it? what do i run? thanks!

@SelimEmre
Copy link
Contributor

Hi @Toxic-Omega,

It's not merged yet. These are PR's:
#3926
ant-media/Ant-Media-Management-Console#161

If you want to upgrade your AMS version with your current settings, you need to add -r true parameter in your installation command.

Please check it for more detail: https://github.com/ant-media/Ant-Media-Server/wiki/Installation#update-over-older-version

@SylvainSB
Copy link

Hi @SelimEmre
I just tried the latest snapshot (Enterprise Edition 2.4.3-SNAPSHOT 20220131_0502 and I get

Unrecognized field "playlistLoopEnabled" (class io.antmedia.datastore.db.types.Broadcast), not marked as ignorable (49 known properties: "is360", "playListStatus", "plannedEndDate", "speed", "webMEnabled", "publicStream", "rtmpURL", "name", "plannedStartDate", "subFolder", "publish", "mp4Enabled", "duration", "username", "hlsViewerLimit", "password", "webRTCViewerLimit", "absoluteStartTimeMs", "zombi", "pendingPacketSize", "altitude", "playListItemList", "publishType", "latitude", "bitrate", "date", "longitude", "webRTCViewerCount", "status", "endPointList", "listenerHookURL", "expireDurationMS", "type", "streamId", "description", "category", "quality", "currentPlayIndex", "receivedBytes", "streamUrl", "mainTrackStreamId", "hlsViewerCount", "ipAddr", "userAgent", "originAdress", "rtmpViewerCount", "startTime", "subTrackStreamIds", "metaData"]) at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 102] (through reference chain: io.antmedia.datastore.db.types.Broadcast["playlistLoopEnabled"])

@mekya
Copy link
Contributor

mekya commented Feb 1, 2022

Hi @SylvainSB ,
Let us merge these two PR.
#3926
ant-media/Ant-Media-Management-Console#161

We're just trying to release a new version 2.4.2.1. This is why we have not merged them.
Just let us have a couple of days.

@iBlz iBlz closed this as completed Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants