Bug #233

iPod Feeds is missing from LinHES

Added by mihanson about 15 years ago. Updated over 12 years ago.

Status:Closed Start date:
Priority:Normal Due date:12/31/1969
Assignee:cecil % Done:

0%

Category:- Spent time: -
Target version:6.00.04

Description

iPod Feeds is missing from LinHES (linked to from index.html)

See also task FS#17


Related issues

related to LinHES - Bug #17: local-website Closed 01/10/2011

History

Updated by Human almost 15 years ago

Part of FS#356

Updated by cecil almost 15 years ago

sudo pacman -Syu myth2ipod
As I don't have an ipod, I'd appreciate it if someone could test this and provide feedback.

Updated by Human almost 15 years ago

I don't have an iPod either, but in R5.5, I was able to transcode to iPod and use the RSS feed and watch the resulting transcoded video. Has that much been tested?

Updated by cecil almost 15 years ago

Found an issue.... Working on it.

Updated by cecil almost 15 years ago

sudo pacman -Sy php myth2ipod

Updated by craigtv almost 15 years ago

On 7/31/09 I ran pacman update, and myth2ipod-0.2-18-i686 failed to install because of a file conflict with the /myth/ipodfeed directory. I renamed my ipodfeed directory to get the install to go. The install put what appeared to be a php file called ipodfeed in /myth. Based on looking at the file and links on the latest the mythweb, I renamed the file to m2iweb.php, then moved into /myth/ipodfeed (renamed my saved directory back to ipodfeed). Once I did that, I have a slick program listing that links from the main mythweb page. Ran a myth2ipod last night, and it worked perfectly.

Looks to me like it's really close. If that m2iweb.php file can get created with the right name and location on install.

(BTW, I also edited a copy of the m2iweb.php file (essentially replacing all the ipod and mp4 references with XviD and avi respectively), called it /myth/video/archive/archive.php and it's working for myth2xvid.)

Updated by cecil almost 15 years ago

I've been testing myth2ipod and myt2xvid3. I've also cleaned up the PHP scripts (thanks to greywire for the PHP pointers) and those have been incorporated into MythWeb. The LinHES homepage just needs to be updated.

Updated by Human over 14 years ago

Tweaker sets up fresh installs to call myth2ipod as User Job #1.

Updated by Human over 14 years ago

One integration problem is that some package (or some process) sets up /myth/ipodfeed as a file, and myth2ipod wants this to be a directory.

Updated by Human over 14 years ago

This was happening in myth2ipod's own PKGBUILD file. I'm fixing now.

Updated by craigtv over 14 years ago

Works for me!

Just did a total update and now I have Myth2iPod | Myt2XviD3 showing on my MythWeb status page at top near Backend Status. Should this feedback go here?

Updated by Human over 14 years ago

My understanding is that it's just a second set of links to the feeds, the first being from the LinHES webpage.

Well enough Bob, but I still get a 404 when I click the link...

Updated by Human over 14 years ago

Can you right-click on the link and paste the link target? Just checking that updates on the web side aren't interfering.

(with the http:// before)

192.168.1.10/ipodfeed/m2iweb.php

192.168.1.10/archive/archive.php

There is no archive.php in /myth/archive but there was a m2iweb.php in the /myth/ipodfeed. both returned 404

Updated by Human over 14 years ago

Same URLs here (obviously the IP address differs) and it's working for me. I recommend uninstalling and re-installing myth2ipod and myt2xvid3.

Updated by craigtv over 14 years ago

I had to add the ipodfeed and archive directories to my php.ini file, so the php files would execute. Edit /etc/php/php.ini , and look for the line that starts with:

open_basedir =

then add /data/srv/httpd/htdocs/ipodfeed:/data/srv/httpd/htdocs/archive to the string of paths. Note that you'll need to have a link to your ipod feed and archive directory in your htdocs directory so it can be seen by the web server.

Updated by Human over 14 years ago

I didn't have to make that change to my php.ini. Exactly what failed for you before you made that changed?

Updated by craigtv over 14 years ago

I actually made that change some time ago, before myth2ipod was officially rolling out as part of LinHES. Seeing scot's posts made me think of it. I was working on getting my old myth2ipod script working, and I kept getting an error on feed.php, but when I put in a simple html file it worked fine. Googling around I found the open_basedir thing.

However, I misremembered that as a 404 error. I just went back and took the ipodfeed path out of the open_basedir directive, and the page says: "No input file specified" if I try to view feed.php in the browser. Put it back and it works again. Note that you do have to restart the lighttpd service for the changes to "take."

I also made sure that in /data/srv/httpd/htdocs I have links to the myth2ipod and archive directories:

/data/srv/httpd/htdocs/ipodfeed -> /myth/ipodfeed
/data/srv/httpd/htdocs/archive -> /myth/video/archive

...and that the permissions on those directories allow viewing by the web user

At this point, I'm not sure what I had already configured, and what gets configured with the pacman install. If you like, I can try to clear everything out and do a fresh install via pacman.

Updated by Human over 14 years ago

Here's what's in my open_basedir line, configured purely by pacman:

open_basedir = /data/srv/httpd/htdocs/:/home/:/tmp/:/usr/share/pear/:/data/srv/tmp:/usr/share/mythtv/mythweather/scripts/:/data/srv/httpd/htdocs/mythweb/data/video:/myth/ipodfeed:/data/srv/httpd/htdocs/archive

That seems sufficient, as I haven't run into problems where the php files don't execute.

Updated by craigtv over 14 years ago

Looks right to me too. Sorry about that, I jumped the gun in remembering what I did, and not confirming if the actual pacman update took care of it.

Updated by Human over 14 years ago

No problem :) We all have the same goal.

Updated by jams over 12 years ago

  • Target version changed from 8.0 to 6.00.04

Also available in: Atom PDF