Posts by edit4ever

    A couple of testing updates...

    I still seem to have about a 50% boot success rate. Again - not sure if this is due to issues with my box or something in the code between S802 and S812. Will be interested to hear others results. When it's running it's quick and solid.

    I seem to have an issue with writing to an SD card. The card mounts and if I ssh in it seems that it has read/write/execute permissions for all...but I can't seem to write to the drive. I tried creating a folder through LE file manager and I tried using the card as recording space for tvheadend. Both seemed to reveal a read only status with both NTFS and extfs formats. Since I am able to mount and record to an external usb drive, it seems this would be some sort of sdcard limitation.

    This is the difference between the way the two drives mount ("REC" is the sdcard and "drive" is an external usb hard drive)

    Code
    drwx------    3 1000     1000          4096 Aug  8 21:46 REC
    drwxr-xr-x    4 root     root          4096 May 14 10:55 drive

    Maybe this is normal for LE - but I want to be able to record to sdcards, so I will need to solve it.

    In the meantime, I'll keep running tests on this system and post any other issues...but so far the M8S+ is happy with LE!!

    I thought I would kick off this thread with some positive news. I want to thank drieschel for the work on the S802 builds!!

    I can confirm that this is running on an M8S+ which I upgraded from a working OE 6.95.1.1 kerber build

    LE is much better! I have never been able to watch live TV video from a usb tuner with OE and with this LE build running TVheadend - I now have the most affordable pvr in the world.

    I will note that it took a few restarts to get running. The IR remote is not working (I have an RF MX3 so no worries there) and I sometimes don't get a clean boot. It could be due to my box having to have pins shorted while working with different firmware, but when it does boot it is running well.

    Since the IR does work from the kerber build, drieschel you could look into his source for any differences: GitHub - surkovalex/OpenELEC.tv at openelec-6.0

    One other note - not specific to this build - the tvheadend 4.2 addon is still missing the ATSC predefined muxes. This was being looked into in the past but I haven't seen any updates on it. The versions at index - powered by h5ai v0.29.0 (https://larsjung.de/h5ai/) have this issues as well (tested on Rpi3)

    Thanks again for the great work on this release. I'll continue testing and encourage others with working OE builds to jump in on the upgrade to LE!!

    No worries - this really is much harder than what it should be. Trying to get all of this working with the variety of boxes, tuners and other variables is quite a mess.

    Glad you have it running. Not sure why the TVguide data is not loading into tvheadend. It is downloading and building the xmltv file correctly. I'll see if the original code writer has any thoughts.

    You can feel free to try out all of the other settings in zap2xml now that you have it working. :)

    I did some additional testing on another box that I have...when I used the TVguide data I had the same issue you are having. When I switched to zap2it data the programs loaded. Looks like there is a code issue in my program for tvguide that is keeping tvheadend from loading the programs.

    If you change to zap2it in the zap2xml addon. You'll need to reboot...then go into the tvheadend web interface and change the epg source to the zap2it listing instead of the tvguide listing. Once you do that, you can rerun the internal grabber (might take two times) and you should see programs load.

    I'll take a look at my tvguide code and see what is going on there - but let me know if this works for you!

    ok good - BTW you can have that field displayed in the channel tab window...not sure why it's missing on yours. Just click on the drop down icon on one of the column names and select the field to have it appear in the window.
    [hr]
    OK everything looks right here. I would suggest leaving it like it is overnight. It will autoupdate the guide overnight and if we're lucky start pulling the program data. NOt sure why it isn't just working now, but it looks like all your settings are right. The only other setting I see different from mine is on the epg grabber tab. I have the Channel Numbers (heuristic) setting disabled. I don't know why that would cause any issue but if you want to disable it and set the priority to 1 before you leave it for the night - that's my last suggestion for now. :(

    can you post the channels tab screen grab with the epg source field in the screen?
    [hr]
    the scanfile stuf is the predefined mux data for the other regions in the world. You likely didn't see them as you didn't have the log window open early enough in the past. It's not relevant for us. :)

    another way to make sure they are connected is to enable the update channel name button on the epg grabber tab - you should see the channel names change to the station number/name that is in the xmltv file.
    [hr]
    also - I think you'll need to turn off the automatically name from network button on the channels tab.

    for now - on the channels tab try turning off the automatically map epg source buttons and manually select the epg source for each channel - then post that screen again.
    [hr]
    It is likely that the channel is not mapping to teh epg source since you have the automatically name the network button checked - which is using the names that the stations want and not the call letters that are in the epg data. Hopefully if you manually map the epg source it will solve that issue.

    The versions of tvheadend that I uploaded are only for 7.0-7.02 they don't work on the alpha 7.90 builds. For that - just install from the repository. I'll post the muxes settings in a couple of minutes.
    [hr]
    To setup the muxes manually - you need to go to the CONFIGURATION/DVB INPUTS/MUXES tab. This is after you have setup the ATSC network and enabled your TVADAPTER for the ATSC network. Don't worry that you don't have any muxes yet when you create the ATSC network - we'll do that next.

    From the MUXES tab, click add - in the popup window select your ATSC network.

    The only field you need to change is the frequency line. For each main digital channel you will create a mux. Below I have included a list of all the transmitting stations in your area. I apologize - some of the formatting might be messy in the list. You may not be able to receive them all - but you can start with the channels you know you can receive. So in the list below, you'll see that WUNC channel 4 transmits 4 channels (4.1 4.2 4.3 and 4.4) on digital main channel 25. don't worry about all the . channels. In the second list I have below you'll find the digital transmission channel number, and then the Khz of that frequency. So for digital channel 25 the frequency is 545 Khz.

    Raleigh Stations.txt

    ATSC frequncies.txt

    Now back to our tvheadend mux setup. To setup the mux for digital channel 25 - in the frequency field you'll enter the Khz value but converted to Mhz - so 545 should be entered as 545028000 -- don't ask where the 028 comes from :) basically just add 028000 to the end of the Khz number.

    Once you enter that - save it and it will scan the channel in the background and find the services (which you will setup as the channels)

    Repeat this step for each of the digital channels you want to receive and then you'll have all your muxes. Based on your xmltv file you'll setup 7 muxes and the system will then find 19 services that you will map to channels.

    This should get you started...once you have channels setup - we'll connect again to see if we can get the guide data in! Good luck!!

    No worries - your xmltv.xml file looks great! That means you're getting the data downloaded for the channels you setup on tvguide as favorites.

    That means we just need to figure out why tvheadend is not connecting the channel to the epg source data.

    If you're now running 7.90.003 that should be a completely clean install of everything (including zap2xml) - unless you did it as an upgrade from the version of 7.0.2 that you were running. Either way - we can walk through the process. Let's work off of 4.2 as it has some better options for forcing the internal grabber to run. If you need to manually enter the muxes (because the predefined list is missing) I'll explain how to do that when you get back to the machine.

    Happy to help - it's my goal to get to a point where an affordable dvr is just easy to get running. Unfortunately, most of the people who work on all the software are in Europe - so our messed up US ATSC stuff doesn't get a lot of love. One day the US will get a better OTA tv system...but likely not for awhile!

    ok - seems strange. Let's confirm a few things...

    First - you are running a raspberry pi 3 and libreelec 7.0.2?

    You have been able to run and web access tvheadend addon 4.0 but not 4.2 from the LE repository?

    What happened when you deleted all the files in the \\LIBREELEC\Userdata\addon_data\service.tvheadend42\channel folder? (likely the 4.0 folder instead)

    You have tried uninstalling all versions of the tvheadend addon and then through another computer deleted all tvheadend folders in the \\LIBREELEC\Userdata\addon_data folder?

    One thing we can check is what is getting downloaded...it seems from the log that zap2xml is running and pulling data. From your windows computer, go to the following folder \\LIBREELEC\Userdata\addon_data\tools.module.zap2xml

    You should see an xmltv.xml file there - open it (it's just a text document so use wordpad) and see if there is program listing in there. The program info will start after the channel listing data, which will be the first set of lines. A program listing will look something like this:

    If that info is not in the xmltv file - then we can target zap2xml. Otherwise we are targeting a tvheadend issue.

    The tvheadend versions I have are from CVH's builds. Here is the last version of 4.2 that contained the working list of muxes:

    Dropbox - service.tvheadend42-7.0.101-1928.zip

    You try uninstalling all versions of tvh, deleting the tvh folders in the userdata folder, reboot and then install this addon. If you install and can't access the web interface let me know and we can target that issue.

    First - uninstall the addon. In this case just tvheadend...you won't need to delete zap2xml.

    Then from windows explorer (the program that looks like a folder icon) Navigate to your network and find your librelec system. Here is a screengrab for reference:

    Dropbox - Screengrab network.jpg

    Then make your way to the \\LIBREELEC\Userdata\addon_data folder and delete any tvheadend folders. You may have a 4.0 and a 4.2

    Then reboot the system...reinstall the tvheadend addon and then you'll have to setup tvheadend again including scanning your muxes...turning off the other grabbers and connecting the zap2xml epg source to the channels.

    A little time consuming - but the only way to get a "clean" install. You should only see your favorites in the epg source channel list if zap2xml is setup right with your account.

    One more thing - if you want before you do all of this - just navigate to the same folder - and look for the channel folder in tvheadend...then delete the files in that folder - reboot and see if it cleans the list under epg source.