NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 6 7 8 9 10 … 26 Next »
Channel logos

 
  • 0 Vote(s) - 0 Average
Channel logos
Armsp0
Offline

Junior Member

New Zealand
Posts: 34
Threads: 8
Joined: Jan 2022
#1
2022-02-05, 05:57 AM
No channel logos visible in the guide on my NextPVR install. I have a zip file with them all but where would I put them? Ubuntu 20.04
Armsp0
Offline

Junior Member

New Zealand
Posts: 34
Threads: 8
Joined: Jan 2022
#2
2022-02-05, 07:21 AM
Found this /var/opt/nextpvr/media/channels
I’m guessing as long as the logo names and channel names are the same NextPvr will use them when restarted?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,333
Threads: 867
Joined: May 2006
#3
2022-02-05, 12:57 PM
Correct.

Martin
Armsp0
Offline

Junior Member

New Zealand
Posts: 34
Threads: 8
Joined: Jan 2022
#4
2022-02-07, 10:34 PM
Logo files now in channels directory using sftp but not after some permissions hell, I have learned a lot through this! Thanks for the assistance Martin.
I can see the logos in the live TV selection page but not in the guide but that's progress. Also see a bunch of what i presume to be the vexed orphan .ts files in the recordings directory. I will school myself on scripts and see if i can get the postEPGupdate thing happening.
snagglewest
Offline

Senior Member

VA USA
Posts: 352
Threads: 57
Joined: Jul 2011
#5
2022-02-08, 05:59 PM
The livetv orphans seem to be a linux thing.  I'm recording to a NFS share which also might be some if the issue to but the simple solution is to add a line in your PostUpdateEPG.sh to delete them.  If you haven't found them yet scrips go into  "/var/opt/nextpvr/scripts/" in linux.  

Here's my code if it helps which deletes all .ts files older than 300 min in the livetv directory when PostUpdateEPG.sh runs each day.

Code:
#!/bin/bash
# delete all .ts files in the livetv directory that are older than 300 minutes
# when the PostUpdateEPG.sh runs each day to eliminate orphan files.

find /home/npvr/livetv/*.ts -type f -mmin +300 -exec rm {} \;
NextPVR V6.1.1.221102 - Ubuntu 20.04 VM / 4 core / 8Gb memory
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS Core 13.0 / SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2
Armsp0
Offline

Junior Member

New Zealand
Posts: 34
Threads: 8
Joined: Jan 2022
#6
2022-02-08, 07:27 PM (This post was last modified: 2022-02-08, 07:28 PM by Armsp0.)
(2022-02-08, 05:59 PM)snagglewest Wrote: The livetv orphans seem to be a linux thing.  I'm recording to a NFS share which also might be some if the issue to but the simple solution is to add a line in your PostUpdateEPG.sh to delete them.  If you haven't found them yet scrips go into  "/var/opt/nextpvr/scripts/" in linux.  

Here's my code if it helps which deletes all .ts files older than 300 min in the livetv directory when PostUpdateEPG.sh runs each day.

Code:
#!/bin/bash
# delete all .ts files in the livetv directory that are older than 300 minutes
# when the PostUpdateEPG.sh runs each day to eliminate orphan files.

find /home/npvr/livetv/*.ts -type f -mmin +300 -exec rm {} \;

The levels of support in this forum are exceptional, thank you
Armsp0
Offline

Junior Member

New Zealand
Posts: 34
Threads: 8
Joined: Jan 2022
#7
2022-02-08, 09:03 PM
(2022-02-08, 07:27 PM)Armsp0 Wrote:
(2022-02-08, 05:59 PM)snagglewest Wrote: The livetv orphans seem to be a linux thing.  I'm recording to a NFS share which also might be some if the issue to but the simple solution is to add a line in your PostUpdateEPG.sh to delete them.  If you haven't found them yet scrips go into  "/var/opt/nextpvr/scripts/" in linux.  

Here's my code if it helps which deletes all .ts files older than 300 min in the livetv directory when PostUpdateEPG.sh runs each day.

Code:
#!/bin/bash
# delete all .ts files in the livetv directory that are older than 300 minutes
# when the PostUpdateEPG.sh runs each day to eliminate orphan files.

find /home/npvr/livetv/*.ts -type f -mmin +300 -exec rm {} \;

The levels of support in this forum are exceptional, thank you

Ok I have created the shell script PostUpdateEPG.sh in the scripts folder and run it manually to check it works and it does, will NextPVR run these scripts so long as they exist or is it necessary to place a call in the script to run the thing after the update, if so what would that look like?
snagglewest
Offline

Senior Member

VA USA
Posts: 352
Threads: 57
Joined: Jul 2011
#8
2022-02-10, 08:38 PM
Yes, it will run automatically after the EPG is updated as long as it's in the scripts folder.
NextPVR V6.1.1.221102 - Ubuntu 20.04 VM / 4 core / 8Gb memory
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS Core 13.0 / SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  How can I change the displayed channel name? Deihmos 13 464 2023-01-17, 01:35 PM
Last Post: mvallevand
  Current extras tuner process not stopped when recording on another channel is schedul greatwhitenorth 4 183 2022-12-04, 09:37 PM
Last Post: greatwhitenorth
  channel updates superray2 1 153 2022-12-02, 05:18 PM
Last Post: sub
  Channel scan only find the 1st virtual channel in frequency thetrio 29 908 2022-11-07, 11:35 PM
Last Post: sub
  Channel count different between Linux and Windows chrisbtx 1 152 2022-10-04, 05:31 PM
Last Post: mvallevand
  channels renumbered when ONE channel is added? markosjal 1 256 2022-05-22, 01:05 PM
Last Post: mvallevand
  avoiding multiple appearances of the same channel markosjal 1 270 2022-05-12, 05:16 AM
Last Post: sub
  After selecting the first channel, changing it fails to play apsmckernan@hotmail.com 5 498 2022-01-11, 04:11 PM
Last Post: mvallevand
  How to export and import channel configuration Marty56 7 915 2021-12-07, 04:47 PM
Last Post: sub
  Unable to Stream One Channel bweston6 7 743 2021-07-29, 06:38 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode