Opened 15 years ago

Closed 15 years ago

#1207 closed enhancement (invalid)

New functionality for music upload and playlist management for MythWeb

Reported by: jason.kania@… Owned by: xris
Priority: minor Milestone: 0.20
Component: mythweb Version:
Severity: medium Keywords: playlist, music, upload, mythweb
Cc: Ticket locked: no


The new functionality comprises the following:

1) changes to the breakout of files within the mythweb music pages to allow for php file inheritance in multiple subpages for music uploads and playlist management

2) an applet for multiple file uploads of mp3 and other music files that is available with the mythweb music section

3) a web page based on AJAX (javascript and XML with http) for creating and managing playlists for music files on the Myth Box

Attachments (1)

patchfile1.gz (10.4 KB) - added by jason.kania@… 15 years ago.

Download all attachments as: .zip

Change History (7)

Changed 15 years ago by jason.kania@…

Attachment: patchfile1.gz added

comment:1 Changed 15 years ago by anonymous

Two other changes are not included as of yet becuase I am not sure of the policy for inclusion:

1) The java files for my upload applet were not included nor was a built applet since the mythweb structure in the checkout had no provision for src or built content that I could see.

2) I have 3rd party php library set to include for dealing with music files. It is available at and I included it in mythweb in a subdirectory. However, I am not sure what the intent is for inclusion of such libraries. If this is something that should be included by reference elsewhere, I wasn't sure how.

Let me know and I can easily make changes.

comment:2 Changed 15 years ago by jason.kania@…

I see that my development work is out of date due to architectural changes in the web which seem to have really cleaned things up. I have updated by svn view and worked through much of the refactoring to make the changes compliant with the new architecture.

However, I have one main issue beyond those still outstanding in that the header inclusion and print out being done through the require_once call makes it such that I cannot cause actions to occur when the pages load from the lowest level scripts.

In the previous architecture, everything derived from theme.php and thus I was able to modify theme.php to add a method call for setting up code to run in the body tag as follows:

class Theme {


var $onLoadScript;

Enable client side scripts to be added for initialization time function set_onLoadScript($script_name) {

$this->onLoadScript = $script_name;




<body<?php if (!empty($this->onLoadScript)) print(" onLoad=\"$this->onLoadScript ()\""); ?>>

<div id="page_header" class="clearfix">


Can you suggest a way that I may be able to reincorporate this functionality or allow me to initiate the print outs when the require_once call is made and after I have modified the body tag?

comment:3 Changed 15 years ago by anonymous

Milestone: unknown0.20

comment:4 Changed 15 years ago by xris

Resolution: wontfix
Status: newclosed

I will not accept modifications to the current mythmusic code in mythweb, only complete rewrites to make it conform with the rest of the module layout (look at the tv module for the best examples).

Please email or speak to me on irc if you want to redo the whole module, and we can cover some of your other concerns, as well.

comment:5 Changed 15 years ago by jason.kania@…

Resolution: wontfix
Status: closedreopened

I didn't find your email address anywhere and I don't use IRC. Please contact me directly since my email is included.

In my additions to the ticket, I outlined that I had reworked the module architecture, but had encountered problems due to a lack of understanding of its implementation or limitations in its implementation. If we can work through these issues, I believe that I will have a module that is compliant with the latest architecture.

comment:6 Changed 15 years ago by bjm

Resolution: invalid
Status: reopenedclosed
Note: See TracTickets for help on using tickets.