WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: VLC freezing and not playing on-line radio  (Read 18674 times)

Offline Neo

  • Jr. Member
  • **
  • Posts: 55
Re: VLC freezing and not playing on-line radio
« Reply #15 on: October 08, 2010, 12:20:44 PM »
to store changes and for changes to be persistent do following
Code: [Select]
sudo alsactl store
echo "/etc/asound.state" >> /opt/.filetool.lst
echo "sudo alsactl restore" >> /opt/bootlocal.sh

I opened a terminal and typed in your code verbatim.
Now I can't reboot my computer.
TC gives me an error in /tmp/backup_status

Now what?

How do I fix this???

corrected line
Code: [Select]
echo "etc/asound.state" >> /opt/.filetool.lst

Hi Arslan,
I don't see a difference between your corrected line and the one above.
The same problem persists.

Any ideas?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: VLC freezing and not playing on-line radio
« Reply #16 on: October 08, 2010, 12:24:00 PM »
Code: [Select]
echo "/usr/local/etc/init.d/alsasound start &" >> /opt/bootlocal.sh
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: VLC freezing and not playing on-line radio
« Reply #17 on: October 08, 2010, 12:28:33 PM »
Oh I can listen to it through the browser, but I really want to use VLC instead.

You just gotta find the equivalent syntax for VLC then.

If you listen "through the browser" that would probably mean your browser just passes a command to a player.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Neo

  • Jr. Member
  • **
  • Posts: 55
Re: VLC freezing and not playing on-line radio
« Reply #18 on: October 08, 2010, 02:06:22 PM »
Oh I can listen to it through the browser, but I really want to use VLC instead.

You just gotta find the equivalent syntax for VLC then.

If you listen "through the browser" that would probably mean your browser just passes a command to a player.

Hi Tinypoodle,
I am using the same url that works in my other Linus OS's, it just that when I use it in TC, VLC freezes without playing any music.

Offline Neo

  • Jr. Member
  • **
  • Posts: 55
Re: VLC freezing and not playing on-line radio
« Reply #19 on: October 08, 2010, 02:08:12 PM »
Code: [Select]
echo "/usr/local/etc/init.d/alsasound start &" >> /opt/bootlocal.sh

Sorry to have to ask, but my Linux command line skills are not as great as yours.

Does this new line of code replace a line from above or do I use it in addition to them?

 

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: VLC freezing and not playing on-line radio
« Reply #20 on: October 08, 2010, 03:21:19 PM »
Oh I can listen to it through the browser, but I really want to use VLC instead.

You just gotta find the equivalent syntax for VLC then.

If you listen "through the browser" that would probably mean your browser just passes a command to a player.

Hi Tinypoodle,
I am using the same url that works in my other Linus OS's, it just that when I use it in TC, VLC freezes without playing any music.


What I had in mind was using vlc from command line (possibly avoiding GUI bugginess)
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: VLC freezing and not playing on-line radio
« Reply #21 on: October 08, 2010, 03:27:36 PM »
Code: [Select]
echo "/usr/local/etc/init.d/alsasound start &" >> /opt/bootlocal.sh

Sorry to have to ask, but my Linux command line skills are not as great as yours.

Does this new line of code replace a line from above or do I use it in addition to them?

 

Adds a line, and you obviously haven't read the .info of alsa.tcz, neither did you ever respond to post #4

Did you follow instructions in .info of alsa?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Neo

  • Jr. Member
  • **
  • Posts: 55
Re: VLC freezing and not playing on-line radio
« Reply #22 on: October 08, 2010, 04:09:28 PM »
Code: [Select]
echo "/usr/local/etc/init.d/alsasound start &" >> /opt/bootlocal.sh

Sorry to have to ask, but my Linux command line skills are not as great as yours.

Does this new line of code replace a line from above or do I use it in addition to them?

 



Adds a line, and you obviously haven't read the .info of alsa.tcz, neither did you ever respond to post #4

Did you follow instructions in .info of alsa?

You're half right - I didn't repsond to that earlier post.
However I did read the file and attempted to follow those instructions.

Like I said my skills are not that great, and I find it a little more challenging in TC than say Mepis.

That's in part due to my familarity with Mepis and the tools available to me (I can't even cut & paste code from the web into the terminal in TC).

That's not a critisim of TC, just my own experience.
Because of this I sometimes get caught by some things which by all rights should be pretty simple and straight forward (and would be if I were to do the same/similar action in Mepis).

That is why I sometimes ask some stupid questions, but I always truly appreciate any and all help that I receive on this forum.

aus9

  • Guest
Re: VLC freezing and not playing on-line radio
« Reply #23 on: October 08, 2010, 06:14:40 PM »
hi

if you are copying from web browser to aterm.....

paste using ....double click of left and right buttons

or I find it easer to install lxterminal.....and use the pull down menus

and there is a wiki for alsa as well.

Offline Neo

  • Jr. Member
  • **
  • Posts: 55
Re: VLC freezing and not playing on-line radio
« Reply #24 on: October 08, 2010, 07:08:20 PM »
Thanks Aus9, I really, really appreciate your help.
lxterminal is much better.

Now here is an update.

I cut and pasted all four lines of code and still get an error whenever I try to shut down or reboot.

The error message says "Errors occurred during backup!   See: /tmp/backup_status."

On the bright side the sound now works whenever I boot up TC.

VLC no longer freezes.  It now gives me an error message saying it can't open the MRL (yup that's not a typo, MRL not URL).

So can anyone please help me to fix TC so that I can properly shut down or reboot?

Any idea why VLC is giving me that error?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: VLC freezing and not playing on-line radio
« Reply #25 on: October 08, 2010, 07:39:21 PM »
Edit /opt/.filetool.lst and remove the leading '/' from the line as discussed above.
/etc/asound.state
should be
etc/asound.state

aus9

  • Guest
Re: VLC freezing and not playing on-line radio
« Reply #26 on: October 08, 2010, 09:04:21 PM »
tinypoodle has already suggested you will find mplayer will work ...out of the box....and so what you are asking is some expert on vlc to maybe find your error.

I am not an expert so not sure if you knew that...heh heh...but I can tell you the TC edition is slightly different as I see different number of plugins

if you have time...try building vlc from debian sources that I know will work, you will need the dpkg -deb package to "install" the debian unstable edition of vlc

OR compile from the sources showing in my download folder link as the version number is higher?
http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/vlc.tcz.info versus
http://mirror.internode.on.net/pub/debian/pool/main/v/vlc/vlc_1.1.4-1.debian.tar.gz

it would mean...amongst other things doing md5sums and or using the strings command from binutils package

For me, I am not interested in spending that much time.

If you are keen here is the download folder but I assume you need 32 bit debs so that are below
http://mirror.internode.on.net/pub/debian/pool/main/v/vlc/

you will need, if that interested, the following for a  vlc

http://mirror.internode.on.net/pub/debian/pool/main/v/vlc/libvlc5_1.1.4-1_i386.deb
http://mirror.internode.on.net/pub/debian/pool/main/v/vlc/libvlccore4_1.1.4-1_i386.deb
http://mirror.internode.on.net/pub/debian/pool/main/v/vlc/mozilla-plugin-vlc_1.1.4-1_i386.deb
http://mirror.internode.on.net/pub/debian/pool/main/v/vlc/vlc-data_1.1.4-1_all.deb
http://mirror.internode.on.net/pub/debian/pool/main/v/vlc/vlc_1.1.4-1_i386.deb

2) You can then use the dpkg to unpack the debs and create the structure, the Debian way.....it can not be uploaded to the repository as there is already maintainer of vlc for TC.

You can use the wikis to create your personal tcz of that unpacked structure.

3) or use the other link above to compile as per the wiki and then you can still create your own tcz....but the tcz will conform with the TC /usr/local/bin structure........you still can't upload it but use it personally.

I gather lots of people have their own tczs but I don't have any.


good luck as I have not investigated which dependencies you might need.....if you get errors you will probably see what package you need?





« Last Edit: October 08, 2010, 09:13:13 PM by aus9 »

Offline Neo

  • Jr. Member
  • **
  • Posts: 55
Re: VLC freezing and not playing on-line radio
« Reply #27 on: October 08, 2010, 09:30:50 PM »
Edit /opt/.filetool.lst and remove the leading '/' from the line as discussed above.
/etc/asound.state
should be
etc/asound.state

Thank you very much Gerald.

I tried this but no luck:
tc@box:~$ Edit /opt/.filetool.lst
/bin/sh: Edit: not found
tc@box:~$

I tried many things:
/opt/.filetool.lst
opt/.filetool.lst
su /opt/.filetool.lst

but no joy.

I then tried su all by itself and it asked me for a password, despite the fact that I have never set up a root account or user account in TC.

I thought I read somewhere that the su password was * but that didn't work either.

Could you please provide me with a little more detail - I would certainly appreciate it.

This is getting a little frustrating for me as I am used to being able to do so much more in Linux.


Offline Neo

  • Jr. Member
  • **
  • Posts: 55
Re: VLC freezing and not playing on-line radio
« Reply #28 on: October 08, 2010, 09:32:15 PM »
tinypoodle has already suggested you will find mplayer will work ...out of the box....and so what you are asking is some expert on vlc to maybe find your error.

I am not an expert so not sure if you knew that...heh heh...but I can tell you the TC edition is slightly different as I see different number of plugins

if you have time...try building vlc from debian sources that I know will work, you will need the dpkg -deb package to "install" the debian unstable edition of vlc

OR compile from the sources showing in my download folder link as the version number is higher?
http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/vlc.tcz.info versus
http://mirror.internode.on.net/pub/debian/pool/main/v/vlc/vlc_1.1.4-1.debian.tar.gz

it would mean...amongst other things doing md5sums and or using the strings command from binutils package

For me, I am not interested in spending that much time.

If you are keen here is the download folder but I assume you need 32 bit debs so that are below
http://mirror.internode.on.net/pub/debian/pool/main/v/vlc/

you will need, if that interested, the following for a  vlc

http://mirror.internode.on.net/pub/debian/pool/main/v/vlc/libvlc5_1.1.4-1_i386.deb
http://mirror.internode.on.net/pub/debian/pool/main/v/vlc/libvlccore4_1.1.4-1_i386.deb
http://mirror.internode.on.net/pub/debian/pool/main/v/vlc/mozilla-plugin-vlc_1.1.4-1_i386.deb
http://mirror.internode.on.net/pub/debian/pool/main/v/vlc/vlc-data_1.1.4-1_all.deb
http://mirror.internode.on.net/pub/debian/pool/main/v/vlc/vlc_1.1.4-1_i386.deb

2) You can then use the dpkg to unpack the debs and create the structure, the Debian way.....it can not be uploaded to the repository as there is already maintainer of vlc for TC.

You can use the wikis to create your personal tcz of that unpacked structure.

3) or use the other link above to compile as per the wiki and then you can still create your own tcz....but the tcz will conform with the TC /usr/local/bin structure........you still can't upload it but use it personally.

I gather lots of people have their own tczs but I don't have any.


good luck as I have not investigated which dependencies you might need.....if you get errors you will probably see what package you need?







And I just got lxterminal working... LOL  ::)

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: VLC freezing and not playing on-line radio
« Reply #29 on: October 08, 2010, 10:09:46 PM »
paste using ....double click of left and right buttons

Umm no. It's single middle click. Only when middle click button is missing it can be emulated to be substituted by clicking left and right button at once, not double click.

And by the way, I do not have the slightest idea what kind of distro mepis is, but copying and pasting to a terminal has worked in the same way in every Linux distro i have ever tried, even when using gpm on a VT very similar; so I really wonder if the claim of copying and pasting being distro dependent could be uphold.
« Last Edit: October 09, 2010, 09:21:43 AM by tinypoodle »
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)