NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 2 3 4 5 … 93 Next »
Loading Local Video Files

 
  • 0 Vote(s) - 0 Average
Loading Local Video Files
Syler
Offline

Junior Member

UK
Posts: 20
Threads: 2
Joined: Dec 2020
#11
2020-12-29, 03:05 PM
Do you mean like this?

<filename>/home/syler/test/cat\ 2.mp4</filename>

That doesn't work.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,087
Threads: 957
Joined: May 2006
#12
2020-12-29, 03:21 PM
That was my thought yes.

Are you sure the server account has access to that folder?

Martin
Syler
Offline

Junior Member

UK
Posts: 20
Threads: 2
Joined: Dec 2020
#13
2020-12-29, 04:08 PM
I needed a break, the file wasn't in the folder, don't ask Big Grin



I still have a problem though which might be permissions as you suggested.



I can't add my drive with the videos files on it, as a Recording Directory in Settings



2020-12-29 15:46:27.405 [DEBUG][79] method=setting.recording.directories.add

2020-12-29 15:46:27.405 [DEBUG][79] parameters:

2020-12-29 15:46:27.405 [DEBUG][79]   method: setting.recording.directories.add

2020-12-29 15:46:27.405 [DEBUG][79]   format: json

2020-12-29 15:46:27.405 [DEBUG][79]   name: mymedia

2020-12-29 15:46:27.405 [DEBUG][79]   directory: /media/syler/Media Storage/

2020-12-29 15:46:27.405 [DEBUG][79]   sid: 6ef53416-1dc7-4134-8b7b-04d265abd180

2020-12-29 15:46:27.405 [DEBUG][79]   client_ip: 127.0.0.1

2020-12-29 15:46:27.405 [DEBUG][79]   user_agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0

2020-12-29 15:46:27.405 [DEBUG][79]   host_callback: syler-asus-b350-plus:8866

2020-12-29 15:46:27.405 [DEBUG][79] setting.recording.directories.add

2020-12-29 15:46:27.405 [DEBUG][79] {"stat":"Failed","code":11,"msg":"Directory /media/syler/Media Storage/ does not exist"}



I also renamed the drive, with no spaces, to be sure.



2020-12-29 15:56:46.116 [DEBUG][92] method=setting.recording.directories.add

2020-12-29 15:56:46.116 [DEBUG][92] parameters:

2020-12-29 15:56:46.116 [DEBUG][92]   method: setting.recording.directories.add

2020-12-29 15:56:46.116 [DEBUG][92]   format: json

2020-12-29 15:56:46.116 [DEBUG][92]   name: mymedia

2020-12-29 15:56:46.116 [DEBUG][92]   directory: /media/syler/MediaStorage/

2020-12-29 15:56:46.116 [DEBUG][92]   sid: 6ef53416-1dc7-4134-8b7b-04d265abd180

2020-12-29 15:56:46.116 [DEBUG][92]   client_ip: 127.0.0.1

2020-12-29 15:56:46.116 [DEBUG][92]   user_agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0

2020-12-29 15:56:46.116 [DEBUG][92]   host_callback: syler-asus-b350-plus:8866

2020-12-29 15:56:46.116 [DEBUG][92] setting.recording.directories.add

2020-12-29 15:56:46.116 [DEBUG][92] {"stat":"Failed","code":11,"msg":"Directory /media/syler/MediaStorage/ does not exist"}





I can access the location in the browser so is there something I need to change in the NextPVR configurations to access that location?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,087
Threads: 957
Joined: May 2006
#14
2020-12-29, 04:14 PM
Not sure which platform you are using but if it is linux with the deb installer read this https://forums.nextpvr.com/showthread.ph...#pid524823

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,785
Threads: 769
Joined: Nov 2003
#15
2020-12-29, 05:38 PM
(2020-12-29, 04:08 PM)Syler Wrote: I needed a break, the file wasn't in the folder, don't ask Big Grin
Big Grin
Syler
Offline

Junior Member

UK
Posts: 20
Threads: 2
Joined: Dec 2020
#16
2021-01-11, 06:12 PM
I still can't access my video files in /media, I have changed the permission as suggested, I have even made NextPVR the owner but still not working. Any ideas?

I carried on creating the tool anyway and have now got it working how I like, although there are still some things I want to add.

https://github.com/1Syler/nextpvr-importer
Syler
Offline

Junior Member

UK
Posts: 20
Threads: 2
Joined: Dec 2020
#17
2021-02-25, 07:27 PM
I have nearly completed an integrated version, I just have a few little bits to finish. I just tested it with > 4000 files and it successfully imported them, I want to delete them all now though, is there a way to delete them in bulk?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,087
Threads: 957
Joined: May 2006
#18
2021-02-25, 07:30 PM
Sqlite3 npvr.db3

delete from scheduled_recordings

Martin
Syler
Offline

Junior Member

UK
Posts: 20
Threads: 2
Joined: Dec 2020
#19
2021-02-25, 09:03 PM
Great, that did the job, thanks Martin.

Couldn't this be implemented in the UI, it's seems easy enough? Can I run python files on the server?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,087
Threads: 957
Joined: May 2006
#20
2021-02-25, 09:14 PM
I feel it would be a ridiculous command to have on a server. I can run python on all my servers including Docker.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Video streaming URL and parameters? cncb 1 1,910 2021-10-22, 06:58 PM
Last Post: sub
  Extras device - using hardware video encoder gdogg371 6 3,342 2021-03-09, 12:18 AM
Last Post: gdogg371
  Resuming a video imilne 28 14,968 2016-10-30, 09:27 PM
Last Post: mvallevand
  How to tell when video playback has finished in web client? cncb 6 4,351 2015-09-29, 08:07 PM
Last Post: cncb
  VIdeo playback from plugin mvallevand 5 3,582 2015-08-06, 10:43 PM
Last Post: sub
  Trouble loading .NET System assemblies bgowland 3 2,435 2013-10-31, 02:37 AM
Last Post: bgowland
  Inset Video - Stop mvallevand 2 2,113 2013-08-07, 09:57 PM
Last Post: mvallevand
  sabnzbd plugin to show processed files Wakalaka 1 2,001 2013-03-12, 06:48 AM
Last Post: psycik
  Video Library Fanart Transparency tieke 7 4,007 2013-01-09, 08:23 AM
Last Post: tieke
  NMT Video Playback - does it receive start/stop events psycik 8 3,503 2012-07-15, 10:01 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