Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rss-feed and podlove webplayer won´t run #594

Closed
HobbykochPod opened this issue Dec 16, 2014 · 10 comments
Closed

rss-feed and podlove webplayer won´t run #594

HobbykochPod opened this issue Dec 16, 2014 · 10 comments

Comments

@HobbykochPod
Copy link

Greetings,

I used the migration tool to create episodes from the wp-articles and audio files on hobbykoch-podcast.de. That worked very good.

The problem is, that the rss-feed contains a different location for the files. I didn´t find any settings, where this can be adjustet.

The webplayer shows the right duration for all episodes and the download link works, but the player won´t start playing. I suppose, this might be connect to the issue above.

Thanks in advance,
Kai

@HobbykochPod
Copy link
Author

update: after disabling tracking feature, the webplayer runs again. the rss-feed is still not functional...

@eteubert
Copy link
Member

Feed looks good here, maybe there was just some faulty data left in the internal cache when you looked.

@HobbykochPod
Copy link
Author

yes, it runs again. well,the upcoming statistics feature was one of the reasons, installing the publisher. i won´t reactivate tracking, though.

@eteubert
Copy link
Member

You are not far from a working tracking setup, though. Using info from https://sendegate.de/t/rss-feed-und-webplayer-gehen-nicht/489/5, your tracking URLs looked like this:

http://hobbykoch-podcast.de/page/podlove/file/3/s/download/c/select-show/HKP109.mp3

The only wrong thing here is the /page/ section. Without it, the URL resolves correctly!

➜ curl -I http://hobbykoch-podcast.de/podlove/file/3/s/download/c/select-show/HKP109.mp3 
HTTP/1.1 301 Moved Permanently
Location: http://glanzwurst.rsync.at/hobbykoch/HKP109.mp3?ptm_source=&ptm_context=&ptm_file=HKP109.mp3

So you only need to find out where the /page/ part is coming from. Maybe check permalink settings.

@eteubert
Copy link
Member

Also, check those two settings, mainly the "Site Address" there is any sign of the /page/
wpsettings

@HobbykochPod
Copy link
Author

It´s the WordPress Adress in the settings, then.
I´m unable to change that myself and provider says: no.
If there is a workaround, please let me know.

@eteubert
Copy link
Member

Use this plugin: https://wordpress.org/plugins/code-snippets/
And add the following snippet:

add_filter('pre_option_siteurl', function($x) {
    return 'http://hobbykoch-podcast.de';
});

@different-thinking
Copy link

I have the same problem here:

The generated URL for tracking is: http://different-thinking.de/blog/podlove/file/77/s/download/c/select-show/itmp003.m4a - this doesn't work.
When changing it to: http://different-thinking.de/podlove/file/77/s/download/c/select-show/itmp003.m4a it is working.

I have installed wordpress in the directory /blog - so from my understanding the following configuration is correct:

2014-12-22_21h33_17

Why is the wrong tracking URL generated?

Robert

@eteubert
Copy link
Member

I might be using the wrong internal URL. @gglnx do you have any insight on using home_url() vs. site_url()? Currently I'm using the latter to generate tracking URLs: https://github.com/podlove/podlove-publisher/blob/1.12.1-alpha/lib/model/media_file.php#L100

This seems to result in the wrong URL being generated (sometimes). The documentation is a bit vague. Do you think I should change to home_url()? Or am I holding it wrong?

@different-thinking
Copy link

Eric,

I'm not so deep into this. I think there is a mixup between the field labels and the function calls. IMHO home_url() should give back the right adress.
When the install directory is the same as my site address - both calls will return the right value.

https://wordpress.stackexchange.com/questions/20294/whats-the-difference-between-home-url-and-site-url

Hope, that helps and don't confuse,

Robert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants