Skip to content

Create list with my own links #5

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

Open
nygage opened this issue Mar 4, 2023 · 7 comments
Open

Create list with my own links #5

nygage opened this issue Mar 4, 2023 · 7 comments

Comments

@nygage
Copy link

nygage commented Mar 4, 2023

Hello all,

I would like to create playlists with my own Acestream urls, would it be possible to add it?
I've been trying to find how to perform it but i think the library is not designed to perform this action.

Thanks in advance.

@vstavrinov
Copy link
Owner

What URLs? Give the example. And what means "to add it"? Where to add?

@nygage
Copy link
Author

nygage commented Mar 5, 2023

Sorry it was a non enough clear explanation.
I have my own Acestream links, I wan't to be able to add them to the created m3u output. Exploring the options I have only found how to search, but i have not found an option to add my own links to this output. Is it possible to do it?

Thanks!

@vstavrinov
Copy link
Owner

I don't see any sense. Your are right it is search engine. And it has acestream engine inside. That is combined acestream and search engines all in one.

I practice two use case. The first is manual. I write my playlist manually. This playlist include not only acestream links but some other types like streamlink, youtube-dl and even direct links. In this case I use search engine to find interested link to update or insert into my playlist.

It could be two type of such links: exact (infohash) and variable (search.m3u?query=) links. In the last case search engine produce possible single as well as multiply links output first of which more likely will be used by player.

The second use case is generated playlist. It could be generated by search engine by pattern query, by category, by name or even without any parameters. In the last case You can get thousends links in the single playlist. You can use it directly as input for you player and then use search capablilty of that player itself (I am using vlc) to find the channels what You need.

But in this case You will have only acestream links and no others types. Though it could be convenient because don't requires to maintain Your playlist manually it is temporary solution for specific case, while the first use case should be considered as main common case.

Thus in these two scenarios I don't see where and what for to add Your acestream links. Or to be accurate I don't see any sense to do this in second scenario, while in the first one You can add any links what You want manually.

If I am wrong, please give me example of Your use case and explain what are You doing and with what purpose.

@cabaseira
Copy link

cabaseira commented Aug 19, 2023

If I am wrong, please give me example of Your use case and explain what are You doing and with what purpose.

Excuse my ignorance. Can you help me?

How should I do to see a certain hash? For example, I have this hash: aa82e7d4f03061f2144a2f4be22f2e2210d42280, which is not contained in your "search.m3u", which I have verified that I can see from acestream player on windows.

What should I enter in VLC? This doesn't work for me:

http://192.168.0.2:8000/ace/getstream?infohash=aa82e7d4f03061f2144a2f4be22f2e2210d42280

However, I can see this one that is contained in your "search.m3u":

http://192.168.0.2:8000/ace/getstream?infohash=f23bf1ae6d6bef0a6eab9f5e29441c2e6526f24a

It doesn't work either:

http://192.168.0.2:8000/search.m3u?query=aa82e7d4f03061f2144a2f4be22f2e2210d42280

since that hash is not in the "search.m3u"

On the other hand. If I want to create my own m3u list with my links to acestream, for example, I want to call it "ivan.m3u", where do I have to host it so that it can be played? And how do I call it from VLC?

If I think I understood you correctly, I should create my "ivan.m3u" file myself including my own hashes, for example the content of my m3u should be:

#EXTM3U
#EXTINF:-1,MY_STREAM_SERVICE_NAME
http://192.168.0.2:8000/ace/getstream?infohash=aa82e7d4f03061f2144a2f4be22f2e2210d42280

So if I run that file in VLC I should be able to see the stream, but it's not.

Or it would also help if I know how to add lines to your "search.m3u". What is the address where the list is hosted within the application?

Here is my docker-compose file that I use in Portainer:

version: "3.9"
networks:
  mynet:
    name: mynet
    driver: bridge
    ipam:
      config:
        - subnet: 172.29.0.0/24 
services:
  acestream:
    image: "vstavrinov/acestream-service"
    container_name: "acestream-service"
    restart: "always"
    ports:
      - 192.168.0.2:8000:80
    networks:
      mynet:
        ipv4_address: 172.29.0.55
    environment:
      SCHEME: http
      ENTRY: 8000
      PORT: 80

Thanks for your help and your app!!

@cabaseira
Copy link

cabaseira commented Aug 19, 2023

OK, I think that I found the solution.

I was using:

http://192.168.0.2:8000/ace/getstream?infohash=

But I must to use:

http://192.168.0.2:8000/ace/getstream?id=

So, I created a m3u file with that change and it works perfectly.

#EXTM3U
#EXTINF:-1,MY_STREAM_SERVICE_NAME
http://192.168.0.2:8000/ace/getstream?id=aa82e7d4f03061f2144a2f4be22f2e2210d42280

Thanks!!

@ribera96
Copy link

Hey, I'm trying to do the same, in which path did you save the new m3u list?

@cabaseira
Copy link

Hey, I'm trying to do the same, in which path did you save the new m3u list?

The IP address 192.168.0.2 is the IP of the device where I have installed acestream-service. The resulting m3u file must be on the same local network, so that the list can find that IP. You can put the file anywhere: your television, your smartphone... it doesn't matter.
You can also use a reverse proxy to be able to access it from outside your local network.

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