NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC X-NEWA v
« Previous 1 … 3 4 5 6 7 … 13 Next »
Clarification of Path Substitution

 
  • 0 Vote(s) - 0 Average
Clarification of Path Substitution
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#11
2017-02-27, 05:41 PM
Running on linux based box the from needs slashes not back slashes. If that doesn't solve it configure a share with the same IP path, play from the Video Library and upload your log showing playback.

Most people use web client so I didn't find x-newa at first. Since you are using MySQL it is not logical to use x-newa instead of the Video Library.

Martin
Phydeaux
Offline

Junior Member

Posts: 19
Threads: 2
Joined: Feb 2017
#12
2017-02-27, 06:30 PM
You da man, mvallevand!

Works fine now with: <from>D:/Recorded TV/</from>
My logic was that X-NEWA is looking at NextPVR, which is on a windows machine, and would be telling Kodi to play D:\Recorded TV\Foo.ts. But I guess it must translate that since it's running on a Linux-based Kodi. In any case, it's all good...

... but you haven't gotten rid of me yet! I'll be looking for assistance in getting Live TV working shortly in another thread.


With respect to your second comment - logic is not my middle name, ha ha...

The MySQL database holds my library of TV Shows and Movies which have been ripped from DVDs and Bluray discs I own. But for day to day recordings I use SageTV (will shortly be replaced by NextPVR). I don't bother scanning them into my library because I won't keep them, I just watch them and then delete them. SageTV worked great for me but I had to either remote control it (it's on a headless server) or use the web interface to set recordings, then delete them after I watched. I prefer to be able to do that all within Kodi with a single remote control in hand, from my couch (beer in the other hand). There is a basic SageTV plugin for Kodi, but it's clunky and searching the guide to select things for future recordings was painful. The NextPVR plugin for Kodi promised a more convenient experience. But the X_NEWA plugin does me one better, allowing the recordings commercials to be skipped.

Cheers and thanks so much for your help!
Robert
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#13
2017-02-27, 06:42 PM
The slash was my first guess but in post #1 you had it correct.

For Live TV if it is your R5000 increase your NetworkRecorder.xml delay to 5000 or more.

Martin
Phydeaux
Offline

Junior Member

Posts: 19
Threads: 2
Joined: Feb 2017
#14
2017-02-27, 07:01 PM
Yep, nailed it again Martin! Works every time now...

I hate to stray off topic in a thread, but could you point me to an existing thread regarding cleanup of the zero byte files left behind after watching live tv?

Cheers,
Robert
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#15
2017-02-27, 09:15 PM
Phydeaux Wrote:I hate to stray off topic in a thread, but could you point me to an existing thread regarding cleanup of the zero byte files left behind after watching live tv?

Not worth searching just modify updateepg.bat to delete live*.ts in your live tv folder.

Martin
Phydeaux
Offline

Junior Member

Posts: 19
Threads: 2
Joined: Feb 2017
#16
2017-02-27, 10:00 PM
Yep, good plan, simple.

Cheers,
RLW
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#17
2017-03-01, 01:48 AM (This post was last modified: 2019-01-30, 12:59 PM by jksmurf.)
In case anyone was looking for an example for syntax purposes, here's mine, which took me a while to get my head around as well :-)

The path substitution part is in bold; the part above it is (more) specific to my RPi2 with Kodi 17 (note the split to cache and network).

Code:
<advancedsettings>
    <cache>
        <buffermode>1</buffermode> <!-- Comment: Default is 1, 0 is disk -->
        <cachemembuffersize>139460608</cachemembuffersize> <!-- Comment: 104857600 is 100MB, Default is 20971520 bytes or 20 MB, For high bit rate over Ethernet use a memorysize of 314572800  -->
        <readbufferfactor>5</readbufferfactor>  <!-- Comment: Default is 4.0 -->
    </cache>
    <network>
        <curlclienttimeout>10</curlclienttimeout> <!-- Timeout in seconds for libcurl (http/ftp) connections; 20 for slow internet -->
          <curllowspeedtime>10</curllowspeedtime> <!-- Time in seconds for libcurl to consider a connection lowspeed; 20 for slow internet -->
        <curlretries>2</curlretries> <!-- Amount of retries for certain failed libcurl operations (e.g. timeout) -->
    </network>
[B]    <pathsubstitution>
        <substitute>
          <from>D://GBPVRVids/</from>
          <to>smb://SMURFPC/GBPVRVIDS/</to>
        </substitute>
        <substitute>
          <from>G://ArchivedMovies/</from>
          <to>smb://SMURFPC/ARCHIVEDMOVIES/</to>
        </substitute>
    </pathsubstitution>[/B]
</advancedsettings>
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#18
2017-03-01, 02:00 AM
jksmurf Wrote:In case anyone was looking for an example for syntax purposes, here's mine, which took me a while to get my head around as well :-)

The path substitution part is in bold; the part above it is (more) specific to my RPi2 with Kodi 17 (note the split to cache and network).

Code:
<advancedsettings>
    <cache>
        <buffermode>1</buffermode> <!-- Comment: Default is 1, 0 is disk -->
        <cachemembuffersize>139460608</cachemembuffersize> <!-- Comment: 104857600 is 100MB, Default is 20971520 bytes or 20 MB, For high bit rate over Ethernet use a memorysize of 314572800  -->
        <readbufferfactor>5</readbufferfactor>  <!-- Comment: Default is 4.0 -->
    </cache>
    <network>
        <curlclienttimeout>10</curlclienttimeout> <!-- Timeout in seconds for libcurl (http/ftp) connections; 20 for slow internet -->
          <curllowspeedtime>10</curllowspeedtime> <!-- Time in seconds for libcurl to consider a connection lowspeed; 20 for slow internet -->
        <curlretries>2</curlretries> <!-- Amount of retries for certain failed libcurl operations (e.g. timeout) -->
    </network>
[B]    <pathsubstitution>
        <substitute>
          <from>smb://GBPVRVids/</from>
          <to>smb://SMURFPC/GBPVRVIDS/</to>
        </substitute>
        <substitute>
          <from>smb://ArchivedMovies/</from>
          <to>smb://SMURFPC/ARCHIVEDMOVIES/</to>
        </substitute>
    </pathsubstitution>[/B]
</advancedsettings>

That should not do anything. If comskip is working it is probably because you record to a named share which means you don't need advanced settings.

Martin
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#19
2017-03-01, 06:35 AM
mvallevand Wrote:That should not do anything. If comskip is working it is probably because you record to a named share which means you don't need advanced settings.

Martin

Lol.... OK:o Works all the same !
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#20
2017-03-06, 02:10 PM (This post was last modified: 2019-02-16, 11:13 PM by jksmurf.)
Changed to this not only changed paths but corrected the cache settings for Krypton which have new names.

Code:
In Kodi v17, the following tags are removed from <network> and placed under a new <cache> tag.
Also, <cachemembuffersize> is renamed to <memorysize> and <readbufferfactor> is renamed to <readfactor>.

From http://kodi.wiki/view/HOW-TO:Modify_the_...17_changes

Code:
<advancedsettings>
    <cache>
        <buffermode>1</buffermode> <!-- Comment: Default is 1, 0 is disk -->
        <[B]memorysize[/B]>139460608</[B]memorysize[/B]> <!-- Comment: 104857600 is 100MB, Default is 20971520 bytes or 20 MB, For high bit rate over Ethernet use a memorysize of 314572800  -->
        <[B]readfactor[/B]>10</[B]readfactor[/B]>  <!-- Comment: Default is 4.0 -->
    </cache>
    <network>
        <curlclienttimeout>10</curlclienttimeout>  <!-- Timeout in seconds for libcurl (http/ftp) connections; 20 for slow internet -->
          <curllowspeedtime>10</curllowspeedtime>  <!-- Time in seconds for libcurl to consider a connection lowspeed; 20 for slow internet -->
        <curlretries>2</curlretries>             <!-- Amount of retries for certain failed libcurl operations (e.g. timeout) -->
    </network>
    <pathsubstitution>
        <substitute>
          <from>[B]D:/[/B]GBPVRVids/</from>
          <to>smb://SMURFPC/GBPVRVIDS/</to>
        </substitute>
        <substitute>
          <from>[B]G:/[/B]ArchivedMovies/</from>
          <to>smb://SMURFPC/ARCHIVEDMOVIES/</to>
        </substitute>
    </pathsubstitution>
</advancedsettings>
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Path Substitution jcjefferies 16 7,932 2018-09-17, 09:33 AM
Last Post: jcjefferies
  Problem with path substitution BrettB 21 12,671 2016-05-05, 08:14 AM
Last Post: nitram
  X-NEWA UNC Path? smajor 7 3,765 2014-12-31, 11:06 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