Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

dump-file based on meta-data/timestamp info
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Feature Requests
View previous topic :: View next topic  
Author Message
ibuza



Joined: 03 Nov 2009
Posts: 6

PostPosted: Wed Nov 04, 2009 3:16 am    Post subject: Reply with quote

karlH wrote:
Can you check against my current work at
http://www.icecast.pwp.blueyonder.co.uk/icecast-2.3.2-kh17e.tar.gz


I got an compilation error with that source code:
Code:
slave.c:1053:26: error: macro "yp_initialize" passed 1 arguments, but takes just 0
slave.c: In function 'slave_startup':
slave.c:1053: error: 'yp_initialize' undeclared (first use in this function)
slave.c:1053: error: (Each undeclared identifier is reported only once
slave.c:1053: error: for each function it appears in.)
make[3]: *** [slave.o] Error 1
make[3]: Leaving directory `/root/download/icecast-2.3.2-kh17e/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/download/icecast-2.3.2-kh17e/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/download/icecast-2.3.2-kh17e'


so I commented out the line 1053 in slave.c:
//yp_initialize (config);

Than it compiled but I still had no success with the dumbfile/strftime-issue. It took me a while to figure out that differences between the debian file structure and the file structure used by your code cause my troubles. I now got it to work.
Maybe could give an configuration example for the dumbfile/strftime in the CHANGELOG file. That would make things easier for people that at least got their file structure right...

Thanks for your support!


Last edited by ibuza on Thu Nov 05, 2009 8:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Nov 04, 2009 4:54 am    Post subject: Reply with quote

I guess you have yp disabled to trigger that. I will need to fix that so a warn message is still logged. thanks for letting me know.

I'll also add something into the xml for strftime, to be honest I put it in the back of my mind as I wasn't sure if I was going to keep it like that.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
junglised



Joined: 30 Jun 2010
Posts: 25
Location: Wales, UK

PostPosted: Mon Jul 12, 2010 9:58 pm    Post subject: Reply with quote

HI guys. Is this now a built in feature or do i have to install a patch to get the timestamp feature? I clicked the link to the patch above but it's no longer available.

As I have different DJ's connecting to broadcast every hour I'd love to have a different dump file for each of them rather than having to manually download it, chop it up then upload it to the archives. Having this time stamp feature would save so much work!
Back to top
View user's profile Send private message AIM Address
ibuza



Joined: 03 Nov 2009
Posts: 6

PostPosted: Tue Jul 13, 2010 4:00 am    Post subject: Reply with quote

junglised wrote:
HI guys. Is this now a built in feature or do i have to install a patch to get the timestamp feature? I clicked the link to the patch above but it's no longer available.


It is not a build-in feature. I did not use the patched version from karlH since it behaved differently than the original icecast with my fallback mountpoint configuration.

So I took the original sourcecode and patched it manually with this:

http://lists.xiph.org/pipermail/icecast/2004-June/007443.html

You can download this patched sourcecode here:

http://ibuza.gmxhome.de/icecast-2.3.2-timestamp.tar.gz

Best Regards
Jörg
Back to top
View user's profile Send private message
junglised



Joined: 30 Jun 2010
Posts: 25
Location: Wales, UK

PostPosted: Wed Jul 14, 2010 9:08 am    Post subject: Reply with quote

As I have my server up, running and broadcasting, is it simple a case of compiling that again and it will update it to work with the time stamping?

I hope it's its easy Smile
Back to top
View user's profile Send private message AIM Address
ibuza



Joined: 03 Nov 2009
Posts: 6

PostPosted: Wed Jul 14, 2010 9:34 am    Post subject: Reply with quote

junglised wrote:
As I have my server up, running and broadcasting, is it simple a case of compiling that again and it will update it to work with the time stamping?


If your current installation is based on the original source code it will be that easy.
I however had the problem that I used originally the Debian package of icecast which uses a different file structure.
Back to top
View user's profile Send private message
junglised



Joined: 30 Jun 2010
Posts: 25
Location: Wales, UK

PostPosted: Wed Jul 14, 2010 9:37 am    Post subject: Reply with quote

I complied mine from source so that's good news. I'll give it a go now. Hopefully I wont take everything offline haha

Thanks for the help
Back to top
View user's profile Send private message AIM Address
junglised



Joined: 30 Jun 2010
Posts: 25
Location: Wales, UK

PostPosted: Wed Jul 14, 2010 10:30 am    Post subject: Reply with quote

that was way too easy! It seems to be using more ram than before but only a few meg. My server would sit at around 28 or 32 meg before, now it's sitting at 36 meg
Back to top
View user's profile Send private message AIM Address
ibuza



Joined: 03 Nov 2009
Posts: 6

PostPosted: Wed Jul 14, 2010 11:02 am    Post subject: Reply with quote

junglised wrote:
It seems to be using more ram than before but only a few meg. My server would sit at around 28 or 32 meg before, now it's sitting at 36 meg


Are you sure? Did you change something else? I can't imagine that those little changes to the code make such an difference on the memory usage.
Back to top
View user's profile Send private message
junglised



Joined: 30 Jun 2010
Posts: 25
Location: Wales, UK

PostPosted: Wed Jul 14, 2010 12:08 pm    Post subject: Reply with quote

for some reason webmin left an extra process running when i terminated it. It's down to 18mb now with icecast running. timestamping works a treat too. Solves a major headache. We we're going to run a mini server at home that was scheduled to record the stream at certain times when DJs were connected, then upload it to the archive. now we can simply move the stream to the archive folder on the server.

Thanks again!
Back to top
View user's profile Send private message AIM Address
junglised



Joined: 30 Jun 2010
Posts: 25
Location: Wales, UK

PostPosted: Sun Mar 11, 2012 9:32 pm    Post subject: Reply with quote

ibuza wrote:
junglised wrote:
HI guys. Is this now a built in feature or do i have to install a patch to get the timestamp feature? I clicked the link to the patch above but it's no longer available.


It is not a build-in feature. I did not use the patched version from karlH since it behaved differently than the original icecast with my fallback mountpoint configuration.

So I took the original sourcecode and patched it manually with this:

http://lists.xiph.org/pipermail/icecast/2004-June/007443.html

You can download this patched sourcecode here:

http://ibuza.gmxhome.de/icecast-2.3.2-timestamp.tar.gz

Best Regards
Jörg


Digging up an old thread I know.. How do I apply the patch in the post above?

I've copied the post into a file, run the command "patch < /icepatch" but then it asks for the location of the file to patch. When I type in /usr/bin/icecast I get the following error:


patch: **** malformed patch at line 5: http_parser_t *parser, const char *mount, format_type_t type,
Back to top
View user's profile Send private message AIM Address
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Mar 11, 2012 10:27 pm    Post subject: Reply with quote

the tar.gz link above is not a patch, you unpack it and rebuild the source, no patching required.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
junglised



Joined: 30 Jun 2010
Posts: 25
Location: Wales, UK

PostPosted: Sat Apr 14, 2012 9:55 am    Post subject: Reply with quote

I compiled the timestamp source above. Icecast was working fine, admin interface was fine, but the timestamp wasnt working.

I ram yum remove icecast to remove the original version, then compiled the timestamp version again. This time timestamp was showing on the dumped file, however the admin interface is now showing "Could not parse XSLT file file".
Back to top
View user's profile Send private message AIM Address
junglised



Joined: 30 Jun 2010
Posts: 25
Location: Wales, UK

PostPosted: Sat Apr 14, 2012 10:23 am    Post subject: Reply with quote

I've done a completely fresh OS install, installed icecast and I'm getting the same "Could not parse XSLT file" error.
Back to top
View user's profile Send private message AIM Address
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Apr 14, 2012 3:25 pm    Post subject: Reply with quote

check your error log, I suspect it's either incorrect paths or permissions.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Feature Requests All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber