Modify

Ticket #4212 (closed defect: wontfix)

You must read the TicketHowTo before creating a new ticket or commenting on an existing ticket.

Opened 4 years ago

Last modified 2 years ago

mythweb doesn't support multiple directories for mythvideo

Reported by: Ash Bostock <abostock@…> Owned by:
Priority: minor Milestone: unknown
Component: Plugin - MythWeb Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The mythvideo part of mythweb will try to auto create a symlink in the data directory for mythvideo files. If you have defined multiple directories for mythvideo then this fails.

Attachments

mythweb_video.patch Download (1.6 KB) - added by octoberblu3 3 years ago.
mythweb_video2.patch Download (3.4 KB) - added by octoberblu3 3 years ago.
mythweb_video.22.patch Download (3.3 KB) - added by octoberblu3 2 years ago.
updated patch for trunk

Change History

comment:1 Changed 4 years ago by xris

  • Owner changed from ijr to kormoc

comment:2 Changed 4 years ago by kormoc

  • Status changed from new to accepted

comment:3 Changed 4 years ago by kormoc

  • Component changed from mythtv to mythweb

comment:4 Changed 4 years ago by kormoc

  • Milestone changed from unknown to 0.22

comment:5 Changed 4 years ago by Damian O'Sullivan <damian@…>

Hi kormoc,

Have you any ideas about this one? I also have a : seperated list of video dirs.

Thanks.

Changed 3 years ago by octoberblu3

comment:6 Changed 3 years ago by octoberblu3

Hi, I had this same problem. My work around was to manually create symlinks to the various directories and then use the patch I just uploaded to modify the Video.php file in the objects directory to handle the colon delimited list properly.

Just name the symlinks video, video2, video3 and so on in the same order as they appear in the settings.

I am using this on 0.21 fixes, current as of today (svn 19785).

Changed 3 years ago by octoberblu3

comment:7 Changed 3 years ago by octoberblu3

I added the other patch that will create the multiple symlinks. It works on my system, so I hope this helps others as well.

comment:8 Changed 3 years ago by kormoc

  • Owner kormoc deleted
  • Status changed from accepted to new
  • Component changed from mythweb to Plugin - MythWeb

comment:9 Changed 2 years ago by stuartm

  • Milestone changed from 0.22 to unknown

comment:10 Changed 2 years ago by kormoc

  • Status changed from new to closed
  • Resolution set to wontfix

With the migration of mythvideo to storage groups, we won't be needing this in the future.

Changed 2 years ago by octoberblu3

updated patch for trunk

comment:11 Changed 2 years ago by octoberblu3

Since I recently migrated to trunk, I updated my patch to work with 0.22. It seems the mythvideo storage groups won't make it until 0.23 (#4623), so others may need this patch in the meantime.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.