Guest User

LibreELEC Configuration for Pi TV Channel

a guest
Mar 17th, 2026
648
0
Never
4
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.10 KB | None | 0 0
  1. Initial setup of Raspberry Pi 1 B as a TV channel playback source
  2.  
  3. Intended for use with 4:3 CRT TVs
  4. Only H264/x264 encoded videos will work
  5. This walkthrough uses as many default settings as possible
  6. Configure additional settings as desired
  7.  
  8.  
  9. Decide whether to store videos on the OS SD card or a USB flash drive
  10. (This walkthrough covers loading them onto the SD card, but a video walkthrough linked at the bottom covers loading them from a flash drive.)
  11. Choose an SD card to be your boot drive
  12. Connect it to a Windows PC where you will be configuring the boot drive
  13. Go to https://libreelec.tv/downloads and download LibreElec Creator
  14. Install and run LibreElec Creator
  15. Click the checkbox for Show All
  16. In the Select Version dropdowns in section 1, make the following selections:
  17. Raspberry Pi Zero and 1
  18. LibreELEC-RPi.arm-7.0.3.img.gz, 116 MB
  19. Select the SD card in section 3 and ensure it is correct before proceeding
  20. Click the Write button
  21. After writing is complete, open the drive labeled LIBREELEC on your PC
  22. Open config.txt
  23. Verify that the Default GPU Memory Split is set to gpu_mem=128
  24. Scroll to the Various Settings section
  25. Add a new line after hdmi_ignore_cec_init=1 with the following text:
  26. sdtv_aspect=1
  27. Ensure there is no # or space or tab before this line of text
  28. Save config.txt, and eject SD card
  29.  
  30. Load SD card into Pi
  31. Connect USB mouse to Pi
  32. Connect Pi to CRT TV with composite cable
  33. Connect Pi to router with ethernet cable
  34. (This needs to be the same router that your PC is connected to.)
  35. Connect micro USB cable to power on
  36. During initial Kodi setup wizard, enable SSH and note IP address
  37. When setup wizard is complete:
  38. Mouse over System on main Kodi home screen
  39. Select Settings then select System
  40. In Audio, set audio output to Analogue
  41. In Video, select Video Calibration
  42. Adjust overscan corners to be just barely visible
  43. (Blue corner highlights will not be visible by default. Position mouse in lower right corner of screen, then click and drag towards the center. The blue corner should become visible. Repeat this process with upper left corner.)
  44. Click and drag right side of center square rightward to a 9.02 ratio
  45. Click close button in upper right corner to exit calibration
  46. Right click to go back in menus til reaching the main Kodi home screen
  47.  
  48. These steps configure the Pi to start playing random videos at bootup
  49. Return to PC, go to https://winscp.net/eng/download.php and download WinSCP
  50. Open WinSCP and enter IP address of Pi
  51. Default User Name: root
  52. Default Password: libreelec
  53. Click Login
  54. Press Ctrl+Alt+H to enable Show Hidden Files
  55. In /storage/.kodi/userdata, create new file called autoexec.py
  56. If storing videos on OS SD card, paste the following into autoexec.py file:
  57. import xbmc
  58. xbmc.executebuiltin("PlayMedia(/storage/videos,isdir)")
  59. xbmc.executebuiltin("PlayerControl(RandomOn)")
  60. xbmc.executebuiltin("PlayerControl(RepeatAll)")
  61. Save file
  62.  
  63. The following steps prevent UI overlay elements popping up between videos:
  64. Connect to Pi with WinSCP as before
  65. Copy folder "skin.confluence" from /usr/share/kodi/addons
  66. Paste folder to /storage/.kodi/addons
  67. Rename folder to "skin.confluence.edit"
  68. In /storage/.kodi/addons/skin.confluence.edit/720p, add "_Removed" to filenames:
  69. DialogBusy.xml
  70. DialogSeekBar.xml
  71. They should now read:
  72. DialogBusy_Removed.xml
  73. DialogSeekBar_Removed.xml
  74. In /storage/.kodi/addons/skin.confluence.edit, open addon.xml and edit:
  75. id="skin.confluence" to id="skin.confluence.edit"
  76. name="Confluence" to name="Confluence Edit"
  77.  
  78. These last steps will verify correct configuration and playback
  79. Connect to Pi with WinSCP as before
  80. Open /storage/videos and drag-and-drop a few video files from PC for testing
  81. Unplug and replug Pi
  82. Pi should automatically begin random playback upon boot
  83. Stop playback and return to main Kodi home screen
  84. From main Kodi home screen, select System>Settings>Appearance>Skin
  85. Select Skin - Confluence
  86. Select Confluence Edit from the popup list of skins
  87. Unplug Pi then replug Pi to simulate power outage and verify random playback
  88. Seek to near end of video and watch transition to verify overlay is disabled
  89. Stop playback and return to main Kodi home screen
  90. Connect to Pi with WinSCP and remove test video files if needed
  91. Transfer all desired video files to /storage/videos
  92. Reboot Pi and enjoy!
  93.  
  94.  
  95. Additionally, @probnotstech made a walkthrough video that covers the installation of LibreElec, editing the config.txt, and creating the autoexec.py file:
  96. https://www.youtube.com/watch?v=mCzcPr-aOIw
  97. This video uses a later release of LibreElec which has a bug that doesn't allow Video Calibration settings to be saved. The default settings it constantly resets to result in excessive overscan losses.
  98. Also, this video does not cover adjusting the skin settings to prevent UI elements from popping up on screen between every video.
  99. This video uses Putty for connecting to the Pi and editing configurations, while the written instructions above use WinSCP. This is just a matter of preference.
  100. This video offers an alternative configuration of playing the videos from a USB flash drive instead of the SD card used for the OS.
Advertisement
Comments
  • Ulrfiron
    44 days
    # CSS 0.85 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 38% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from Swapzone — instant swap).
  • Nikfikon
    39 days
    # CSS 0.84 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 38% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from Swapzone — instant swap).
  • Varwezil
    17 days
    # CSS 0.85 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1ifNm-s74mX7GChaEzSJ1dVQCy1SrSxlMVRYi8ys0rgQ/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
  • Fenbenos
    2 days
    # CSS 0.85 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1ifNm-s74mX7GChaEzSJ1dVQCy1SrSxlMVRYi8ys0rgQ/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
Add Comment
Please, Sign In to add comment