Comments (10)
I changed it to 9999 in the php file too but still it shows only 10 items. Using PHP 7.4.
from dir2cast.
In version 1.19, if I change the ITEM_COUNT to 99 instead of 10, it gives the following error:
Trying to access array offset on value of type bool
This error occurred on line 218 of /path/dir2cast.php.
Warning: unlink(/pathtotemp/somename_public.xml): No such file or directory in dir2cast.php on line 1131.
When I change it back to 10 it is fine. So there seems to be some bug with increasing the ITEM_COUNT @ben-xo
from dir2cast.
Oh I downloaded the latest one from: https://github.com/ben-xo/dir2cast/tree/d35fde0ddf81e29062e1acdbfc252e33ab06aa98 and it works, seems to show all items now. Will let you know if I encounter any more issues.
from dir2cast.
from dir2cast.
I can definitely make it check if the config file has been updated - i may do that - it will make it easier to test changes.
from dir2cast.
Thank you so much @ben-xo if that is possible.
Sorry this is off-topic, but is it possible to give an option in the ini to disable the script from extracting the cover images from the media files and not add the cover image code in two places at itunes:image and for each episode to make the feed smaller for a large collection of audio and video files? And use the same cover image for each episode as the 1400x1400 image for the show? A global episode image I mean. Because when we have a huge collection of audio and video files, we don't want to manually add cover images for each episode and want it to just use the same cover image of the show for each episode. And also we want the feed to be as small as possible.
< itunes:summary > and < description >, < link > and < enclosure url="" >, and < itunes:author > and < itunes:subtitle >, and < itunes:image > and < image > have the same values. So can you please provide a settings in the ini to disable one of each of these 4 to make the feed more smaller for large items? We may not want to add the feed which has a lot of episodes on Apple Podcast and just tell them to add to a Podcast app directly which accepts podcast feed urls.
I will donate for this caching feature as soon as possible. Sorry for the delay.
from dir2cast.
v1.21 makes it much easier to experiment with changes to dir2cast.ini as you don't have to keep deleting the cache file.
Regarding the image and other tags in the file: the duplication in the text of the feed may seem excessive but your web server will (or⦠should) send a gzipped copy of the text to the podcast app, meaning what the app downloads is much smaller than the original uncompressed feed size.
You can check if your server is sending a compressed feed with this tool: https://varvy.com/tools/gzip/ (paste the dir2cast.php URL in). My feed is serving with a 75% reduced size because of gzip. Because of the way gzip works, removing duplicate tags hardly affects the actual transmitted size at all.
from dir2cast.
When I test the other URL you gave me, https://gorich.org/dir2cast.php at the link above, it is already gzip enabled, and is 85% smaller.
from dir2cast.
@nitaaikumar if you want to use a global cover art, without extracting from each media file, set:
ITUNES_IMAGE = http://www.somewhere.com/podcast.jpg
AUTO_SAVE_COVER_ART = false
both of these settings are already in dir2cast.ini :)
from dir2cast.
Dear @ben-xo, Never knew about this gzipping. Yes, I am getting 81% reduction. It is just great. Will try 1.21. I hope it still keeps all the caching benefits for lot of items which you added recently.
Yes, found the AUTO_SAVE_COVER_ART = false and it works. Did not know if the ITUNES_IMAGE would show for each episode also. Just perfect.
For one of my domain names, I have even renamed dir2cast.php as index.php. So I just tell them to go their favorite podcast app and type the https://domainname and voila they see the podcast feed and can subscribe to it. What as easy to subscribe to a podcast? All thanks to your persistent efforts, dir2cast is becoming a fully dream-come-to script.
from dir2cast.
Related Issues (20)
- Invalid Char value 31 HOT 4
- default item title to mp3 filename if no id3 tag HOT 5
- Suggestion: clear cache when count of mp3 files in directory != count in feed HOT 4
- Remove .mp3 / .m4a Extension On RSS Feed Title HOT 1
- Add Goolgle Podcast Support HOT 2
- Does dir2cast fully work for PHP 8.0 or you will need to fix it? HOT 4
- file ordering in xml file HOT 6
- Giving Error "Undefined variable $argv" HOT 1
- it doesn't generate the XML file HOT 9
- New install doesn't update if dir2cast is added after the media files HOT 27
- any Dockerfile to share for dir2cast ? HOT 8
- Support for .m4b files HOT 3
- Episode image in root folder HOT 4
- Duplicated item attributes HOT 5
- Error message HOT 9
- Support season tag HOT 7
- Tags from JSON (or other source?) HOT 2
- Testing failures HOT 6
- No files are created in the temp caching folder HOT 3
- Support for non ASCII characters
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dir2cast.