Opened 18 years ago
Closed 17 years ago
#5353 closed defect (wontfix)
MythWeb Music Streaming does not work on backend unless Music Plugin is installed
| Reported by: | Owned by: | Rob Smith | |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | mythweb | Version: | 0.21 |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
The only reason Music Streaming doesn't work on a backend without the Music Plugin installed is that it looks for the "Music Location" setting. This setting should either be made available without having the music plugin installed, simlar to the video location setting, or an if statement should be added to stream.php as follows:
if ($basepath == NULL){
$basepath = "<MYTHWEBDIRECTORY>/data/music";
}
Since I didn't delve into the mythweb coding I didn't see a variable which holds the base directory for mythweb, so I just hardcoded this if statement into stream.php and it worked fine.

The video interface requires the main video plugin to be installed to get the table scheme in the db, as does the music interface. Without the db tables, it's a uesless module, so I'm not going to work about that requirement.