rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: bomz on September 22, 2019, 02:58:40 PM

Title: specilal Template
Post by: bomz on September 22, 2019, 02:58:40 PM
Hi, can somebody help me.(http://smiles.kolobok.us/standart/blush2.gif)
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
....
Title: Re: specilal Template
Post by: dj 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
Title: Re: specilal Template
Post by: bomz on September 22, 2019, 04:24:47 PM
Thanks!!! (http://smiles.kolobok.us/standart/thank_you2.gif)
Title: Re: specilal Template
Post by: bomz 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 :(
(https://d.radikal.ru/d25/1909/64/09ea591f8fab.png)
Title: Re: specilal Template
Post by: bomz 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 (http://smiles.kolobok.us/light_skin/cray.gif)
Title: Re: specilal Template
Post by: dj 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 (https://www.rejetto.com/wiki/index.php?title=HFS:_Hidden_things)
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 (https://www.rejetto.com/wiki/index.php?title=Use_HFS_to_host_a_website) to url
Title: Re: specilal Template
Post by: Mars on September 23, 2019, 05:13:51 AM
what is the necessary content in index.htm so that ipv can read it?
Title: Re: specilal Template
Post by: bomz 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

(https://c.radikal.ru/c32/1909/ce/f234fa255315.gif)
Title: Re: specilal Template
Post by: bmartino1 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


Title: Re: specilal Template
Post by: bomz 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
Title: Re: specilal Template
Post by: bmartino1 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
Title: Re: specilal Template
Post by: bomz 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
Title: Re: specilal Template
Post by: bmartino1 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
Title: Re: specilal Template
Post by: bomz 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
Title: Re: specilal Template
Post by: bomz on September 23, 2019, 04:35:53 PM
dj variant is working(http://smiles.kolobok.us/light_skin/declare.gif)
Thank a lot (http://smiles.kolobok.us/light_skin/dance.gif)

change windows encoding to UTF-8
Code: [Select]
<head>
<meta charset=UTF-8">
</head>
#EXTM3U

%list%

[file]
#EXTINF:-1 group-title="FILES",%item-name%
%item-full-url%