AndreyPavlenko / aceproxy

Ace Stream HTTP Proxy
MIT License
62 stars 25 forks source link

Arenavision plugin #22

Closed WolfganP closed 6 years ago

WolfganP commented 7 years ago

Hi, FOA, thanks for keeping this project alive. I was trying to get my shot at writing a plugin for http://arenavision.in/ and wanted to get some advice in advance (ie which of the existing plugins to use as base for my one).

The site maintains a running schedule at http://arenavision.in/schedule but the actual links aren't in list form anywhere, but every channel page (ie http://arenavision.in/av11) has to be scraped to get the acestream:// link.

Any suggestions? Thanks!

AndreyPavlenko commented 7 years ago

Hi,

You may use the allfon plugin as an example, it is quite simple. All you need is to implement the handle() method which generates the playlist.

In this method you need to create PlaylistGenerator and add playlist items to this list:

    playlistgen =

PlaylistGenerator(m3uchanneltemplate=config.m3uchanneltemplate) for match in matches: playlistgen.addItem(match.groupdict())

On Sun, Mar 19, 2017 at 7:50 PM, WolfganP notifications@github.com wrote:

Hi, FOA, thanks for keeping this project alive. I was trying to get my shot at writing a plugin for http://arenavision.in/ and wanted to get some advice in advance (ie which of the existing plugins to use as base for my one).

The site maintains a running schedule at http://arenavision.in/schedule but the actual links aren't in list form anywhere, but every channel page (ie http://arenavision.in/av11) has to be scraped to get the acestream:// link.

Any suggestions? Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AndreyPavlenko/aceproxy/issues/22, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBK6xWPYcQCWBt2he_tBEOzGycNzOlSks5rnVzSgaJpZM4Mhyqh .