Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

V1.60 streams ondemand mode ?

babb

Extended Member
Ext. Member
Joined
Sep 30, 2019
Messages
22
Reaction score
34
Points
24
Location
milano
someone to edit for v1 streams in ondemand mode?
 
Hello Guys,

I am glad to annouce that I found a way to get Streams & Ondemand fully working again on Xtream Codes V1.

It is much work to do wiht an DB Editor, for example phpmyadmin, but I hope that you will understand.

Here is the Guid and Happy IPTV ;)

First of all you need to have an DB Editor Like phpmyadmin to edit your current ported V2 DB that is "half" working on V1 and for Safty store a current Backup of your DB.


if you have your backup allready installed and your "Streams" are showen but Ondemand Movies are all offline than you have to edit your streams Table Like this:
Code:
`id` int(11) NOT NULL AUTO_INCREMENT,
`type` int(11) NOT NULL,
`category_id` int(11) DEFAULT NULL,
`stream_display_name` text NOT NULL,
`stream_source` text,
`stream_icon` text NOT NULL,
`notes` text,
`created_channel_location` int(11) DEFAULT NULL,
`enable_transcode` tinyint(4) NOT NULL DEFAULT '0',
`transcode_attributes` text NOT NULL,
`custom_ffmpeg` text NOT NULL,
`movie_propeties` text,
`movie_subtitles` varchar(255) NOT NULL,
`read_native` tinyint(4) NOT NULL DEFAULT '1',
`target_container_id` int(11) DEFAULT NULL,
`stream_all` tinyint(4) NOT NULL DEFAULT '0',
`remove_subtitles` tinyint(4) NOT NULL DEFAULT '0',
`custom_sid` varchar(255) DEFAULT NULL,
`epg_id` int(11) DEFAULT NULL,
`channel_id` varchar(255) DEFAULT NULL,
`epg_lang` varchar(255) DEFAULT NULL,
`order` int(11) NOT NULL DEFAULT '0',
`auto_restart` int(11) NOT NULL DEFAULT '0',
`transcode_profile_id` int(11) NOT NULL DEFAULT '0',
`pids_create_channel` text NOT NULL,
`create_channel_queue` text NOT NULL,
`gen_pts` tinyint(4) NOT NULL DEFAULT '1',
`added` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `type` (`type`),
KEY `category_id` (`category_id`),
KEY `created_channel_location` (`created_channel_location`),
KEY `enable_transcode` (`enable_transcode`),
KEY `read_native` (`read_native`),
KEY `epg_id` (`epg_id`),
KEY `channel_id` (`channel_id`),
KEY `order` (`order`)
whit this Structur your Streams and Movies should all be showen Valid in V1 but still Ondemand not showed running.
If you have more tabels that are not showen here you should delete them to get all working.

Now we need to update target_container_id, its for the file extension (mkv, mp4) ID_mkv= 2 ID_mp4=1

You need to know your target_container_id, if you know it you can procced whit Updating the ID with:

Code:
UPDATE `streams` SET `target_container_id`=2 WHERE `type`=2
Este comando establece todas las películas Ondemand en mkv, si necesita mp4 una:

Código:
ACTUALIZAR `streams` SET` target_container_id` = 1 DONDE `type` = 2
Después de hacer esto, tenemos que trabajar en streams_sys Tabel
Debe tener esta estructura:
Código:
`server_stream_id` int (11) NO NULL AUTO_INCREMENT,
`stream_id` int (11) NO NULL,
`server_id` int (11) NO NULL,
`parent_id` int (11) DEFAULT NULL,
`pid` int (11) DEFAULT NULL,
`to_analyze` tinyint (4) NO NULL DEFAULT '0',
`stream_status` int (11) NO NULL DEFAULT '0',
`stream_started` int (11) DEFAULT NULL,
el texto `stream_info` NO ES NULO,
`analyse_start` int (11) DEFAULT NULL,
`analyse_pid` int (11) DEFAULT NULL,
texto `current_source`,
`crashed_analyze` tinyint (4) NO NULL DEFAULT '0',
`integridad` varchar (32) PREDETERMINADO NULO,
`bitrate` int (11) DEFAULT NULL,
PRIMARY KEY (`server_stream_id`),
CLAVE ÚNICA `stream_id_2` (` stream_id`, `server_id`),
TECLA `stream_id` (` stream_id`),
TECLA `pid` (` pid`),
CLAVE `server_id` (` server_id`),
TECLA `stream_status` (` stream_status`),
TECLA `stream_started` (` stream_started`),
KEY `parent_id` (` parent_id`),
TECLA `to_analyze` (` to_analyze`)
Si tiene más tablas que no se muestran aquí, debe eliminarlas para que todo funcione.

Aquí tenemos que actualizar el server_id si ya no es el correcto.
Si no conoce su server_id, puede obtenerlo de Tabel: streaming_servers allí: id es igual a server_id en streams_sys.

Hago un ejemplo:

La identificación del servidor Ondemad en el servidor V2 fue: 5
Ahora en V1 el mismo servidor tiene ID: 10

Para cambiar eso, ejecutamos este comando SQL:
Código:
ACTUALIZAR `streams_sys` SET` server_id` = 10 DONDE `server_id` = 5
Con esto, hemos cambiado la "Posición" de las transmisiones o películas Ondemand y ahora deberían estar en línea y funcionando.

Espero que todo esté claro.

No doy soporte en privado, lo que escribí es todo testeado y funcionando.


Dame algunos me gusta, soy nuevo aquí
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top