PDA

View Full Version : Can I xbmc.Player().Play() an SMB share .mp3 file?


BradJ
2006-01-04, 01:03
hi,

i've looked for hours and played with the api, but i can't get it to work.

can i pass an smb filename to xbmc.player().play()?

is it in the format smb:\\share\\path\filename?

if it's not supported, any suggestions? i've seen the python smb class, and am thinking i could copy the file locally and play it from there (yuk!).

thanks,
brad.

BigBellyBilly
2006-01-04, 11:52
i play video files in mytv.py over smb so i'd imagine playing mp3 files wouldnt be a problem.

look for 'xbmc.player()' in mytv.py

Asteron
2006-01-04, 17:02
be careful about the path. i think you might need a forward slash? not sure though.

jadmin1
2006-01-06, 04:43
the proper smb path format is "smb://share/path/filename"

good luck!