Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: New Media player in .9.0, will it support .pls files?< Next Oldest | Next Newest >
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Dec. 03 2004,05:35 QUOTE

Here is a small script that can be used to play *.pls files in DSL version 0.9

Copy and paste the text below into mp or pw and save as a text file, following the included instructions.  Hope this helps.

Code Sample
#!/bin/bash
#
# playpls Decodes the first stream in a PLS file and
# plays it via the mpg321 command line mp3
# player.  Code shamelessly stolen from a
# script in the streamripper.sourceforge.net
# forums.
#
# Save this script as a text file
# named playpls and then type:
# chmod 755 playpls
#
# To use type:
# ./playpls plsfilename.pls
# or associate it to .pls filetype in your
# web browser settings.
#
# To stop the music from playing, open an
# xterminal window and type:
# killall -9 mpg321

plsf="$1"
url="`cat "$plsf"|grep File1|cut '-d=' -f2`"
mpg321 $url
exit
Back to top
Profile PM 
John Offline





Group: Super Administrators
Posts: 696
Joined: Sep. 2003
Posted: Dec. 03 2004,06:29 QUOTE

Also, look for further enhancements to the media player.  I will build as much functionality into it as possible.
Back to top
Profile PM 
Max Offline





Group: Members
Posts: 211
Joined: July 2004
Posted: Dec. 03 2004,06:39 QUOTE

How do you play just a plain old music CD?  I can't figure out how to get ASCD to do anything.    (Note: I booted off of a USB stick so I could have the use of the CDROM)

--------------
Using DSL on: IBM T42, IBM 560x, Dell Dimension CPx
Back to top
Profile PM 
Max Offline





Group: Members
Posts: 211
Joined: July 2004
Posted: Dec. 03 2004,06:48 QUOTE

OK... figured it out....I was just impatient for it to load and be recognized.....

--------------
Using DSL on: IBM T42, IBM 560x, Dell Dimension CPx
Back to top
Profile PM 
henk1955 Offline





Group: Members
Posts: 249
Joined: June 2004
Posted: Dec. 03 2004,10:40 QUOTE

i have a little problem with "media.flua"
if i start i get:
Quote
error: bad argument #1 to `read' (string expected, got nil)
stack traceback:
  1:  function `read' [C]
  2:  main of file `/usr/local/bin/media.flua' at line 104

i looked inside media.flua
from line 98: i removed the last &
now it works.

btw how do i cut from MP and paste into Firefox?


--------------
You have a Q or just want to chat?
Come to #damnsmalllinux on irc.freenode.net!
Open 24/7

dell latitude c640 p4@1.6Ghz 256Mb DSL0.9.1-remaster
asus p4p800-vm p4@2.8Ghz HT / celeron@2.4Ghz 512Mb DSL0.9.1-remaster (alsadebs.dsl)
ABit BE6 celeron@466 256Mb DSL0.9.1-remaster (xawtv)
Back to top
Profile PM WEB MSN 
13 replies since Dec. 03 2004,01:16 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: New Media player in .9.0

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code