Author Topic: specilal Template  (Read 1038 times)

0 Members and 1 Guest are viewing this topic.

Offline bomz

  • Occasional poster
  • *
  • Posts: 9
    • View Profile
specilal Template
« on: September 22, 2019, 02:58:40 PM »
Hi, can somebody help me.
I need template to generate file list in IPTV playlist form. Very simple but I don't know html codes
Quote
#EXTM3U
 
#EXTINF:-1 group-title="Files", FileName1
h_tp://serverip/FileName1
#EXTINF:-1, FileName2
h_tp://serverip/FileName2
....

Offline dj

  • Tireless poster
  • ****
  • Posts: 155
  • 👣 🐾
    • View Profile
    • PWAs
Re: specilal Template
« Reply #1 on: September 22, 2019, 04:16:35 PM »
welcome
hfs.filelist.tpl (add /~files.lst to url)
Code: [Select]
#EXTM3U

%list%

[file]
#EXTINF:-1, %item-name%
%item-full-url%


Edit: there must be two blank lines at the end
« Last Edit: September 22, 2019, 04:34:51 PM by dj »

Offline bomz

  • Occasional poster
  • *
  • Posts: 9
    • View Profile
Re: specilal Template
« Reply #2 on: September 22, 2019, 04:24:47 PM »
Thanks!!!
« Last Edit: September 22, 2019, 04:46:07 PM by bomz »

Offline bomz

  • Occasional poster
  • *
  • Posts: 9
    • View Profile
Re: specilal Template
« Reply #3 on: September 22, 2019, 05:59:46 PM »
how make to donwload with URL http://192.168.1.69/1/index.htm  ?
without filename IPTV Player don't want download :(

Offline danny

  • Tireless poster
  • ****
  • Posts: 194
    • View Profile
    • Startfetch
Re: specilal Template
« Reply #4 on: September 22, 2019, 07:06:01 PM »
Possibly, MKV, MP4, mime types need to be set (in hfs menu, mime types)? 

Offline bomz

  • Occasional poster
  • *
  • Posts: 9
    • View Profile
Re: specilal Template
« Reply #5 on: September 23, 2019, 02:00:21 AM »
playlist generate correctly,
HFS I use long to watch movies on TV.
But IPTV Player don't download playlist without filename.
and HFS don't allow such URL's - http://ip/index.htm

Offline dj

  • Tireless poster
  • ****
  • Posts: 155
  • 👣 🐾
    • View Profile
    • PWAs
Re: specilal Template
« Reply #6 on: September 23, 2019, 05:09:49 AM »
But IPTV Player don't download playlist without filename.
If you use hfs.filelist.tpl you have a filename ~files.lst
Edit: Add hfs.filelist.tpl to folder, that contains hfs.exe

Sorry, I can't test, because I don't have a IPTV Player
Perhaps it needs m3u mime type
try to add {.mime|application/mpegurl.} at the beginning

and HFS don't allow such URL's - http://ip/index.htm
you can use a index.htm file or add /index.htm to url
« Last Edit: September 23, 2019, 03:51:36 PM by dj »

Offline Mars

  • Operator
  • Tireless poster
  • *****
  • Posts: 1899
    • View Profile
Re: specilal Template
« Reply #7 on: September 23, 2019, 05:13:51 AM »
what is the necessary content in index.htm so that ipv can read it?

Offline bomz

  • Occasional poster
  • *
  • Posts: 9
    • View Profile
Re: specilal Template
« Reply #8 on: September 23, 2019, 07:04:40 AM »
http://192.168.1.69/1/~hfs.tpl
download filelist, not hfs.tpl

I add index.htm to URL, and HFS open nothing
http://192.168.1.69/1/ not equal http://192.168.1.69/1/index.htm

« Last Edit: September 23, 2019, 07:09:02 AM by bomz »

Offline bmartino1

  • Tireless poster
  • ****
  • Posts: 880
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
Re: specilal Template
« Reply #9 on: September 23, 2019, 12:48:11 PM »
Need to look into building a m3u file, you have a text file and htnl file, but the player needs the m3u file

https://en.m.wikipedia.org/wiki/M3U

https://www.videoconverterfactory.com/tips/create-m3u-playlist.html

The ~files.tpl / list

Is the created mp3 u file , but it's not the correct format file extension, the day inside is m3u content.

If you open notepad copy the translated script link file.tpl as you have display on your picture atachme t. and save that file as a "playlsit.m3u" add that to the hfs and have the player load the m3u utl link, I bet it would work.

https://rejetto.com/forum/index.php?topic=7181.5;wap2

Review the m3u post: http://rejetto.com/forum/index.php?topic=7374.msg1060326#msg1060326


I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline bomz

  • Occasional poster
  • *
  • Posts: 9
    • View Profile
Re: specilal Template
« Reply #10 on: September 23, 2019, 01:24:48 PM »
I built M3U file, but can't download it without direct file name.
of course it will work if I create m3u list manualy, you will see it 1.m3u
but I need file what mirror dynamic content
« Last Edit: September 23, 2019, 01:26:59 PM by bomz »

Offline bmartino1

  • Tireless poster
  • ****
  • Posts: 880
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
Re: specilal Template
« Reply #11 on: September 23, 2019, 03:13:57 PM »
Ok, then you need to create a macro script site that pulls the music/videos files and outputs them in the m3u file.

Some editing of the simple contact template to visit a site to load the m3u file.

Otherwise you are better off using a stream file server like vlc:
https://www.avenard.org/iptv/TPG_and_IPTV/VLC.html

Vlc setup:
https://wiki.videolan.org/Documentation:Streaming_HowTo/Easy_Streaming_Newer_Versions/

Then you could use hfs as a file host with webcode to view vlc stream and pull from that
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline bomz

  • Occasional poster
  • *
  • Posts: 9
    • View Profile
Re: specilal Template
« Reply #12 on: September 23, 2019, 03:27:09 PM »
it's too complicated for my purposes.
I want my TV Perfect Player download HFS Template in m3u playlist form.

Now I handly add video file to HFS, and change it name to 1.mkv,
and watch it on TV using the same url http://192.168.1.69/1.mkv
Template generate playlist for all files with it real names,
but I can't download it without real file name

Offline bmartino1

  • Tireless poster
  • ****
  • Posts: 880
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
Re: specilal Template
« Reply #13 on: September 23, 2019, 03:43:48 PM »
what is the necessary content in index.htm so that ipv can read it?

https://www.videoconverterfactory.com/tips/iptv-vlc.html

What bomz has do e was take the msu and out it as the different template, even though that not HTML code or a m3u file, so visiting it hits the mome text/HTML and is displayed as text.

The use needs a temple HTML code to server iptv protcal and music info... He doesn't know how to setup that in hfs. I don't know how to explain it to him.

From the mime types to HTML, he is better off using vlc to strem it.

Hfs is a file host server not a streaming server, you have to HTML code, JavaScript, jfs special macro code to accomplish this.

Then there filentyp contoan and read types thaybiptv can handle.

...

Basic setup
Folder with music
Web template that take files on music folder and make a m3u file (many template on form for this)

No player just need to send iptv protcal/strem url to iptv player which is where he failed at.

Need m3u file hosted with download links to each file on folder.
(Some serious HTML and macro viseo coding)

And a step by step so they can figure it out. I'd have them look at premade template and codes

Such as the throwback template:
http://rejetto.com/forum/index.php?action=dlattach;topic=12055.0;attach=9421
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline bomz

  • Occasional poster
  • *
  • Posts: 9
    • View Profile
Re: specilal Template
« Reply #14 on: September 23, 2019, 04:28:13 PM »
VLC translate video only with transcoding.
I want use on my Sony TV only one application Perfect Player
and watch all with it: IPTV and files