PDA

View Full Version : Channels Importer



hasnath
03-03-17, 23:49
Hi I've noticed the new fallback menu but can't seem to findhow to copy the new 'Fallback - Remote bouquets copier (Channel Importer)' menu.

Any help?

DaMacFunkin
04-03-17, 11:57
Hi I've noticed the new fallback menu but can't seem to findhow to copy the new 'Fallback - Remote bouquets copier (Channel Importer)' menu.

Any help?

I use Remote Fallback Tuner and i also can't seem to find this Remote Bouquets copier (Channel Importer) function in Openvix 5, is it hidden in another menu?

maxben
04-03-17, 12:49
Both 'Remote Channel Stream Converter' and 'Fallback configuration' are both now under 'service searching' which is more logical.

DaMacFunkin
04-03-17, 14:25
Both 'Remote Channel Stream Converter' and 'Fallback configuration' are both now under 'service searching' which is more logical.

Yes we know but where is:

Fallback - Remote bouquets copier (Channel Importer). For receivers used as clients, copies and loads the channel list from the server box.

Andy_Hazza
04-03-17, 14:36
System Plugins in the feeds, then it will reside in the Service Searching section.


Sent from my iPhone using Tapatalk

maxben
04-03-17, 14:43
I can only remember ever seeing that feature using the 'Partner box' plugin not with 'Fallback tuner' but I've only started using Fallback again recently so I may of missed something. If you want that feature why not use RCSC ?

hasnath
04-03-17, 17:00
I can only remember ever seeing that feature using the 'Partner box' plugin not with 'Fallback tuner' but I've only started using Fallback again recently so I may of missed something. If you want that feature why not use RCSC ?
I find with rscs that time shift and recording doesn't work very well for me


Sent from my Nexus 5 using Tapatalk

hasnath
04-03-17, 17:08
System Plugins in the feeds, then it will reside in the Service Searching section.


Sent from my iPhone using Tapatalk
Just tried channels importer and it worked great however can't get the fallback function to work.

I've entered my IP from main box as 192.168.1.106:8001

Am I missing something silly?

Sent from my Nexus 5 using Tapatalk

hasnath
04-03-17, 17:16
Actually I've sorted it needed 'http://' before my ip

Sent from my Nexus 5 using Tapatalk

Huevos
05-03-17, 03:21
Please read this thread: http://www.world-of-satellite.com/showthread.php?55808-ChannelsImporter

Sicilian
05-03-17, 09:14
Latest version will be in release build 5.0.002.

Andy_Hazza
05-03-17, 09:28
Great work Huevos. [emoji4]


Sent from my iPhone using Tapatalk

Bangord30
05-03-17, 09:50
Works great. Thanks everyone

maracsx
05-03-17, 10:15
Is that means you can stream av stream over the internet from one receiver to another?

Huevos
05-03-17, 11:17
Is that means you can stream av stream over the internet from one receiver to another?
The perils of streaming across the internet are the ssme irrespective of where the channel list come from.

Piranha
05-03-17, 14:53
Setup ChannelsImporter and Fallback Config for the first time this morning - most impressive!

Huevos - you say that ChannelsImporter will be complete in 5.0.002 - what further features does it have - the scheduling elements?

Great piece of work - maybe even my wife will not run out of tuners for recordings now!

DaMacFunkin
05-03-17, 15:35
I can only remember ever seeing that feature using the 'Partner box' plugin not with 'Fallback tuner' but I've only started using Fallback again recently so I may of missed something. If you want that feature why not use RCSC ?

Hi mate, as Heuvos explains a lot of it is to do with the epg and synching the bouquets, also as someone else stated, remote fallback tuner seems to record on the client box better than RCSC.

maracsx
05-03-17, 20:06
Is video transcoded when remote receiver ask for access to server's tuner?

abu baniaz
05-03-17, 20:13
The plugin just copies bouquets and epg from one box to another. It can configure the the fallback tuner for you too.

The tuner data is shared by fallback tuner facility in the image. There is no transcoding.

TK4|2|1
06-03-17, 08:24
Can I get an ipk to install on my non vix client box?

abu baniaz
06-03-17, 08:31
which box/CPU?

TK4|2|1
06-03-17, 18:35
which box/CPU?

I take it your talking to me?
Wetek play. Open atv, arm cpu..

abu baniaz
07-03-17, 11:12
I take it your talking to me?
Wetek play. Open atv, arm cpu..

/usr/lib/enigma2/python/Plugins/SystemPlugins

maracsx
07-03-17, 20:50
Am I stupid ir what?! What is the purpose of this plugin/feature ?

Ashley69
07-03-17, 20:52
Am I stupid ir what?! What is the purpose of this plugin/feature ?

http://www.world-of-satellite.com/showthread.php?55808-ChannelsImporter

goosegog
07-03-17, 22:06
This sounds good ive just started using RCSC on my bedroom box works well but this sounds great.i will flash this weekend to give it a try
Thanks


Sent from my iPhone using Tapatalk

maracsx
08-03-17, 21:25
So it does stream av to another reveiver without tuner?

abu baniaz
08-03-17, 21:31
No. The plugin does not stream, it just downloads bouquets and EPG and sets up fall back tuner for you.


Yes. You can use fallback tuner on a receiver without a tuner. Whether you use this plugin or not.

Huevos
08-03-17, 22:01
So it does stream av to another reveiver without tuner?Why don't you try. Then you will understand what it does.

maracsx
08-03-17, 22:30
I have 1 receiver only now. I am thinking to stream to another remote location without sat dish

khan888
09-03-17, 02:13
Working great on 5.0.002....Thanks Huevos :thumbsup:

Valiant
09-03-17, 13:58
My setup and software versions are as per my signature.

My question is, if I update OpenViX on my Edision (client machine) to 5.0.002 and install the Channels Importer plugin there, will I be able to run it with my MiracleBoxTwinPlus (server machine) remaining on OpenViX 4.1.016?

abu baniaz
09-03-17, 14:02
what is in server/host is irrelevant

Valiant
09-03-17, 14:19
what is in server/host is irrelevant

Thanks Abu

TK4|2|1
06-04-17, 20:37
/usr/lib/enigma2/python/Plugins/SystemPlugins

Just got round to trying this, but sadly doesn't work. Blue screen crash. Oh well, thanks anyway Abu.

Yony
07-04-17, 12:35
I've set everything up but the streaming doesn't work.

My slave is on Vix, and I can see Fallback Configuration under Service Searching.

However, my client is on Open ATV and I can't see a Fallback Configuration option under Service Searching.

Do I need to install Vix on the client too to be able to use the Fallback? Or can I set this feature up on my client in another way?

twol
07-04-17, 13:35
I've set everything up but the streaming doesn't work.

My slave is on Vix, and I can see Fallback Configuration under Service Searching.

However, my client is on Open ATV and I can't see a Fallback Configuration option under Service Searching.

Do I need to install Vix on the client too to be able to use the Fallback? Or can I set this feature up on my client in another way?

OpenATV is in Setup/Usage & Gui/Customise
However, never tried OpenATV to OpenViX and with recent changes not sure if it would still be implemented the same way.
You can try:) but much easier to install OpenViX and install the plugin ... although it will get even easier in OpenViX in the near future to set up :)

Yony
07-04-17, 14:17
Thanks. I've found the openvix setup and - like magic -it was already configured for me.

Still not streaming though I'm afraid.

Pretty confident that I have the client set up okay. Is there anything I need to/can do on the server side to get it running?

(I have RemoteChannelStreamConvertor set up okay, so I definitely have the capability to stream okay.)

twol
07-04-17, 14:50
I would clean install OpenViX on your client without settings and plugins restore and then install the Channels Importer plugin which will do everything for you.

Yony
07-04-17, 15:40
Done a clean install as suggested and all working 100% at the moment.

A very cool feature. Thanks.

Yony
08-04-17, 09:02
I'm finding I have the same problem with this set up as I had with RSCC.

The serving box (my VU+Duo2) will randomly wake up from standby into the tuner that's being used by the client box.

This means I lose my connection.

Is there any way to keep the server in standby to stop this happening?

Huevos
08-04-17, 09:12
I'm finding I have the same problem with this set up as I had with RSCC.

The serving box (my VU+Duo2) will randomly wake up from standby into the tuner that's being used by the client box.

This means I lose my connection.

Is there any way to keep the server in standby to stop this happening?This is nothing to do with the plugin. Please start your own thread.

carlowen
16-04-17, 14:22
Hi. How can you say it is nothing to do with the plugin as it only wakes up when using the client. If both are in Stby it doesn't wake up.

Huevos
17-04-17, 00:35
Hi. How can you say it is nothing to do with the plugin as it only wakes up when using the client. If both are in Stby it doesn't wake up.Sorry, you lost me. You haven't posted in this thread before so please fill in the missing details.

giub1981
17-08-17, 12:30
Hi Guys. Does this work on multiple boxes or can you only have on box running off on server box? I wanted to have my main box in the living room, then run the fall back tuner in my kitchen on one box and in the bedroom on another box

Andy_Hazza
17-08-17, 12:48
Depends how many free tuners your main box has. The more tuners the better. This is where the FBC tuner capable boxes come in handy.


Sent from my iPhone using Tapatalk

Huevos
17-08-17, 13:51
Yep, as above, as long as you have sufficient tuner on the server box to cover the demand you can have as many clients as you like. And set an inactivity timer on all the clients so they don't waste tuners on the server.

giub1981
17-08-17, 16:08
Great thanks. I have a Ultimo 4k with FBC cable tuner so should be ok on that front :thumbsup:

Andy_Hazza
17-08-17, 17:34
Great thanks. I have a Ultimo 4k with FBC cable tuner so should be ok on that front :thumbsup:

Great receiver and will do the job nicely. [emoji4]


Sent from my iPhone using Tapatalk

giub1981
21-08-17, 15:38
Hi. Go this working now and its great!!! Does anyone know if you are able to stream your recording form your main box to the client box?

Huevos
21-08-17, 16:44
Hi. Go this working now and its great!!! Does anyone know if you are able to stream your recording form your main box to the client box?Not currently. So best option is a network mount to the server.

I think in the future we could get a directory listing from the remote box and create a bouquet of recordings.

Trial
31-10-18, 11:30
Hi,
I have a small problem with this plugin on current ViX with up to now two VUs (Solo4K and Duo2):

< 228.478> [LCD4linux] Done Worker Pic 0
< 228.660> [ChannelsImporter] Downloading remote file 'userbouquet.adulttv.tv'
< 228.820> [ChannelsImporter] Downloading remote file 'userbouquet.sammlung.tv'
< 228.986> [ChannelsImporter] Downloading remote file 'userbouquet.adulttv.tv'
< 229.146> [ChannelsImporter] Downloading remote file 'userbouquet.deutschland.radio'
< 229.309> [ChannelsImporter] Downloading remote file 'userbouquet.oldies_klassik.radio'
< 229.474> [ChannelsImporter] Downloading remote file 'userbouquet.rock___pop.radio'
< 229.663> [ChannelsImporter] Downloading remote file 'userbouquet.iptv_deutsche_partymusik.radio'
< 229.817> [ChannelsImporter] Downloading remote file 'userbouquet.favourites.radio'
< 229.979> [ChannelsImporter] Downloading remote file 'lamedb'
< 230.257> [ChannelsImporter] Checking for alternatives
< 230.356> [ChannelsImporter] Removing current channel list...
< 230.416> [ChannelsImporter] Loading new channel list...
< 230.651> [ChannelsImporter] Download from remote failed. [Failure instance: Traceback: <type 'exceptions.IOError'>: [Errno 2] No such file or directory: '/tmp/userbouquet.adulttv.tv'
/usr/lib/python2.7/site-packages/twisted/internet/defer.py:653:_runCallbacks
/usr/lib/enigma2/python/Plugins/SystemPlugins/ChannelsImporter/FTPDownloader.py:84:ftpFinish
/usr/lib/python2.7/site-packages/twisted/internet/defer.py:459:callback
/usr/lib/python2.7/site-packages/twisted/internet/defer.py:567:_startRunCallbacks
--- <exception caught here> ---
/usr/lib/python2.7/site-packages/twisted/internet/defer.py:653:_runCallbacks
/usr/lib/enigma2/python/Plugins/SystemPlugins/ChannelsImporter/ChannelsImporter.py:144:readBouquetsCallback
/usr/lib/enigma2/python/Plugins/SystemPlugins/ChannelsImporter/ChannelsImporter.py:172:processFiles
/usr/lib/enigma2/python/Plugins/SystemPlugins/ChannelsImporter/ChannelsImporter.py:273:copyFile
/usr/lib/python2.7/shutil.py:130:copy2
/usr/lib/python2.7/shutil.py:82:copyfile

Any idea?

ciao

Huevos
31-10-18, 22:37
No idea what that is. It is in the Python twisted code, not the plugin.

Can you try in client mode to see if you get a similar problem? Doesn't use the twisted code so might be easier to debug.

Trial
01-11-18, 09:08
Hi,
what do you mean with client mode? This error appeared on 3 different client boxes (Solo2, Solo4K and Duo2) server is my Ultimo4K.

Because it has something to do with copying and it says that '/tmp/userbouquet.adulttv.tv' is not there I commented out the deleting of the temporary files and to be save put a Try/Except around copyFile and now all of my 4 client were running like they should but I will keep an eye on it.

After I commented out the deletion of the temporary files I took a look and the "missing" file was really there. Not sure why Python complained.

ciao

Huevos
01-11-18, 10:40
I mean the error occurred with the Channels Importer plugin. "Client Mode (OpenViX)" available from the NimSelection screen on the yellow button doesn't use Twisted. Something weird must be going on in Twisted. Must be trying to delete the file multiple times, or something like that.

Trial
01-11-18, 11:58
Hi,
I think also the yellow button had this error but I will try again.

ciao

abu baniaz
01-11-18, 12:00
I suspect issue is while processing "tv.tv"

Trial
01-11-18, 12:46
Hi abu,
I rename and recheck. This is easily done.

ciao

Trial
06-11-18, 19:32
Hi,
I think I found the reason. I used the plugin IPTVstreamlink from pcd and this generates a bouquets.tv like this:
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.UK-LIVE-TV.tv" ORDER BY bouquet
=#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.UK LIVE TV.tv" ORDER BY bouquet

I think will be copied twice and then
1. copy userbouquet.UK-LIVE-TV.tv
2 remove userbouquet.UK-LIVE-TV.tv
3. copy userbouquet.UK-LIVE-TV.tv and now io fails as this was already deleted by step 2.

ciao

Huevos
06-11-18, 20:41
So we need to check the file exists before trying to delete.

Trial
07-11-18, 09:10
Hi,
would be better. Who knows what the millions (:-))))) of plugins are doing.

ciao

Trial
05-05-19, 17:08
Hi,
since last November channels importer worked very well on my 4 E2 receiver. Since a week or 2 it doesn´t work during startup anymore. When I go to the receiver it has no channels and I have to call channels importer manual. Any idea? The server box is running and manual update works at once. Network is very good.

Ralf

Huevos
05-05-19, 20:39
What does the debug log show on a full reboot?

Trial
06-05-19, 08:41
Hi,
in the debug log it looks good UNTIL:


< 67.684> [ChannelsImporter] Checking for alternatives
< 67.779> [ChannelsImporter] Downloading remote file 'alternatives.ZDFHD.tv'
< 67.786> [ChannelsImporter] Removing current channel list...
< 67.861> [ChannelsImporter] Loading new channel list...
< 68.116> [ChannelsImporter] Download from remote failed. [Failure instance: Traceback: <type 'exceptions.IOError'>: [Errno 2] No such file or directory: '/tmp/alternatives.ZDFHD.tv'
/usr/lib/python2.7/site-packages/twisted/internet/defer.py:653:_runCallbacks
/usr/lib/enigma2/python/Plugins/SystemPlugins/ChannelsImporter/FTPDownloader.py:84:ftpFinish
/usr/lib/python2.7/site-packages/twisted/internet/defer.py:459:callback
/usr/lib/python2.7/site-packages/twisted/internet/defer.py:567:_startRunCallbacks
--- <exception caught here> ---
/usr/lib/python2.7/site-packages/twisted/internet/defer.py:653:_runCallbacks
/usr/lib/enigma2/python/Plugins/SystemPlugins/ChannelsImporter/ChannelsImporter.py:144:readBouquetsCallback
/usr/lib/enigma2/python/Plugins/SystemPlugins/ChannelsImporter/ChannelsImporter.py:172:processFiles
/usr/lib/enigma2/python/Plugins/SystemPlugins/ChannelsImporter/ChannelsImporter.py:273:copyFile
/usr/lib/python2.7/shutil.py:130:copy2
/usr/lib/python2.7/shutil.py:82:copyfile
]< 68.117>
< 68.123> [Skin] processing screen MessageBox:

so it has problems with alternatives. I must take a closer look when I am back home.

Ralf

Trial
03-11-19, 09:10
Hi,
again I have a problem with channels importer. Since 2-3 weeks it does not update the epg on first try I have to start it several times before epg is updated. Debug log does not show anything.

Ralf

Huevos
03-11-19, 13:48
Does epg.dat download to local? Does epg.dat exist on the server box?

The log must tell you something even if it is doesn't tell you the exact fault. Debug output from that plugin is extensive.

There is no change to the plugin so something else must have changed.

Trial
03-11-19, 17:28
Hi,
for me it looks normal:



< 63.995> [ChannelsImporter][saveEPGonRemoteReceiver] URL: http://192.168.178.226/api/saveepg
< 64.228> [ChannelsImporter][saveEPGonRemoteReceiver] Response: 200, { "message": "", "result": true}
< 64.229> [ChannelsImporter] Searching for epg.dat...
< 64.239> [ChannelsImporter] Downloading remote file 'settings'
< 64.254> [eDVBServicePlay] timeshift
< 64.269> [Console] finished: /usr/bin/ntpdate-sync
< 64.270> [NetworkTime] setting E2 time: 1572796632.95
< 64.528> [ChannelsImporter] Remote EPG filename. '/media/hdd/epg.dat'
< 64.532> [ChannelsImporter] Downloading remote file '/media/hdd/epg.dat'
< 64.895> [SoftcamManager] Couldn't find oscam-emu running, Starting oscam-emu
< 64.896> [Console] command: ps.procps | grep softcams | grep -v grep | awk 'NR==1' | awk '{print $5}'| awk -F'[/]' '{print $4}' > /tmp/softcamRuningCheck.tmp
< 64.896> [eConsoleAppContainer] Starting /bin/sh
< 65.034> [Console] finished: ps.procps | grep softcams | grep -v grep | awk 'NR==1' | awk '{print $5}'| awk -F'[/]' '{print $4}' > /tmp/softcamRuningCheck.tmp
< 66.899> [Console] command: ulimit -s 512;/usr/softcams/oscam-emu -b
< 66.899> [eConsoleAppContainer] Starting /bin/sh
< 67.008> [Console] finished: ulimit -s 512;/usr/softcams/oscam-emu -b
< 67.132> [eDVBServicePMTHandler] OCready
< 67.550> [ChannelsImporter] '/media/hdd/epg.dat' downloaded successfully.
< 67.551> [ChannelsImporter] Removing current EPG data...
< 69.341> [eEPGCache] delay epgcache load until channel data is ready
< 69.341> [ChannelsImporter] New EPG data loaded...
< 69.341> [ChannelsImporter] Closing importer.


but this attempt failed. Sometimes it works on startup as it was doing the last month but sometimes I have to call it manually 2-5 times and it seems always the EPG which is missing. Where is the epg.dat downloaded to so I can check next time what was downloaded? The file on the server must be OK otherwise it would not load when I retry.

It happens on my slow Solo2 but also on the fast Ultimo4K.

Ralf

Huevos
03-11-19, 21:19
To /tmp and then copied to the correct (user defined) location.

https://github.com/oe-alliance/oe-alliance-plugins/blob/master/ChannelsImporter/src/ChannelsImporter.py#L228-L234

soapy
10-11-19, 10:05
Will this work on a zgemma i55 plus. I am thinking of getting one of these and setting it up as the server box to receive channels from my h2s which is the client box. Don't know if it matters that the i55 has no tuners of its own?

Sicilian
10-11-19, 11:21
Will this work on a zgemma i55 plus. I am thinking of getting one of these and setting it up as the server box to receive channels from my h2s which is the client box. Don't know if it matters that the i55 has no tuners of its own?

Yes runs great on i55 plus.

twol
10-11-19, 11:25
The server is the one with tuners. The client boxe(s) can or may not have any tuners.

Trial
10-11-19, 11:36
Hi,
am I the only one with problems? There seems to be a timing problem with the EPG. The channel list is always perfect but EPG only in 1 of 3-5 tries:-( My EPG has around 13MB.

Ralf

soapy
10-11-19, 12:10
Cheers form your help. I'll order the i55 as my secondary box

Huevos
11-11-19, 09:13
Hi,
am I the only one with problems? There seems to be a timing problem with the EPG. The channel list is always perfect but EPG only in 1 of 3-5 tries:-( My EPG has around 13MB.

Ralf

PLi also seems to have a timing issue with their EPG import. Can you try with "client mode", not "Channels Importer" and see if you have the same problem. Did you try adding some sleep time? My guess is you are importing an incomplete epg.dat file, or that the file doesn't import due to the renaming on the server while saving.

Please provide more information.

Trial
11-11-19, 10:04
Hi,
client mode where? I try when I am back home.

Ralf

twol
11-11-19, 10:37
Hi,
client mode where? I try when I am back home.

Ralf

Go to tuner setup On client box - choose client mode (disables tuners)

Trial
11-11-19, 13:15
Hi,
I thought so but I do not want to disable tuners I only want bouquets and EPG. I have 4 SCR on each of my 5 systems so client mode is not needed.

Ralf

Huevos
11-11-19, 18:54
Ralf, it is a test. I am trying to work out where the problem is. I am not asking you to change what you are currently using. Just to disable it and then test with client mode.

Trial
11-11-19, 19:36
Hi,
OK I think I changed it. Do I have to disable my internal tuner?

Ralf

twol
11-11-19, 19:51
It should do it all automatically

Trial
15-08-20, 08:07
Hi,
channels importer has a problem with alternative channels. If alternatives are define they are called alternatives.channel.tv and links to these files are stored in the bouquets. The problem is that the ftp part of the importer does not copy these alternative files but the plugin will still try to copy these files from /tmp to /etc/enigma2 which must fail. FTP part should also copy alternative files.

Ralf

Orlandox
08-10-22, 15:51
Hello, I installed ChannelsImporter, but I can't see it anywhere (OpenViX 6.2.010) ? Should it be in System menu ?

Huevos
08-10-22, 18:30
https://github.com/oe-alliance/oe-alliance-plugins/blob/master/ChannelsImporter/src/plugin.py#L122

Huevos
08-10-22, 18:33
That "menu_path" stuff needs removing.

Orlandox
08-10-22, 19:12
Thanx, I found it.

64320

Huevos
08-10-22, 19:50
Ok, updated here: https://github.com/oe-alliance/oe-alliance-plugins/commit/453d47475da315dc2afda38f430533fb5e2f70be

Please try.

I doubt the translate stuff would work with the previous version.

Orlandox
08-10-22, 20:01
Ok, updated here: https://github.com/oe-alliance/oe-alliance-plugins/commit/453d47475da315dc2afda38f430533fb5e2f70be

Please try.

I doubt the translate stuff would work with the previous version.

Will test it tomorrow.

Orlandox
09-10-22, 06:19
Tested and OK (never translated to finnish).