--
-- Host: localhost    Database: mpegtv
-- ------------------------------------------------------


--
-- Table structure for table `playlist`
--

CREATE TABLE `playlist` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `flags` int(11) DEFAULT '0',
  `type` tinytext NOT NULL,
  `info` text NOT NULL,
  `header` text NOT NULL,
  `body` text NOT NULL,
  `footer` text NOT NULL,
  `filename` tinytext NOT NULL,
  `mimetype` tinytext NOT NULL,
  `update_time` bigint(20) DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `playlist`
--

INSERT INTO `playlist` VALUES (1,0,'m3u','VLC / PC / SmartPhone <br>Smart IPTV <a href=\'https://siptv.eu/mylist/\'>https://siptv.eu/mylist/</a>','#EXTM3U\r\n','#EXTINF:-1,$[channelname]\r\nhttp://$[hostname]:$[port]/$[app]/$[username]/$[password]/$[channelid].$[ext]\r\n','','tv_channels_$[username].m3u','application/octet-stream',0),(2,0,'m3u_plus','VLC / PC / SmartPhone ( m3u Avec Des Options )','#EXTM3U\r\n','#EXTINF:-1 tvg-id=\"\" tvg-name=\"$[channelname]\" tvg-logo=\"$[logo]\" group-title=\"$[category]\",$[channelname]\r\nhttp://$[hostname]:$[port]/$[app]/$[username]/$[password]/$[channelid].ts\r\n','','tv_channels_$[username]_plus.m3u','application/octet-stream',0),(3,0,'auto_m3u','Auto Update Playlist','#EXTM3U\r\n#EXTINF:-1,$[username]\r\nhttp://$[hostname]:$[port]/get.php?username=$[username]&password=$[password]&type=m3u\r\n','','','AutoUpdate_$[username].m3u','application/octet-stream',0),(4,0,'gst','Starsat 2000Hyper / Geant / Tiger / Qmax / Hyper / Royal','','I: http://$[hostname]:$[port]/$[app]/$[username]/$[password]/$[channelid].ts $[channel_name]\r\n','','tvlist.cfg','text/plain',0),(5,0,'mediastar','Samsat 5100 / Redline 2500 / Tiger z280','','$[channel_name] http://$[hostname]:$[port]/$[app]/$[username]/$[password]/$[channelid].ts\r\n','','tvlist.txt','text/plain',0),(6,0,'newbox','Newbox ED2000 & ED3000 / Samsat 1300','title:$[username]\r\n','$[channel_name]#link:http://$[hostname]:$[port]/$[app]/$[username]/$[password]/$[channelid].ts\r\n','','tvlist.txt','text/plain',0),(7,0,'spark','Spark / Samsat Linux 1&2','<?xml version=\"1.0\"?>\r\n<webtvs>\r\n','<webtv title=\"$[channelname]\" urlkey=\"0\" url=\"http://$[hostname]:$[port]/$[app]/$[username]/$[password]/$[channelid].ts\" description=\"\" iconsrc=\"\" iconsrc_b=\"\" group=\"0\" type=\"0\" />\r\n','</webtvs>','webtv_usr.xml','application/xml',0),(8,0,'revosun','Revolution 60/60 / Sunplus','','IPTV: { $[channelname] } { http://$[hostname]:$[port]/$[app]/$[username]/$[password]/$[channelid].ts }\r\n','','network_iptv.cfg','text/plain',0),(9,0,'fps','Fortec999/Prifix9400/Starport','','IPTV: { $[channelname] } { http://$[hostname]:$[port]/$[app]/$[username]/$[password]/$[channelid].ts }\r\n','','Royal.cfg','text/plain',0),(10,0,'gigablue','Gigablue','#NAME My_Bouquet_Name\r\n','#SERVICE 4097:0:1:0:0:0:0:0:0:0:http%3A//$[hostname]%3A$[port]/$[app]/$[username]/$[password]/$[channelid].ts\r\n#DESCRIPTION $[channelname]\r\n','','userbouquet.favourites.tv','text/plain',0),(11,0,'enigma16','Enigma 2 OE 1.6','#NAME My_Bouquet_Name\r\n','#SERVICE 4097:0:1:0:0:0:0:0:0:0:http%3A//$[hostname]%3A$[port]/$[app]/$[username]/$[password]/$[channelid].ts\r\n#DESCRIPTION $[channelname]\r\n','','userbouquet.favourites.tv','text/plain',0),(12,0,'enigma216_script','Enigma 2 OE 1.6 Auto Script','USERNAME=\"$[username]\";PASSWORD=\"$[password\";bouquet=\"My_Bouquet_IPTV\";directory=\"/etc/enigma2/iptv.sh\";url=\"http://$[hostname]:$[port]/get.php?username=$USERNAME&password=$PASSWORD&type=enigma16&output=ts\";rm /etc/enigma2/userbouquet.\"$bouquet\"__tv_.tv;wget -O /etc/enigma2/userbouquet.\"$bouquet\"__tv_.tv $url;if ! cat /etc/enigma2/bouquets.tv | grep -v grep | grep -c $bouquet > /dev/null;then echo \"[+]Creating Folder for iptv and rehashing...\";cat /etc/enigma2/bouquets.tv | sed -n 1p > /etc/enigma2/new_bouquets.tv;echo \'#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET \"userbouquet.\'$bouquet\'__tv_.tv\" ORDER BY bouquet\' >> /etc/enigma2/new_bouquets.tv; cat /etc/enigma2/bouquets.tv | sed -n \'2,$p\' >> /etc/enigma2/new_bouquets.tv;rm /etc/enigma2/bouquets.tv;mv /etc/enigma2/new_bouquets.tv /etc/enigma2/bouquets.tv;fi;rm /usr/bin/enigma2_pre_start.sh;echo \"writing to the file.. NO NEED FOR REBOOT\";echo \"/bin/sh \"$directory\" > /dev/null 2>&1 &\" > /usr/bin/enigma2_pre_start.sh;chmod 777 /usr/bin/enigma2_pre_start.sh;wget -qO - \"http://127.0.0.1/web/servicelistreload?mode=2\";wget -qO - \"http://127.0.0.1/web/servicelistreload?mode=2\";','','','iptv.sh','text/plain',0),(13,0,'dreambox','Dreambox OE 2.0','#NAME IPTV\r\n','#SERVICE 4097:0:1:0:0:0:0:0:0:0:http%3A//$[hostname]%3A$[port]/$[app]/$[username]/$[password]/$[channelid].ts\r\n#DESCRIPTION $[channelname]\r\n','','userbouquet.favourites.tv','text/plain',0),(14,0,'enigma22_script','Enigma 2 OE 2.0 Auto Script','USERNAME=\"$[username]\";\r\nPASSWORD=\"$[password]\";\r\nbouquet=\"My_Bouquet_IPTV\";\r\ndirectory=\"/etc/enigma2/iptv.sh\";\r\nurl=\"http://$[hostname]:$[port]/get.php?username=$USERNAME&password=$PASSWORD&type=dreambox&output=\";\r\nrm /etc/enigma2/userbouquet.\"$bouquet\"__tv_.tv;\r\nwget -O /etc/enigma2/userbouquet.\"$bouquet\"__tv_.tv $url;\r\nif ! cat /etc/enigma2/bouquets.tv | grep -v grep | grep -c $bouquet > /dev/null;\r\nthen\r\n echo \"[+]Creating Folder for iptv and rehashing...\";\r\n cat /etc/enigma2/bouquets.tv | sed -n 1p > /etc/enigma2/new_bouquets.tv;\r\n echo \'#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET \"userbouquet.\'$bouquet\'__tv_.tv\" ORDER BY bouquet\' >> /etc/enigma2/new_bouquets.tv;\r\n cat /etc/enigma2/bouquets.tv | sed -n \'2,$p\' >> /etc/enigma2/new_bouquets.tv;\r\n rm /etc/enigma2/bouquets.tv;\r\n mv /etc/enigma2/new_bouquets.tv /etc/enigma2/bouquets.tv;\r\nfi;\r\nrm /usr/bin/enigma2_pre_start.sh;\r\necho \"writing to the file.. NO NEED FOR REBOOT\";\r\necho \"/bin/sh \"$directory\" > /dev/null 2>&1 &\" > /usr/bin/enigma2_pre_start.sh;\r\nchmod 777 /usr/bin/enigma2_pre_start.sh;\r\nwget -qO - \"http://127.0.0.1/web/servicelistreload?mode=2\";\r\n','','','iptv.sh','text/plain',0),(15,0,'starsat7000','Starsat 7000','','<servername=>$[channel_name]</servername><serverurl=>http://$[hostname]:$[port]/$[app]/$[username]/$[password]/$[channelid].ts</serverurl><servercategory=>TV</servercategory>','','iptv.lst','text/plain',0),(16,0,'webtvlist','WebTV List: Amiko / Samsat 75 GALAXY','','Channel name:$[channelname]\r\nURL:http://$[hostname]:$[port]/$[app]/$[username]/$[password]/$[channelid].ts\r\n','','webtv list.txt','text/plain',1558305607),(17,0,'XtreamUserInfo.src','Config Xtream sur USB pour Samsat 1300 Mini','$[hostname]:$[port]###$[username]###$[password]','','','XtreamUserInfo.src','application/octet-stream',0),(18,0,'Xtream_txt','Xtream Samsat 5100 Super (USB)','http://$[hostname]:$[port] $[username] $[password]}','','','Xtream.txt','application/octet-stream',0),(19,0,'Xtream_txt4','Xtream RedLine 4 Account (USB)','http://$[hostname]:$[port] $[username] $[password]','','','Xtream.txt','application/octet-stream',0),(20,0,'iptvlist','hd6060','','$[channel_name],http://$[hostname]:$[port]/$[app]/$[username]/$[password]/$[channelid].$[ext]\r\n','','iptvlist.txt','application/octet-stream',1560880578);


