MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Watch / Listen Media » Listen Music » Support


Support Post problems you have with MediaPortals Music features here.

Reply
 
Thread Tools Display Modes
Old 2007-04-03, 12:28   #1 (permalink)
Portal Member
 
Join Date: Mar 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Exclamation Playlist error from Syntax M3U playlist file

MediaPortal Version: v0.2.2.0 + SVN 13781
MediaPortal Skin: BlueTwo
Windows Version: XP SP2

Sound Card: Lynx L22
Sound Card Driver: Lynx ASIO


I find a little error :

When I double-click on playlist file (*.m3u).
Then then playlist is playing.

Perfect... but the bass player refuses to play the titles with "accents" like in these letters à, é, è, ô, ö, ó, Ö, etc. The most important syntax error is with the " ' " like, for example, in "Depeche Mode - A Pain That Im Used To"

Can you fix these playlist errors from syntax particularities ?


I want to precise if I double-click in music files directly, Bass Player plays the files correctly.


Best regards.
Luccio.

Last edited by Luccio; 2007-04-03 at 12:36.
Luccio is offline   Reply With Quote
Old 2007-04-04, 22:21   #2 (permalink)
Portal Developer
 
Koudijs's Avatar
 
Join Date: Jan 2007
Age: 34
Posts: 133
Thanks: 1
Thanked 3 Times in 3 Posts

Country:

My System

Default

Hi Luccio,

I created an m3u file containing the song "You're All I Have" but I can play it without problems (using BASS). Please attach the m3u file that gives problems and the MediaPortal.log file created while you reproduce the problem. Do this after you have set the log level to debug (configuration.exe -> General). The logfile can be found in ..\MediaPortal\log.

Regards,
Jan
Koudijs is offline   Reply With Quote
Old 2007-11-02, 10:02   #3 (permalink)
Portal Member
 
Join Date: Oct 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Same problem here. Files containing " ' " are skipped in playlist. Playing the file dirrectly gives no error.

"2007-11-02 09:52:01.750000 [Info.][MPMain]: PlaylistPlayer: *** unable to play - H:\Hudba\60´s\CD 01\Helen Shapiro

- Walkin� back to happiness.mp3 - skipping track!"
Attached Files
File Type: log MediaPortal.log (24.4 KB, 14 views)
Yany is offline   Reply With Quote
Old 2008-10-01, 12:57   #4 (permalink)
Portal User
 
Join Date: Dec 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts


Default

had the same problem.

solution i've found is make playlists with winamp and save playlist as utf-8 (.m3u8) and then rename the playlist to .m3u
naape is offline   Reply With Quote
Old 2008-10-02, 09:59   #5 (permalink)
Portal Developer
 
hwahrmann's Avatar
 
Join Date: Sep 2004
Location: Vienna, Austria
Posts: 1,502
Thanks: 3
Thanked 89 Times in 55 Posts

Country:


Default

You shouldn't have the problem at all.
If the playlist has been created on the same machine, i.e. a simple text editor shows the quotes correctly, then MP should be ableto read the file with the quotes.
Thie has been fixed more than a year ago.
hwahrmann is offline   Reply With Quote
Old 2008-10-04, 04:38   #6 (permalink)
Portal Member
 
GillBates's Avatar
 
Join Date: Sep 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

I just ran into this problem on the Mediaportal's in my mom's house:
I have a shared directory on Mediaportal machine "B" which is mapped on Mediaportal A and Mediaportal B as M:\ and contains all music and playlists (m3u) which list the files as M:\Music\bla bla bla...
· Both MP's play songs that don't have special characters perfectly.
· Mediaportal A has version 1.0.0.0 RC1 according to the dialog at startup, and has problems displaying/playing songs with special characters in them.
· Mediaportal B has version 0.2.3 according to startup dialog and shows and plays the same playlists without a problem.

Can anyone verify this?

BTW in some of the posts in this thread people are mistaking the accent ´ for the apostrophe ' notice the difference in the slant vs the vertical, that is why I believe my problem to be related.
GillBates is offline   Reply With Quote
Old 2008-10-04, 17:08   #7 (permalink)
Portal Developer
 
hwahrmann's Avatar
 
Join Date: Sep 2004
Location: Vienna, Austria
Posts: 1,502
Thanks: 3
Thanked 89 Times in 55 Posts

Country:


Default

can ypu post a sample file name.
i was trying all kind of special characters and i'm not able to reproduce.
hwahrmann is offline   Reply With Quote
Old 2008-10-04, 19:29   #8 (permalink)
Portal Member
 
GillBates's Avatar
 
Join Date: Sep 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Smile

Thanks for the quick reply, this is one of the examples, the ones I've been testing it with are
19 Montréal, End Titles.mp3
10 Mélodie (Souvenir D'un Lieu Cher).mp3

Now that I have a bit more time, I'll elaborate:
I manage 2 households with 2 HTPC's each: my mom's and mine.
Both of us use Macbook Pro's and obviously iTunes for our music management / iPod sync, however she wanted to have her playlists in both Mediaportals at home.

I've made it work by having a program installed in the Macbooks that syncs the iTunes Music folder and the xml iTunes library to the "master" HTPC, after this I made a program in VB.net that runs on a schedule and:
* parses out the itunes xml
* replaces the path from the macbook to a path that both HTPC's will recognize
* exports all playlists as m3u's to a specified folder.
(if anyone is interested in this program I'd be happy to share it, drop me a line)

My first issue with this was to do some character replacing because the itunes xml formats special characters in a very strange way, once that got fixed it's been smooth so far.


Still, the master HTPC (0.2.3) reads the m3u's with no problem and the secondary HTPC (1.0.0 RC1) is having some trouble with it. Next week I'll try updating the secondary HTPC to the latest RC and report back if the problem is solved.

Thanks in advance!
Attached Files
File Type: zip VIOLIN.m3u.zip (1.4 KB, 4 views)

Last edited by GillBates; 2008-10-05 at 07:44. Reason: *more info!*
GillBates is offline   Reply With Quote
Old 2008-10-05, 11:59   #9 (permalink)
Portal Developer
 
hwahrmann's Avatar
 
Join Date: Sep 2004
Location: Vienna, Austria
Posts: 1,502
Thanks: 3
Thanked 89 Times in 55 Posts

Country:


Default

Well, the reason is that your file is ANSI encoded.
With the special characters inside, you need to encode it UTF8.

So you need to modify your program to store the file with UTF8 encoding, or you open the file in an editor which can save files in UTF8 encoding. (e.g. Notepad++)
hwahrmann is offline   Reply With Quote
Old 2008-10-07, 00:38   #10 (permalink)
Portal Member
 
GillBates's Avatar
 
Join Date: Sep 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

Quote:
Originally Posted by hwahrmann View Post
Well, the reason is that your file is ANSI encoded.
With the special characters inside, you need to encode it UTF8.

So you need to modify your program to store the file with UTF8 encoding, or you open the file in an editor which can save files in UTF8 encoding. (e.g. Notepad++)

You got it! All I had to do was change one line of code in my program and it's been great. I don't know where I got the idea that files were created as UTF8 by default.

I literally only had to add the part in red:
objReader = New StreamWriter(FullPath, False, Encoding.UTF8)

Thanks a bunch
GillBates is offline   Reply With Quote
Reply

Bookmarks

Tags
m3u, playlist, syntax

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
m3u playlist import AtBadger Support 0 2007-03-14 02:12
Make the playlist-screen in movies common to the layout of the music-playlist-screen chefkoch Improvement Suggestions 0 2007-01-10 23:41
MyMusic: MP doesn't show playlist and crashes after loading large playlist The_Stig fixed 0.2.0.0 bugs 1 2006-09-15 10:32
SYNTAX ERROR When Compile in Tradition. Chinese Windows XP Isaac Lin General Development (no feature request here!) 11 2006-08-25 12:18
M3U playlist problems with foreign characters freka586 General Support 2 2006-03-30 19:25


All times are GMT +1. The time now is 12:15.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden