xhippo AV player, Internet radio player, and audio recorder

Audio editors, music players, video players, burning software, etc.
Message
Author
mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

moving the xhippo icons

#21 Post by mcewanw »

Hi RSH,

Yes, it will be possible to modify the source code to look elsewhere and probably, following your comments, worth doing to avoid the slight bloat caused by the alternative method I outline below.

Unfortunately, I'm short of time because I have family guests arriving for two weeks and also want to get latest precord finished before new Slacko comes out of beta status. But I'll look into modifying the source code patch after that.

I'm thinking /usr/share/pixmaps/xhippo would be a good location.

In the meantime, however, if you install the locate package, you can move the icons to /usr/share/pixmaps/xhippo and they will be found by xhippo. By default it first looks in /usr/share/pixmaps but tries 'locate' if the icons weren't found in that default location.

I installed slocate from Puppy Package manager into Slacko 5.7, ran updatedb to setup the locate database, and then xhippo found the icons, which I had moved into /usr/share/pixmaps/xhippo. Note that locate was automatically created as a symlink to slocate during installation.

William
github mcewanw

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

GUI for make-xhippo-playlist etc

#22 Post by mcewanw »

DoMyFile GUI for make-xhippo-playlist commandline utility (actually designed to be a general purpose GUI for commandline utilities, tailored for file processing commandlines) is now uploaded here:

http://www.murga-linux.com/puppy/viewtopic.php?p=790246

William
github mcewanw

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

xhippo AV player, Internet radio player, and audio recorder

#23 Post by mcewanw »

xhippo AV player, Internet radio player, and audio recorder

New dotpet uploaded to first post in this thread.

Changes: xhippo now also looks in /usr/share/pixmaps/xhippo for its button icons (which is where the dotpet now stores them).

This avoids any conflicts with existing pixmaps, which was an issue pointed out by RSH.

As per before, you can load in an Internet radio playlist by right clicking on the xhippo window and choosing Load playlist (and select the default one provided: 0.default.d.xplist). You can optionally use DoMyFile GUI (http://www.murga-linux.com/puppy/viewtopic.php?p=790246) to convert playlists from Pmusic or Simple GTK Radio format, or those found on the Internet, into xhippo compatible format.

More generally you can drag and drop any mixture of audio and video media files or directories onto xhippo window and play them. More details in first post of this thread.

Cheers, William
github mcewanw

gcmartin

#24 Post by gcmartin »

Can this PET address this problem?

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Howto use Precord to aid setup & testing of PC's Microphone

#25 Post by mcewanw »

gcmartin wrote:Can this PET address this problem?
Hi gcmartin,

Below quote is from:

http://murga-linux.com/puppy/viewtopic. ... 165#793357
OscarTalks wrote:@ drblock2

One very easy and convenient way of getting your capture settings right is to use pRecord. Start pRecord from the menu, click the config button which expands the GUI, then near the bottom right there is a button which brings up both retrovol and a vu audio meter. Experiment with your capture settings and look at the vu meter as you speak into the microphone. Easy to see when you have got it right and much better than having to repeatedly use the Skype test call.
The above is the method I use. A shortcut from either the small or config GUI of Precord is to simply click on the Record Stop button when a recording is NOT in process. That also brings up the mixer and simple VU meter display.

Note that Precord config GUI also includes a facility to select your soundcard if it is not the common default hw:0,0 (card 0, device 0). In area marked "select soundcard" you can click the checkbox "card" to select soundcard number 1 (rather than the common default number 0) and similarly you can click the checkbox "device" if you also need sound device 1 (rather than the common default 0). Basically, soundcards are recogised by your system as either hardware device hw:0,0 or hw:0,1 or hw:1,0 or hw:1,1. Depends on your computer, but for most people unchecked (meaning hw:0,0) is the correct choice.

William

EDIT: Note, however, that Precord doesn't as yet have facility to directly choose soundcard if at say hw:2 or above and there is no auto-soundcard detection code included. I'll look into some of that (at least manual choice) for future versions. I have however created a hijack module addon capability to allow a program-savy user to quickly create a small addon module (just a simple one-line text file actually) with the appropriate hw device for their machine. I'll explain how to create that little text module addon in a later post here. In the meantime, for more info regarding soundcard devices you may find the following link useful:

http://superuser.com/questions/53957/wh ... ich-to-use

also maybe useful (albeit somewhat Ubuntu specific):

https://help.ubuntu.com/community/Ubunt ... dioDevices

Note further, that in Precord, I actually use plughw: rather than plain hw:. The basic difference between the two is explained quickly here:

http://lists.alioth.debian.org/pipermai ... 24335.html

or in more detail, here:

http://alsa.opensrc.org/DigitalOut

http://alsa.opensrc.org/MultipleCards
github mcewanw

Pelo

xhippo tested ! yes

#26 Post by Pelo »

xhippo tested ! yes nice
Translation : traduction in progress (FR) here, ici
Xrecord records my voice too. what else ? :D

.OGV how to do ?

Xrecord settings, You Tube

NDLR : French Slacko 5.3.3 XFCE by Jejy 69 before emigration to Puppy UK
(Puppy Collector USB Framasoft Ubuntu)
Attachments
stop.png
Mp3# means recording. Push stop to end it.
(13.7 KiB) Downloaded 454 times
Last edited by Pelo on Sun 28 Feb 2016, 16:41, edited 4 times in total.

Mayou

xrecord does not work

#27 Post by Mayou »

xrecord does not work
Attachments
Xhippo.jpg
Xhippo reads my MP3 (default)
(37.13 KiB) Downloaded 467 times

Pelo

What about .OGV ?

#28 Post by Pelo »

What about .OGV ? xrecord does the job.
Last edited by Pelo on Sat 30 Apr 2016, 19:11, edited 1 time in total.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

x86-64bit (amd64) version of xhippo dotpet/deb uploaded

#29 Post by mcewanw »

x86-64bit (amd64) version of xhippo uploaded (dotpet and deb). Remove dummy tar first if installing deb version. The deb has been quickly tested on DebianDogJessie64. Note that the deb is simply the dotpet converted into a deb package using DebianDogJessie's inbuilt 'Convert pet to deb' utility; it thus installs xhippo binary into /usr/bin (rather than /opt/bin, which was location used in 32bit DebianDog's). The dotpet itself should work okay in most any 64bit Puppy but I haven't tried it there.

The package includes the xhippo and xrecord GUIs along with the commandline utilities xhplay, xhrecord and make-xhippo-playlist (use --help argument for usage help for these latter utilities: e.g. xhplay --help).

William
github mcewanw

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

xhplay/xhippo as Universal Media/File player/viewer etc

#30 Post by wiak »

Thanks for this William - xhplay/xhippo combination is great!

Recently I've noted that some simple xhplay code additions for gif, jpeg, png or even pdf's, txt, doc or html files - whatever... allow your xhplay/xhippo combination to be used as a universal player/viewer. I just copy your xhplay code for AV files and simply modify these (identical code really) to start up the viewer/reader I want activated:

For example. Added following to your xhplay for image, pdf and html viewing via xhippo (just your code but using alternative file extensions/viewers):

Code: Select all

  ".gif"|".png"|".jpg"|".jpeg")
    if [ $(which gpicview 2>/dev/null) ];then
     exec gpicview "$filename"
    else
     echo "IMAGE VIEWER MISSING: For image viewing you need to install gpicview" >/dev/tty
    fi
   ;;
  ".pdf")
    if [ $(which epdfview 2>/dev/null) ];then
     exec epdfview "$filename"
    else
     echo "PDF VIEWER MISSING: For pdf viewing you need to install epdfview" >/dev/tty
    fi
   ;;
  ".html")
    if [ $(which firefox 2>/dev/null) ];then
     exec firefox "$filename"
    else
     echo "HTML VIEWER MISSING: For html viewing you need to install firefox" >/dev/tty
    fi
   ;;

(or modify for a different image viewer or pdf viewer or doc file reader - whatever...)
You can also use the above via xhippo if you add lines such as the following to your /usr/local/etc/xhippo.conf file:

Code: Select all

# images:

type:gif:xhplay
type:jpeg:xhplay
type:jpg:xhplay
type:png:xhplay
type:pdf:xhplay
type:html:xhplay
Sorry, I have never made a dotpet and don't have time anyway. As you know I'm no coder (!) so no guarantee above add-on code has no bugs - worked for me so far!

Let me know what you think or of any improvements I could add.

wiak

Pelo

Xhippo in MintPup reads MP4

#31 Post by Pelo »

dotpets no longer exist !
Xhippo in MintPup reads MP4, but not MPEG.. Don't Mind, Gnome-Mplayer available too in multimedia menu..
Xhippo is a launcher in fact. Mplayer2 is the player, without pause.
My goal was neither xhippo, nor Mintpup but test isobooter with different OS.
Nevertheless i feed back here. Puppy Linux dev try MPV in their Puppies Stretch, its a nice try, succesfull. Xhippo was also used a long time ago in french Puppy toutou 4.3.1, when dotpets were the rule.
Sure xhippo is useless if you have Gnome-mplayer, that is the reason why Puppy Linux versions stop to use it. One function, one app only, not to get Puppy fat.
Remove songs in the menu

feed back FR (en français)
Attachments
MP4.jpg
MP3 will be played without trouble
(71.9 KiB) Downloaded 94 times
Last edited by Pelo on Wed 16 Aug 2017, 17:18, edited 4 times in total.

Pelo

xhippo as an mp3 or wav media file RECORDER

#32 Post by Pelo »

Using xhippo as an mp3 or wav media file RECORDER
Gnome-Mplayer is unable to record. Use Precord, or... Xhippo. Some information would be useful if you read the topic.
Attachments
pRecord.jpg
pRecord still the tool in last released Stretch. precord does the job.
(25.06 KiB) Downloaded 82 times

Post Reply