[7. June 2013] Youporn available now | [19. April 2013] A-400 Advanced Network Setup | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 RC1 [13 June 2013] | A-200/A-210 RC1 [13 June 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
Litepodder v1.0.0 for Popcorn Hour A-100/A-110/B-110 (podcast downloader)
06-22-2009, 01:24 AM (This post was last modified: 12-16-2009 10:38 PM by philofred.)
Post: #1
Rainbow Litepodder v1.0.0 for Popcorn Hour A-100/A-110/B-110 (podcast downloader)
I am proud to announce the release of Litepodder v1.0.0 for 100 Series, a podcast downloader for NMT.
Litepodder is available in NMT Community Software Installer. Download here
It is a good alternative to iTunes or Juice as your NMT runs 24/7 and then can be triggered at any time.

Please see the readme.txt text file provided in directory /share/Apps/Litepodder/ or check the wiki http://networkedmediatank.com/wiki/index...itepodder.
One thing to remind: when you update the download scheduling, you must restart the application with NMT CSI.

Note that the web site http://www.litepodder.net/ is active but not created yet.
Any comment and feedback are welcomed.

Litepodder for 100 series (A & B) - Litepodder for 200 series ( A & C ) - philofredo[at]gmail[dot]com
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 5 users say Thank You to philofred for this post
06-22-2009, 06:05 PM
Post: #2
RE: Litepodder v0.3.0, a podcast retriever
excellent
Find all posts by this user
Add Thank You Quote this message in a reply
06-22-2009, 07:28 PM
Post: #3
RE: Litepodder v0.3.0, a podcast retriever
The standard busybox installed on my A-110 hasn't commands like dirname, tr or pgrep. So i'm getting errors after starting litepodder.sh or daemonscript.sh. Do i have to install a more enhanced busybox version to get it working?
Find all posts by this user
Add Thank You Quote this message in a reply
06-22-2009, 07:39 PM (This post was last modified: 06-22-2009 07:54 PM by philofred.)
Post: #4
RE: Litepodder v0.3.0, a podcast retriever
(06-22-2009 07:28 PM)Wego Wrote:  The standard busybox installed on my A-110 hasn't commands like dirname, tr or pgrep. So i'm getting errors after starting litepodder.sh or daemonscript.sh. Do i have to install a more enhanced busybox version to get it working?

I have installed Telnetd 1.14.1, available in NMT CSI.

Litepodder for 100 series (A & B) - Litepodder for 200 series ( A & C ) - philofredo[at]gmail[dot]com
Find all posts by this user
Add Thank You Quote this message in a reply
06-22-2009, 08:57 PM
Post: #5
RE: Litepodder v0.3.0, a podcast retriever
(06-22-2009 07:39 PM)philofred Wrote:  I have installed Telnetd 1.14.1, available in NMT CSI.

That does the trick Smile

Btw. thanks for this application. I'm glad i don't need to have to use an external podcatcher on my PC anymore.
Find all posts by this user
Add Thank You Quote this message in a reply
06-22-2009, 10:08 PM
Post: #6
RE: Litepodder v0.3.0, a podcast retriever
Thanks fred, good work!

Easy way of installing software on your NMT using just your mouse: NMT Community Software Installer
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
06-23-2009, 05:47 PM (This post was last modified: 06-23-2009 08:56 PM by Pessimal.)
Post: #7
RE: Litepodder v0.4.0, a podcast downloader
Seems to work fine, no problems so far with 20 audio and 2 video podcasts.

edit:
I'm not a linux expert but in your scheduling.txt file it says:
# Every 4 hours
# * */4 * * *

shouldn't it rather be:
00 */4 * * *

the other one means every minute for sixty minutes every four hours no?
Find all posts by this user
Add Thank You Quote this message in a reply
06-24-2009, 12:51 PM
Post: #8
Sad RE: Litepodder v0.4.0, a podcast downloader
Uuhmmm...I need som help

I installed Litepodder using CSI.
In the "Settings" folder I updated "podcasts.txt" and "scheduling.txt"
Restarted Litepodder from CSI

Anything I'm missing? Huh

In the readme it says something about "Cron" which should trigger Litepodder. Is this a program I need to install?

Do I need to manually create the output folders I have specified in the podcasts.txt file?

The default path specified in podcasts "/share/podcast/content" should that structure already exist? -because I can't see it.

/Michael
Find all posts by this user
Add Thank You Quote this message in a reply
06-24-2009, 01:19 PM (This post was last modified: 06-24-2009 01:28 PM by philofred.)
Post: #9
RE: Litepodder v0.4.0, a podcast downloader
(06-23-2009 05:47 PM)Pessimal Wrote:  Seems to work fine, no problems so far with 20 audio and 2 video podcasts.

edit:
I'm not a linux expert but in your scheduling.txt file it says:
# Every 4 hours
# * */4 * * *

shouldn't it rather be:
00 */4 * * *

the other one means every minute for sixty minutes every four hours no?

You are right, bad entry. I will fix it. Thanks for the feedback.Wink
(06-24-2009 12:51 PM)Miqual Wrote:  Uuhmmm...I need som help

I installed Litepodder using CSI.
In the "Settings" folder I updated "podcasts.txt" and "scheduling.txt"
Restarted Litepodder from CSI

Anything I'm missing? Huh

In the readme it says something about "Cron" which should trigger Litepodder. Is this a program I need to install?

Do I need to manually create the output folders I have specified in the podcasts.txt file?

The default path specified in podcasts "/share/podcast/content" should that structure already exist? -because I can't see it.

/Michael

You described what you have done, but not the results... I suppose then there is nothing done. Smile
Could you copy paste the scheduling entries you set? The ones without #.
And do you expect a trigger just after the restart or what?
Just a note: there is no trigger just after the restart, the triggers are only based on your scheduling.
You could also check the Litepodder service is started at the end of the text file service.log in /share/Apps/Litepodder/logs directory.
About triggers, you can check in triggers directory.

Litepodder for 100 series (A & B) - Litepodder for 200 series ( A & C ) - philofredo[at]gmail[dot]com
Find all posts by this user
Add Thank You Quote this message in a reply
06-24-2009, 02:04 PM
Post: #10
RE: Litepodder v0.4.0, a podcast downloader
Litepodder is working great so far. But i have a little feature request Smile Litepodder leaves subfolders in the download directory even if they are empty. To get a better overview of what podcasts i've to watch, i'd like to get rid of all empty folders. As a quick hack i've added a "rmdir /share/Pocdcast/*" at the end of litepodder.sh. Maybe you can add an optional settings, which allows to clean up the download folder after downloads are complete.
Find all posts by this user
Add Thank You Quote this message in a reply
06-24-2009, 02:24 PM
Post: #11
RE: Litepodder v0.4.0, a podcast downloader
(06-24-2009 01:19 PM)philofred Wrote:  
(06-24-2009 12:51 PM)Miqual Wrote:  Uuhmmm...I need som help

I installed Litepodder using CSI.
In the "Settings" folder I updated "podcasts.txt" and "scheduling.txt"
Restarted Litepodder from CSI

Anything I'm missing? Huh

In the readme it says something about "Cron" which should trigger Litepodder. Is this a program I need to install?

Do I need to manually create the output folders I have specified in the podcasts.txt file?

The default path specified in podcasts "/share/podcast/content" should that structure already exist? -because I can't see it.

/Michael

You described what you have done, but not the results... I suppose then there is nothing done. Smile
Could you copy paste the scheduling entries you set? The ones without #.
And do you expect a trigger just after the restart or what?
Just a note: there is no trigger just after the restart, the triggers are only based on your scheduling.
You could also check the Litepodder service is started at the end of the text file service.log in /share/Apps/Litepodder/logs directory.
About triggers, you can check in triggers directory.

You're right. I forgot to mention what actually happened....nothing happened Smile

I wanted to set the scheduling to check for new podcasts every 20 min. -after an hour nothing had happened.

The triggers folder inside the settings folder is empty! Undecided

This is what's inside scheduling.txt:
# Examples

# Every hour past 15 minutes
# 15 * * * *
# Every 20 minutes
# */20 * * * *
# Every day at 04:00 (am)
# 00 04 * * *
# Every 4 hours
# * */4 * * *
# Every Wednesday at 17:45
# 45 17 * * wed

# default setting every day at 03:00 (am)
# 00 03 * * *

# Every 20 minutes
*/20 * * * *

This is my podcasts:
/podcast/SoEinDing | http://vpodcast.dr.dk/feeds/soeindingrss.xml | all

This is the last part from the log:
======== Starting litepodder v0.4.0 service - end 2009-06-24 09:58:41 ========
======== Stopping litepodder v0.4.0 service - begin 2009-06-24 10:17:24 ========
kill: you need to specify whom to kill
kill: you need to specify whom to kill
kill: cannot kill pid 3154: No such process
kill: cannot kill pid 3155: No such process
remove the scheduling from crontab
crontab dump set back:
======== Stopping litepodder v0.4.0 service - end 2009-06-24 10:17:25 ========
======== Starting litepodder v0.4.0 service - begin 2009-06-24 10:17:27 ========
create user default settings
podcasts.txt already exists, do not overwrite it
general.txt already exists, do not overwrite it
scheduling.txt already exists, do not overwrite it
backup initial crontab to file
/share/Apps/Litepodder/settings/crontab_backup already exists, do not overwrite it
change ownership of user content to be removed by user
add the litepodder scheduling to crontab if there is no entry already

/share/Apps/Litepodder/litepodder.sh

/share/Apps/Litepodder/litepodder.sh

/share/Apps/Litepodder/litepodder.sh

/share/Apps/Litepodder/litepodder.sh

/share/Apps/Litepodder/litepodder.sh
*/20 * * * *
/share/Apps/Litepodder/litepodder.sh
======== Starting litepodder v0.4.0 service - end 2009-06-24 10:17:28 ========
Find all posts by this user
Add Thank You Quote this message in a reply
06-24-2009, 02:44 PM (This post was last modified: 06-24-2009 03:07 PM by philofred.)
Post: #12
RE: Litepodder v0.4.0, a podcast downloader
(06-24-2009 02:04 PM)Wego Wrote:  Litepodder is working great so far. But i have a little feature request Smile Litepodder leaves subfolders in the download directory even if they are empty. To get a better overview of what podcasts i've to watch, i'd like to get rid of all empty folders. As a quick hack i've added a "rmdir /share/Pocdcast/*" at the end of litepodder.sh. Maybe you can add an optional settings, which allows to clean up the download folder after downloads are complete.

I do not understand if you are talking about the download directory (if set in the settings) or the podcasts repositories.

Anyway there could be two settings:
- one to delete the download directory (e.g. incomplete downloads) at the end of trigger
- one to delete the empty podcasts directories because the user have read and deleted the items in the meantime
Thanks, I will add that to my todo list.
Quote:
(06-24-2009 02:24 PM)Miqual Wrote:  You described what you have done, but not the results... I suppose then there is nothing done. Smile
Could you copy paste the scheduling entries you set? The ones without #.
And do you expect a trigger just after the restart or what?
Just a note: there is no trigger just after the restart, the triggers are only based on your scheduling.
You could also check the Litepodder service is started at the end of the text file service.log in /share/Apps/Litepodder/logs directory.
About triggers, you can check in triggers directory.

You're right. I forgot to mention what actually happened....nothing happened Smile

I wanted to set the scheduling to check for new podcasts every 20 min. -after an hour nothing had happened.

The triggers folder inside the settings folder is empty! Undecided

This is what's inside scheduling.txt:
# Examples

# Every hour past 15 minutes
# 15 * * * *
# Every 20 minutes
# */20 * * * *
# Every day at 04:00 (am)
# 00 04 * * *
# Every 4 hours
# * */4 * * *
# Every Wednesday at 17:45
# 45 17 * * wed

# default setting every day at 03:00 (am)
# 00 03 * * *

# Every 20 minutes
*/20 * * * *

This is my podcasts:
/podcast/SoEinDing | http://vpodcast.dr.dk/feeds/soeindingrss.xml | all

This is the last part from the log:
======== Starting litepodder v0.4.0 service - end 2009-06-24 09:58:41 ========
======== Stopping litepodder v0.4.0 service - begin 2009-06-24 10:17:24 ========
kill: you need to specify whom to kill
kill: you need to specify whom to kill
kill: cannot kill pid 3154: No such process
kill: cannot kill pid 3155: No such process
remove the scheduling from crontab
crontab dump set back:
======== Stopping litepodder v0.4.0 service - end 2009-06-24 10:17:25 ========
======== Starting litepodder v0.4.0 service - begin 2009-06-24 10:17:27 ========
create user default settings
podcasts.txt already exists, do not overwrite it
general.txt already exists, do not overwrite it
scheduling.txt already exists, do not overwrite it
backup initial crontab to file
/share/Apps/Litepodder/settings/crontab_backup already exists, do not overwrite it
change ownership of user content to be removed by user
add the litepodder scheduling to crontab if there is no entry already

/share/Apps/Litepodder/litepodder.sh

/share/Apps/Litepodder/litepodder.sh

/share/Apps/Litepodder/litepodder.sh

/share/Apps/Litepodder/litepodder.sh

/share/Apps/Litepodder/litepodder.sh
*/20 * * * *
/share/Apps/Litepodder/litepodder.sh
======== Starting litepodder v0.4.0 service - end 2009-06-24 10:17:28 ========

I think I am getting it: what did you use to edit the scheduling.txt file?
I guess there are chars at the beginning of the file that are screwing the entry to crontab.
Could you save the text file in ASCII or ANSI only please and retry?

One more thing: I am not sure about the validity of your podcast directory, should it begin with /share if you want to save in the local hard drive? Not sure. And be careful to the case sensitivity of directories, the existing podcast directory is Podcast (if you wanted to use it).

As a lesson, I must add a parser for scheduling.txt to avoid this kind of problem. Thanks.

Litepodder for 100 series (A & B) - Litepodder for 200 series ( A & C ) - philofredo[at]gmail[dot]com
Find all posts by this user
Add Thank You Quote this message in a reply
06-24-2009, 04:47 PM
Post: #13
RE: Litepodder v0.4.0, a podcast downloader
(06-24-2009 02:44 PM)philofred Wrote:  I think I am getting it: what did you use to edit the scheduling.txt file?
I guess there are chars at the beginning of the file that are screwing the entry to crontab.
Could you save the text file in ASCII or ANSI only please and retry?

One more thing: I am not sure about the validity of your podcast directory, should it begin with /share if you want to save in the local hard drive? Not sure. And be careful to the case sensitivity of directories, the existing podcast directory is Podcast (if you wanted to use it).

As a lesson, I must add a parser for scheduling.txt to avoid this kind of problem. Thanks.

I now deleted the scheduling.txt and podcasts.txt and had Litepodder recreate them to ensure the correct format. I opened them in notepad and added the textlines from my previous post, but changed the output path to:

/share/Podcast/SoEinDing | http://vpodcast.dr.dk/feeds/soeindingrss.xml | all

I saved the documents as ANSI formatted.

I went to the Podcast folder and created a "SoEinDing" folder.

Started CIS and made a restart of Litepodder. I checked the log which also had logged the restart.

Then I waited for 45 min. and nothing happened. Sad

Any new ideas?
Find all posts by this user
Add Thank You Quote this message in a reply
06-24-2009, 04:55 PM
Post: #14
RE: Litepodder v0.4.0, a podcast downloader
(06-24-2009 02:44 PM)philofred Wrote:  I do not understand if you are talking about the download directory (if set in the settings) or the podcasts repositories.

Anyway there could be two settings:
- one to delete the download directory (e.g. incomplete downloads) at the end of trigger
- one to delete the empty podcasts directories because the user have read and deleted the items in the meantime
Thanks, I will add that to my todo list.

I'm talking about the podcasts directories. I've subscribed to 11 podcasts at the moment. After i've watched a podcast, i delete the specific podcast folder. But on every trigger ALL 11 directories are created, even if there isn't a new epidode and nothing was downloaded. So i have to check all folders for new episodes to watch. That's why i suggested a "cleanup" feature.
Find all posts by this user
Add Thank You Quote this message in a reply
06-24-2009, 05:06 PM (This post was last modified: 06-24-2009 05:09 PM by philofred.)
Post: #15
RE: Litepodder v0.4.0, a podcast downloader
(06-24-2009 04:47 PM)Miqual Wrote:  I now deleted the scheduling.txt and podcasts.txt and had Litepodder recreate them to ensure the correct format. I opened them in notepad and added the textlines from my previous post, but changed the output path to:

/share/Podcast/SoEinDing | http://vpodcast.dr.dk/feeds/soeindingrss.xml | all

I saved the documents as ANSI formatted.

I went to the Podcast folder and created a "SoEinDing" folder.

Started CIS and made a restart of Litepodder. I checked the log which also had logged the restart.

Then I waited for 45 min. and nothing happened. Sad

Any new ideas?

Could you post again the end of service.log please.
If you add only one entry in scheduling.txt, the log should be like that:

Code:
add the litepodder scheduling to crontab if there is no entry already
*/20 * * * * /share/Apps/Litepodder/litepodder.sh
======== Starting litepodder v0.4.0 service - end 2009-06-24 10:17:28 ========
There should be only one line specifying your entry.
And send me your scheduling.txt file to the email mentioned in the readme.txt as I can check the content, thanks.
(06-24-2009 04:55 PM)Wego Wrote:  I'm talking about the podcasts directories. I've subscribed to 11 podcasts at the moment. After i've watched a podcast, i delete the specific podcast folder. But on every trigger ALL 11 directories are created, even if there isn't a new epidode and nothing was downloaded. So i have to check all folders for new episodes to watch. That's why i suggested a "cleanup" feature.

OK, understood, I will create the podcast directory if and only if there is downloaded item to store in it.

Litepodder for 100 series (A & B) - Litepodder for 200 series ( A & C ) - philofredo[at]gmail[dot]com
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Bierdopje auto-sub for A-110 BeeVee 17 3,184 06-16-2013 06:44 AM
Last Post: hekc0211
  PopCorn MKV AudioConverter HeartWare 1,763 1,540,076 05-25-2013 05:31 PM
Last Post: HeartWare
  SqueezeSlave available for Popcorn Hour duanep 13 7,536 03-16-2013 08:36 AM
Last Post: Wim57
  thoughts on trakt on 100 series ? lordy 36 4,570 02-26-2013 12:02 AM
Last Post: cgibby
  Is it possible to code a HULU player for the A-110? mulderfox 0 438 01-05-2013 11:11 AM
Last Post: mulderfox
  Shairport (emulator airport express) on popcorn lololo 8 5,245 09-17-2012 09:34 PM
Last Post: LordHelmchen
  MN-200 work with B-110? dwalterm 2 1,507 03-30-2012 05:31 PM
Last Post: dwalterm
  A-110 used like server db to store sensor data csorda 0 1,096 01-18-2012 04:06 PM
Last Post: csorda
  Support thread for HeartWare's PopCorn MKV Chapter Maker HeartWare 72 45,792 01-01-2012 10:10 AM
Last Post: halfelite
  SSH keygen on A-110 - how to lhg1 0 1,227 11-03-2011 10:58 PM
Last Post: lhg1

Forum Jump: