Page 95 of 117

Posted: Sat 07 Feb 2015, 18:30
by don570
You're in luck! I happen to have a playlist.

To make a playlist in Audacious --->

Menu command , then the user must supply the extension --> pls

Code: Select all

[playlist]
NumberOfEntries=1
File1=/root/puppy-reference/audio/ivy.mp3

A wikipedia entry has a good explanation
http://en.wikipedia.org/wiki/PLS_%28fil ... 9#Examples

Note that in April64 a m3u and a pls file is treated differently by operating system.
(see image)

m3u is treated as basic text whereas right-clicks on the pls file opens it as
.audio_x-scpls

Image

Posted: Sat 07 Feb 2015, 19:37
by don570
Maybe my m3u file is treated as basic text because I didn't start it with...

Code: Select all

[playlist]
...
I'll have to test.

It would open up as .audio_x-scm3u

I'll have to check this???
__________________________________

However the wikipedia page
doesn't mention starting m3u format with [playlist]

Code: Select all

#EXTM3U
#EXTINF:419,Alice In Chains - Rotten Apple
Alice In Chains_Jar Of Flies_01_Rotten Apple.mp3
#EXTINF:260,Alice In Chains - Nutshell
Alice In Chains_Jar Of Flies_02_Nutshell.mp3
#EXTINF:255,Alice In Chains - I Stay Away
Alice In Chains_Jar Of Flies_03_I Stay Away.mp3
#EXTINF:256,Alice In Chains - No Excuses
Alice In Chains_Jar Of Flies_04_No Excuses.mp3
#EXTINF:157,Alice In Chains - Whale And Wasp
Alice In Chains_Jar Of Flies_05_Whale And Wasp.mp3
#EXTINF:263,Alice In Chains - Don't Follow
Alice In Chains_Jar Of Flies_06_Don't Follow.mp3
#EXTINF:245,Alice In Chains - Swing On This
Alice In Chains_Jar Of Flies_07_Swing On This.mp3

Posted: Sat 07 Feb 2015, 19:48
by don570
PLS mime types and players that support it.

Mime Types:application/music, audio/scpls, audio/x-scpls, domino playlist, interface/x-tcmp-pls, lyd/scpls, video/x-scpls


http://www.pcpitstop.com/libraries/file ... t=pls.html

______________________________

Posted: Mon 09 Feb 2015, 21:29
by zigbert
don570
Thank you for the info.
pls is headed for next release.

Posted: Tue 10 Feb 2015, 01:05
by don570
Here's another audacious pls file

Code: Select all

[playlist]
NumberOfEntries=4
File1=/root/puppy-reference/audio/2barks.wav
File2=/root/puppy-reference/audio/generic.mp3
File3=/root/puppy-reference/audio/ivy6.wav
File4=/root/puppy-reference/audio/goodluck.m4a


Posted: Sun 15 Feb 2015, 20:26
by zigbert
pls support is added for both playback and saving.
Using the standard described at https://en.wikipedia.org/wiki/PLS_%28file_format%29

Example file created by pMusic

Code: Select all

[playlist]
NumberOfEntries=10
File1=/mnt/sdb1/musikk/mp3/Ylvis - Stonehenge.mp3
Title1=Ylvis - Stonehenge
Length1=235
File2=/mnt/sdb1/musikk/mp3/Iron maiden - Infinite dreams.mp3
Title2=Iron maiden - Infinite dreams
Length2=368
File3=/mnt/sdb1/musikk/streamripper/metal/RockFM/TNT - My Religion.mp3
Title3=TNT - My Religion
Length3=211
File4=/mnt/sdb1/musikk/mp3/Return - The day after.mp3
Title4=Return - The day after
Length4=271
File5=/mnt/sdb1/musikk/mp3/Yngwie Malmsteen - Carry on wayward son.mp3
Title5=Yngwie Malmsteen - Carry on wayward son
Length5=308
File6=/mnt/sdb1/musikk/mp3/Black sabbath - The shining (LP).mp3
Title6=Black sabbath - The shining 
Length6=357
File7=/mnt/sdb1/musikk/mp3/Stratovarius - Legions.mp3
Title7=Stratovarius - Legions
Length7=344
File8=/mnt/sdb1/musikk/streamripper/metal/DMR_Metal_Canada_128/Eternal Tears Of Sorrow - When The Darkest Night Falls.mp3
Title8=Eternal Tears Of Sorrow - When The Darkest Night Falls
Length8=146
File9=/mnt/sdb1/musikk/mp3/Maria Arredondo - Just a little heartache.mp3
Title9=Maria Arredondo - Just a little heartache
Length9=198
File10=/mnt/sdb1/musikk/mp3/Artch - Where I go.mp3
Title10=Artch - Where I go
Length10=358

Posted: Sun 15 Feb 2015, 23:37
by zigbert
Even if pMusic supports other playlist formats, the internal format *.pmu takes advantages of the info in the pMusic database.
I saved the same tracklist as m3u, pls and pmu.
The attached image shows how it looks when expanded in the builtin filebrowser.

Posted: Tue 17 Feb 2015, 22:53
by don570
When I right click on a playlist (m3u or pls) with the Rox file manager
I can make the songs appear in pmusic music list with my script create-m3u.

...but does this m3u or pls filename appear on the Bookmarks list
automatically?? That would simplify the procedure of making Bookmarks.

Maybe I could write the name of the m3u file to the tail of one of your
hidden files??

Looking forward to v4.5 8)

___________________________________________________________

Posted: Wed 18 Feb 2015, 08:31
by zigbert
don570
Executing the command 'pmusic /path/playlist.pls' opens the playlist and start playing. It is added to the pMusic db, but not as a bookmark (favorite marks in pMusic). This is meant for personal use only. The db is the systems playground.

The last added playlist is always stored in $HOME/.pmusic/tmp/last_added_playlist


Sigmund

Posted: Fri 20 Feb 2015, 18:22
by zigbert
I updated the jamendo index last night, and it has grown remarkable.
sept 2014: 350 000 tracks
feb 2015: 600 000 tracks

The index file to download is 13Mb - not bad for half a million of songs ;-)

Posted: Sun 22 Feb 2015, 23:16
by zigbert
I've been working with the first-run-experience. This has never got the focus it deserves. It includes
- better information of initial scanning.
- scanning is not getting in the users way.
- a bunch of bugfixes.
- updates to the main window.

The pMusic 4 branch has had some long-standing issues with keeping the auto-generated music-database up and running. I have of course taken backup of mine, but no issues for me since 19 nov 2014, so things are really getting more stable. (I use it daily)

We are close to release.
Should we use Nad5 theme by default? It is some kb bigger...


Sigmund

Posted: Sun 22 Feb 2015, 23:58
by greengeek
I like the NAD5, but it's very much a question of personal preference I guess. Most people would probably prefer the smaller sized version...

Posted: Mon 23 Feb 2015, 21:50
by zigbert
Version 4.5.0
See main post

Changelog
- Support pls playlist files - read/write/browse. (thanks to don570)
- Support asx playlist files - read only. (thanks to OscarTalks)
- Smartadd: Save user-settings for next run.
- Save box:
. . . .- Use save-file-selection box.
. . . .- Autoset correct playlist format when changing file name.
. . . .- File-selector should use pmu as default file format.
. . . .- Bugfix: gettext filetype description in save box.
- 'pmusic --help': Improved output for supported formats.
- First run:
. . . .- Msg embedded in main window during quick scan of local music files.
. . . .- Run a quick scan of tracks for db also when opening a loacl file via the filebrowser.
. . . .- Bugfix: Show name of playing track in svg if playing local file at first run.
. . . .- Bugfix: msg in main gui even if track is detected by first-run-scan.
. . . .- Bugfix: Show 'Search for music' in input field instead of path to $HOME when opening a local file.
. . . .- Bugfix: Progressbar doesn't work for autoplaying track (Hoovers at jamendo.com).
- Trackinfo:
. . . .- New trackinfo icon in main gui.
. . . .- Albumart:
. . . . . . . .- Remove parentheses in search string.
. . . . . . . .- Bugfix: If artist tag contains feat/&, no match.
. . . . . . . .- Bugfix: If artwork exist in db, it doesn't store new source if changed.
. . . .- Bugfix: Album list: The file tmpartist${PID}_index_mymusic in storage dir should be removed.
. . . .- Bugfix: streaminfo used the same temp-file as db quickscan. Possible corruption.
- Main window:
. . . .- Allow main window to be shrinked more than the widgets allow.
. . . .- Decrease spacing of buttons below the playqueue.
. . . .- New navigation button
. . . .- Bugfix: Embedded msg's in main window force default window-size to exceed 780 pixels.
. . . .- Bugfix: right-click-menu in albumart search creates file $HOME/test.
- CD frontend: Changed button-placement to match the new navigation buttons.
- Preferences:
. . . .- Bugfix: Move db and favorites to new storage if changing storage-path.
. . . .- Bugfix: Change path to album-files (pmu) in db when changing storage-path.
- Updated radio-station index.
- Updated jamendo index.
- Updated Nad5 graphical theme.
- Bugfix: Get rid of terminal outputs at first run. Use --debug switch.

Posted: Fri 27 Feb 2015, 01:35
by don570
version 4.5 works well in fatdog700 and April 64 which are 64 bit distros.


Comments:

The word 'Marks' doesn't mean much to me. It's not a term that is
used in Computer science. Try a term like 'Location' 'Source' 'Catalog'.


Image

_____________________________________________________

pls playlist files don't seem to load properly , unlike m3u which show
all their songs on right side of pmusic window (and play) .
I add the list with a right click on the icon in
Rox Filer or my script create-m3u.

Notice from image above that the pls file does show correctly in 'Marks'
section.

____________________________________________________

______________________________________________________

Posted: Fri 27 Feb 2015, 15:30
by zigbert
don570 wrote:The word 'Marks' doesn't mean much to me. It's not a term that is
used in Computer science. Try a term like 'Location' 'Source' 'Catalog'.
I will consider a new term instead of Marks, but it has to describe the qualities of these 'Marks'
- It opens a folder in the builtin browser
- It adds an audio file to the playqueue.
- It runs actions like connecting to top100 of jamendo.com
- It shows stored timestamps for playing track.
don570 wrote:pls playlist files don't seem to load properly
I fail to install Audacious in my system, so it would be great if you could show me the pls file.


Thank you
Sigmund

Posted: Sat 28 Feb 2015, 20:57
by don570
I googled 'warehouse + synonym'

Suggestions :

Music warehouse
Storehouse
storeroom,
depository,
depot

Synonyms depository, depot, magazine, repository, storage, warehouse
Related Words cache, stockroom, storeroom; bank, bin, container, locker, safe-deposit box, strongbox; arsenal, dump; stowage

Music cache or Music warehouse sounds good to my ears :lol:
________________________________________________


To test a pls file I used a file based on this -->

http://murga-linux.com/puppy/viewtopic. ... 289#827289

Then I did the command

Code: Select all

pmusic -a  music_list_name.pls
and you can see in image that playlistlist did show on left side of window,
however it didn't show on right side of window. THere was an offer to
scan a folder I believe.

_________________________________________________

Posted: Sun 01 Mar 2015, 10:32
by zigbert
I see the pls bug...
if 'fileN=' description misses full url definition (file://...)
fixed for next release

func_add line 511:

Code: Select all

ADR="`cut -d= -f2 <<< "$I" | awk -F 'file://' '{print $2}'`"
should be

Code: Select all

ADR="`cut -d= -f2 <<< "$I" | sed 's|file://||'`"
When it comes to the music warehouse, I don't feel we have got it 100% yet :-)

Thank you
Sigmund

Posted: Sun 01 Mar 2015, 17:30
by greengeek
zigbert wrote:I will consider a new term instead of Marks, but it has to describe the qualities of these 'Marks'
- It opens a folder in the builtin browser
- It adds an audio file to the playqueue.
- It runs actions like connecting to top100 of jamendo.com
- It shows stored timestamps for playing track.
"Dashboard" maybe?
"Autopilot"?

Posted: Sun 01 Mar 2015, 18:21
by zigbert
Version 4.5.1
See main post

Changelog
- Bugfix: pls playlist won't import if missing url file:// (thanks to don570)

Posted: Sun 01 Mar 2015, 18:23
by zigbert
greengeek wrote:"Dashboard" maybe?
"Autopilot"?
By term we are inside Favorites.
What about 'Favorites board'?