NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Docker amd64 v
« Previous 1 2 3 4 5 6 … 9 Next »
Updating Extras-Tuner BASH arguments in DB

 
  • 0 Vote(s) - 0 Average
Updating Extras-Tuner BASH arguments in DB
ChrisHammond56
Offline

Junior Member

Posts: 39
Threads: 5
Joined: Mar 2015
#1
2022-06-20, 04:14 PM
Is there a way to update the BASH command line arguments in the DB without uninstalling the Extras Tuners. I have the system up and running quite well (with some issues that are in-progress fix at the moment). However, I changed the command line options in the extras.xml, but NPVR still has the older script options.

I assume the change has not be actioned is because the CHANNEL_MAPPING.locator.args is already defined, and unless the channels are removed, they wont need updating.

Can the NextTool.dll be used to replace the <args> for the channel mappings, or do I have to export the DB and perform a SQL Query to do that offline?

Thanks
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#2
2022-06-20, 04:27 PM
Did you update the extra via the GUI?

Martin
ChrisHammond56
Offline

Junior Member

Posts: 39
Threads: 5
Joined: Mar 2015
#3
2022-06-20, 04:59 PM (This post was last modified: 2022-06-20, 05:00 PM by ChrisHammond56.)
No. The BASH command line arguments are in the Extra-Tuner.xml. I cannot see where to add that in the GUI.

If you mean re-scan the channels, then would that update the details based on the new contents of the Extras-Tuner.xml?

If so, sorry for bothering you as I didn't think of that. Would this have any effect on scheduled recordings?

Having said that, if i re-scan, would that not mean I have to selected/deselect my channels again (Schedules Direct)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#4
2022-06-20, 05:07 PM
I use the number='"" in my Extra to make sure NextPVR uses the same channel number but I don't think sub implemented updating for Extras so when you click scan you get new channels. This is why I typically call a script to handle parameters.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#5
2022-06-20, 05:31 PM
The extra xml file are only read at import time. After that, it's just using the data already in the database, so editing the xml file wont do anything.

As Martin suggested above, I don't think we implemented an 'update' feature to pull in the extra channels again.
ChrisHammond56
Offline

Junior Member

Posts: 39
Threads: 5
Joined: Mar 2015
#6
2022-06-20, 10:38 PM
Maybe an improvement for a future release to add the Extras Update capability?

For anyone that could be following this thread. I used DB Browser for SQLite (https://sqlitebrowser.org/) and loaded the DB into it. Go to the Execute SQL tab and use an UPDATE with REPLACE query

UPDATE
CHANNEL_MAPPING
SET
tuning = REPLACE(tuning,'your original args','your new args');

original args example: '/config/scripts/blaster.sh {channel} satbox'
new args example: '/config/scripts/channelchange.sh --channel {channel} --tuner satbox --client NPVR'

If you have multiple Extras Tuners, then you will need to repeat with a different search/replace string dependent on your HW setup
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#7
2022-06-20, 10:47 PM
Yep an 'update' feature for extras is definitely on the to-do list.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  HDHomeRun tuner / TV guide issues. Atanoman 4 451 2024-12-10, 02:13 AM
Last Post: Atanoman
  Updating scan tables LL88 2 504 2024-06-14, 11:25 AM
Last Post: LL88
  Tuner availability issue Atanoman 4 927 2023-11-13, 11:44 PM
Last Post: Atanoman
  Non updating EPG aTF6i 58 9,776 2023-07-04, 08:54 PM
Last Post: joshskey
  Recordings sometimes cutoff and EPG not updating stonedemoman 3 1,010 2022-06-20, 02:03 PM
Last Post: mvallevand
  No tuner grimevil 30 7,197 2020-08-30, 07:19 PM
Last Post: mvallevand
  Extras Tuner support for unicast/multicast streams ChrisHammond56 9 2,773 2020-07-29, 12:13 AM
Last Post: mvallevand
  Tuner devices not available after upgrade to 5.0.0.190826 vintdiesel 9 3,141 2019-08-27, 07:26 AM
Last Post: sub
  sat > ip tuner gromgsxr 7 3,431 2019-06-26, 09:05 PM
Last Post: gromgsxr

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

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

Linear Mode
Threaded Mode