Trädvy Permalänk
Medlem
Plats
sundsvall
Registrerad
Dec 2003

Xboxmediacenter.xml

Hej jag har ett problem konfiguererade min xboxmediacenter.xml å klantade mig nog lite för jag får ett kritical error efter att ha gjort det, men kan inte förstå vad jag har gjort fel, det enda jag har ändrat är smb/workgoup smb för att få streaming att fungera från min linux server.

det har fungerat perfekt tidigare när jag hade winXp som server

dock så är jag ju ny på linux men tror inte det är där felet ligger, eftersom att jag kan se sharen från min laptop,

jag postar här min xml fil men har bytt ut mitt dnsip eftersom att jag vill inte att nåt litet äckel ska hacka min box även alla användarnamn /lösenord är bytta

hoppas på att nån kan se vad jag har gjort för fel

<xboxmediacenter>

<!-- When using XBMC as dashboard, define home directory here !-->
<!-- and move the XBMC xbe plus this xml config file to C:\ !-->
<!-- Example: <home>E:\Apps\XBMC\</home> !-->

<home>-<home>

<!-- Set the logging level: !-->
<!-- LOG LEVEL 0 = DEBUG !-->
<!-- LOG LEVEL 1 = INFO !-->
<!-- LOG LEVEL 2 = NOTICE !-->
<!-- LOG LEVEL 3 = WARNING !-->
<!-- LOG LEVEL 4 = ERROR !-->
<!-- LOG LEVEL 5 = SEVERE !-->
<!-- LOG LEVEL 6 = FATAL !-->
<!-- LOG LEVEL 7 = NONE !-->
<!-- The higher loglevel number set, the less logging you will get. !-->
<!-- Default is NOTICE which logs everything except DEBUG and INFO. !-->
<loglevel>7</loglevel>
<mplayerdebug>false</mplayerdebug>
<haltonfatalerrors>false</haltonfatalerrors>

<showfreemem>false</showfreemem>

<masterlock>
<!-- Set to 0 to allow infinite password retries in XBMC. Setting a positive !-->
<!-- number N will deny access to any locked bookmark if N consecutive bad !-->
<!-- passwords are sent for any locked bookmark. !-->
<maxretry>0</maxretry>
<!-- Set to 1 to allow XBMC Master Lock to shut off the XBOX if the user !-->
<!-- enters too many bad Master Lock password retries. Set to 0 to disable. !-->
<enableshutdown>0</enableshutdown>
<!-- Set to 1 to prompt user for mastercode when doing add/edit/delete on all !-->
<!-- shares using the context menu, or 0 to only prompt on locked shares. !-->
<!-- Useful to prevent unwanted changes/viewing of shares and user/pass info. !-->
<protectshares>0</protectshares>
<!-- Set mastermode as follows: !-->
<!-- 0 = Masterlock always unlocked. This is the default if not specified. !-->
<!-- 1 = Numeric lock. Can be typed via on screen numpad or remote control. !-->
<!-- 2 = Gamepad lock. Enter by pushing XBOX controller button sequence. !-->
<!-- 3 = Full-text lock. Enter with on screen keyboard or USB keyboard. !-->
<!-- Bookmark lock settings are only valid if the mastermode is > 0. !-->
<mastermode>0</mastermode>
<!-- Set mastercode: where mastermode is set to value: !-->
<!-- 1: Enter numeric password only. Do not use spaces or other characters.!-->
<!-- 2: Enter gamepad button sequence using the following letter codes: !-->
<!-- A B X Y = Same as buttons on gamepad !-->
<!-- U D L R = D-pad Up, Down, Left, Right !-->
<!-- W K ( ) = White, Black, Left Trigger, Right Trigger !-->
<!-- 3: Enter HTML-escaped alphanumeric password. Make sure all characters !-->
<!-- are available on your language's on screen keyboard/USB keyboard. !-->
<mastercode>-</mastercode>
</masterlock>

<!-- DO NOT TOUCH THESE SETTINGS!, (unless you know what you're doing) !-->
<!-- workgroup : workgroup which XBMC uses to login to a server. !-->
<!-- winsserver: if you run one you can set the ip here (if you don't know !-->
<!-- what a winsserver is the leave it as it is). !-->
<!-- debuglevel: only set this if you have problems using samba (0 - 10) !-->
<!-- setting it too high will slow it down a lot. !-->
<!-- defaultusername & defaultpassword: the username and password that !-->
<!-- will used if none is specified in bookmark, usefull for !-->
<!-- samba browsing. Falls back to guest access if not set. !-->

<samba>
<workgroup>WORKGROUP</workgroup>
<winsserver>-</winsserver>
<debuglevel>0</debuglevel>
<defaultusername>xbox</defaultusername>
<defaultpassword>xbox</defaultpassword>
</samba>

<!-- This is the IP address to freedb.org CDDB music lookup database !-->
<CDDBIpAddress>194.97.4.18</CDDBIpAddress>

<!-- determines which drives to use. Only change this for LBA48 support !-->
<!-- Should autodetect on most bioses by default. If your XBMC crashes after mapping F: !-->
<!-- according to xbmc.log, then disable auto-detection of F and G and set them manually !-->
<autodetectFG>yes</autodetectFG>
<useFDrive>yes</useFDrive>
<useGDrive>no</useGDrive>

<!-- Only set to yes if replaced Xbox DVD-ROM drive with a PC DVD-ROM drive !-->
<usePCDVDROM>no</usePCDVDROM>

<!-- Should a CD with ISO/UDF filesystem be treated as ISO (yes) or UDF (no) when autodetecting !-->
<detectAsIso>no</detectAsIso>

<!-- Which dashboard to launch when exiting XBMC !-->
<!-- Ex: "<dashboard>C:\xboxdash.xbe</dashboard>" !-->
<dashboard>C:\evoxdash.xbe</dashboard>

<!-- Fill in path+filename of external DVD player !-->
<!-- if empty, XBMC will play any DVD's by itself !-->
<!-- Ex: "<dvdplayer>C:\xboxdash.xbe</dvdplayer>" !-->
<!-- (Note! XBMC does not yet support DVD-menus!) !-->
<dvdplayer></dvdplayer>

<!-- Fill in path&filename of external CD audio-player !-->
<!-- if empty, XBMC will play any AudioCD's by itself. !-->
<!-- Only applicable if CDDA=Yes in Autorun settings. !-->
<cddaplayer></cddaplayer>

<!-- Alternate subtitle directory. If subtitle can't be found !-->
<!-- in same directory as the movie XBMC will look here next: !-->
<!-- Adding subtitles with the name "subtitle.[langext].[subextension]" !-->
<!-- will automatically make them be added for all movies as !-->
<!-- alternate subtitles !-->
<subtitles>$HOME\subtitles</subtitles>

<!-- Translation table for subtitle and audio names. !-->
<languagecodes>
<code><short>alt</short><long>Alternate</long></code>
</languagecodes>

<!-- startup window !-->
<startwindow>0</startwindow>

<!-- Display files with these extensions under pictures, music and videos !-->
<pictureextensions>.png|.jpg|.jpeg|.bmp|.gif|.ico|.tif|.tiff|.tga|.pcx</pictureextensions>
<musicextensions>.nsv|.m4a|.flac|.aac|.strm|.pls|.rm|.mpa|.wav|.wma|.ogg|.mp3|.mp2|.m3u|.mod|.amf|.669|.dmf|.dsm|.far|.gdm|.imf|.it|.m15|.med|.okt|.s3m|.stm|.sfx|.ult|.uni|.xm|.sid|.ac3|.dts|.cue|.aif|.wpl</musicextensions>
<videoextensions>.nsv|.ts|.ty|.strm|.rm|.rmvb|.m3u|.ifo|.mov|.qt|.divx|.xvid|.bivx|.vob|.nrg|.img|.iso|.pva|.wmv|.asf|.asx|.ogm|.m2v|.avi|.bin|.dat|.mpg|.mpeg|.mp4|.mkv|.avc|.vp3|.svq3|.nuv|.viv|.dv|.fli|.rar|.001|.wpl</videoextensions>

<!-- Regular expressions for use in video stacking !-->
<!-- These MUST have a (...) surrounding the volume label portion. eg ([0-9]*) to choose the number !-->
<!-- found in the string. Any text for matching is compared case-insensitive. !-->
<videostacking>
<regexp>[ _\.-]+part[ \.]+([0-9a-d]+)</regexp>
<regexp>[ _\.-]+cd[ \.]+([0-9a-d]+)</regexp>
<regexp>[ _\.0-9-]([abcd])\....$</regexp>
<regexp>[^ \.]([0-9])\....$</regexp>
</videostacking>

<!-- Path where XBMC should store its thumbnails !-->
<thumbnails>$HOME\thumbs</thumbnails>

<!-- Path where XBMC should store its shortcuts !-->
<shortcuts>$HOME\shortcuts</shortcuts>

<!-- Path where xbmc should store the music albums cache !-->
<albums>$HOME\albums</albums>

<!-- Path where SHOUTcast rips/recordings should be stored !-->
<recordings>$HOME\recordings</recordings>

<!-- Path where XBMC screenshots should be stored !-->
<screenshots>$HOME\screenshots</screenshots>

<!-- Path where XBMC's CDDA Rips should be stored !-->
<!-- Note! This must point to an existing folder. !-->
<CDDARipPath>E:\Music\CD-Rips</CDDARipPath>

<!-- Move and repeat delays for Xbox controller and DVD-remote (values are shown in milliseconds) !-->
<!-- Deadzone for controller is a value between 0 and 1 (0 being no deadzone, 1 being all deadzone) !-->
<delays>
<remote>
<repeat>480</repeat>
</remote>
<controller>
<move>220</move>
<repeat>220</repeat>
<deadzone>0.1</deadzone>
</controller>
</delays>

<!-- IR-Remote debug info. Displays the DVD-remote code with each button press. !-->
<!-- Useful to see if XBMC reads extra buttons on your own universal IR remote. !-->
<!-- These remote codes can be placed in keymap.xml to give more button options !-->
<displayremotecodes>false</displayremotecodes>

<!-- This allows you to overwrite/specify icons shown for specific file types !-->
<filetypeicons>
<xbe>defaultProgram.png</xbe>
</filetypeicons>

<!-- All bookmarks can be LOCKED by adding lockmode/lockcode values as follows: !-->
<!-- Set lockmode to: !-->
<!-- 0 = Bookmark not locked. This is the default value if not specified. !-->
<!-- 1 = Numeric lock. Can be typed via on screen numpad or remote control. !-->
<!-- 2 = Gamepad lock. Enter by pushing XBOX controller button sequence. !-->
<!-- 3 = Full-text lock. Enter with on screen keyboard or USB keyboard. !-->
<!-- lockcode: where lockmode is set to value: !-->
<!-- 1: Enter numeric password only. Do not use spaces or other characters. !-->
<!-- 2: Enter gamepad button sequence using the following letter codes: !-->
<!-- A B X Y = Same as buttons on gamepad !-->
<!-- U D L R = D-pad Up, Down, Left, Right !-->
<!-- W K ( ) = White, Black, Left Trigger, Right Trigger !-->
<!-- 3: Enter HTML-escaped alphanumeric password. Make sure all characters !-->
<!-- are available on your language's on screen keyboard/USB keyboard. !-->
<!-- Example: !-->
<!-- <bookmark> !-->
<!-- <name>SMB</name> !-->
<!-- <path>smb://DOMAIN;username:pwd@MyWindowsServer/movies/</path> !-->
<!-- <lockmode>1</lockmode> !-->
<!-- <lockcode>12345678</lockcode> !-->
<!-- </bookmark> !-->

<!-- My Programs bookmarks !-->
<!-- The depth allows you to specify how deep to look for XBE when flattening is on, !-->
<!-- for example, with Depth of 1: !-->
<!-- F:\Games\ !-->
<!-- game1 !-->
<!-- game2 !-->
<!-- game3 !-->
<!-- If your depth is 2, it will look even further for the XBE !-->
<!-- F:\Emulators\ !-->
<!-- Nintendo\ !-->
<!-- game1 !-->
<!-- game2 !-->
<!-- Arcade\ !-->
<!-- game1 !-->
<!-- game2 !-->
<!-- You can have multiple paths per bookmark. Use a comma-separated list for paths. !-->
<!-- Ex: <path>E:\Games\,F:\Games\</path> !-->
<!-- <path> can also take direct links to XBE !-->
<!-- Ex: <path>E:\Apps\,C:\xbmc.xbe</path> !-->

<myprograms>
<default>F:\Games\,F:\HDDLoader\</default>
<bookmark>
<name>Games</name>
<path>F:\Games\,F:\HDDLoader\</path>
<depth>1</depth>
</bookmark>
<bookmark>
<name>Emulators</name>
<path>E:\Emulators\</path>
<depth>1</depth>
</bookmark>
<bookmark>
<name>Programs</name>
<path>E:\Apps\,C:\xboxdash.xbe</path>
<depth>1</depth>
</bookmark>
<bookmark>
<name>DVD-Game</name>
<path>D:\default.xbe</path>
<depth>1</depth>
</bookmark>
</myprograms>

<!-- My Videos shares !-->
<video>
<default></default>
<bookmark>
<name>E Drive</name>
<path>E:\</path>
</bookmark>
<bookmark>
<name>F drive</name>
<path>F:\</path>
</bookmark>
<bookmark>
<name>G drive</name>
<path>G:\</path>
</bookmark>
<bookmark>
<name>DVD-ROM drive</name>
<path>D:\</path>
</bookmark>
<!-- Expert setting: Uncomment for seperate ISO and UDF share !-->
<!-- Comment out the bookmark named DVD to disable DVD autodetect !-->
<!-- for my video !-->
<!-- <bookmark> !-->
<!-- <name>ISO</name> !-->
<!-- <path>iso9660://</path> !-->
<!-- </bookmark> !-->
<!-- <bookmark> !-->
<!-- <name>UDF</name> !-->
<!-- <path>UDF:</path> !-->
<!-- </bookmark> !-->
<bookmark>
<name>XNS Network Share</name>
<path>xns://192.168.0.1:1400/</path>
</bookmark>
<bookmark>
<name>XBMSP Network Share</name>
<path>xbms://192.168.0.1:1400/</path>
</bookmark>
<bookmark>
<name>XBMSP Network Servers (Auto-Discover)</name>
<path>xbms://</path>
</bookmark>
<bookmark>
<name>SMB Network Share</name>
<!-- You can use one of these following formats: !-->
<!-- smb://Domain;user:password@ip/share/directory/ !-->
<!-- smb://user:password@ip/share/ !-->
<!-- Only if guest/public access is enabled: !-->
<!-- smb://ip/ !-->
<path>smb://Novoserver;xbox:xbox@(Fake IP)</path>
</bookmark>
<bookmark>
<name>WORKGROUP (SMB) Network</name>
<path>smb://(Fake IP)/</path>
</bookmark>
<bookmark>
<name>ReplayTV</name>
<path>rtv://*/</path>
</bookmark>
</video>

<!-- My Music shares !-->
<music>
<default></default>
<bookmark>
<name>C Drive</name>
<path>C:\</path>
</bookmark>
<bookmark>
<name>E Drive</name>
<path>E:\</path>
</bookmark>
<bookmark>
<name>F drive</name>
<path>F:\</path>
</bookmark>
<bookmark>
<name>G drive</name>
<path>G:\</path>
</bookmark>
<bookmark>
<name>DVD-ROM drive</name>
<path>D:\</path>
</bookmark>
<!-- Expert setting: Uncomment for seperate ISO and UDF CDDA share !-->
<!-- Comment out the bookmark named DVD to disable DVD autodetect !-->
<!-- for my music !-->
<!-- <bookmark> !-->
<!-- <name>ISO</name> !-->
<!-- <path>iso9660://</path> !-->
<!-- </bookmark> !-->
<!-- <bookmark> !-->
<!-- <name>UDF</name> !-->
<!-- <path>UDF:</path> !-->
<!-- </bookmark> !-->
<!-- <bookmark> !-->
<!-- <name>CDDA</name> !-->
<!-- <path>cdda:</path> !-->
<!-- </bookmark> !-->
<bookmark>
<name>XNS Network Share</name>
<path>xns://192.168.0.1:1400/</path>
</bookmark>
<bookmark>
<name>XBMSP Network Share</name>
<path>xbms://192.168.0.1:1400/</path>
</bookmark>
<bookmark>
<name>XBMSP Network Servers (Auto-Discover)</name>
<path>xbms://</path>
</bookmark>
<bookmark>
<name>SMB Network Share</name>
<!-- You can use one of these following formats: !-->
<!-- smb://domain;user:password@ip/share/directory/ !-->
<!-- smb://user:password@ip/share/ !-->
<!-- Only if guest/public access is enabled: !-->
<!-- smb://ip/ !-->
<path>smb://Novoserver;xbox:xbox@(Fake IP)</path>
</bookmark>
<bookmark>
<name>WORKGROUP (SMB) Network</name>
<path>smb://(Fake IP)/</path>
</bookmark>
<bookmark>
<name>MS Soundtracks</name>
<path>soundtrack://</path>
</bookmark>
<bookmark>
<name>iTunes Network Share (DAAP)</name>
<!-- only use an IP address here !-->
<path>daap://192.168.1.100</path>
</bookmark>
<bookmark>
<name>SHOUTcast Top 500</name>
<path>shout://www.shoutcast.com/</path>
</bookmark>
</music>

<!-- My Pictures shares !-->
<pictures>
<default></default>
<bookmark>
<name>C Drive</name>
<path>C:\</path>
</bookmark>
<bookmark>
<name>E Drive</name>
<path>E:\</path>
</bookmark>
<bookmark>
<name>F drive</name>
<path>F:\</path>
</bookmark>
<bookmark>
<name>G drive</name>
<path>G:\</path>
</bookmark>
<bookmark>
<name>DVD-ROM drive</name>
<path>D:\</path>
</bookmark>
<!-- Expert setting: Uncomment for seperate ISO and UDF share !-->
<!-- Comment out the bookmark named DVD to disable DVD autodetect !-->
<!-- for my pictures !-->
<!-- <bookmark> !-->
<!-- <name>ISO</name> !-->
<!-- <path>iso9660://</path> !-->
<!-- </bookmark> !-->
<!-- <bookmark> !-->
<!-- <name>UDF</name> !-->
<!-- <path>UDF:</path> !-->
<!-- </bookmark> !-->
<bookmark>
<name>XNS Network Share</name>
<path>xns://192.168.0.1:1400/</path>
</bookmark>
<bookmark>
<name>XBMSP Network Share</name>
<path>xbms://192.168.0.1:1400/</path>
</bookmark>
<bookmark>
<name>XBMSP Network Servers (Auto-Discover)</name>
<path>xbms://</path>
</bookmark>
<bookmark>
<name>SMB Network Share</name>
<!-- You can use one of these following formats: !-->
<!-- smb://domain;user:password@ip/share/directory/ !-->
<!-- smb://user:password@ip/share/ !-->
<!-- Only if guest/public access is enabled: !-->
<!-- smb://ip/ !-->
<path>smb://DOMAIN;username:pwd@MyWindowsServer/pictures/</path>
</bookmark>
<bookmark>
<name>WORKGROUP (SMB) Network</name>
<path>smb://</path>
</bookmark>
</pictures>

<!-- File-manager shares !-->
<files>
<bookmark>
<name>C Drive</name>
<path>C:\</path>
</bookmark>
<bookmark>
<name>E Drive</name>
<path>E:\</path>
</bookmark>
<bookmark>
<name>F drive</name>
<path>F:\</path>
</bookmark>
<bookmark>
<name>G drive</name>
<path>G:\</path>
</bookmark>
<bookmark>
<name>Q drive</name>
<path>Q:\</path>
</bookmark>
<bookmark>
<name>DVD-ROM drive</name>
<path>D:\</path>
</bookmark>
<!-- Expert setting: Uncomment for seperate ISO and UDF share !-->
<!-- Comment out the bookmark named DVD to disable DVD autodetect !-->
<!-- for my files !-->
<!-- <bookmark> !-->
<!-- <name>ISO</name> !-->
<!-- <path>iso9660://</path> !-->
<!-- </bookmark> !-->
<!-- <bookmark> !-->
<!-- <name>UDF</name> !-->
<!-- <path>UDF:</path> !-->
<!-- </bookmark> !-->
<bookmark>
<name>XNS Network Share</name>
<path>xns://192.168.0.1:1400/</path>
</bookmark>
<bookmark>
<name>XBMSP Network Share</name>
<path>xbms://192.168.0.1:1400/</path>
</bookmark>
<bookmark>
<name>XBMSP Network Servers (Auto-Discover)</name>
<path>xbms://</path>
</bookmark>
<bookmark>
<name>SMB Network Share</name>
<!-- You can use one of these following formats: !-->
<!-- smb://domain;user:password@ip/share/directory/ !-->
<!-- smb://user:password@ip/share/ !-->
<!-- Only if guest/public access is enabled: !-->
<!-- smb://ip/ !-->
<path>smb://Novoserver;xbox:xbox@(Fake IP)/</path>
</bookmark>
<bookmark>
<name>WORKGROUPS (SMB) Network</name>
<path>smb://(Fake IP)</path>
</bookmark>
</files>

<homebuttons>
<button>
<description>My Programs</description>
<label>0</label>
<execute>XBMC.ActivateWindow(1)</execute>
<icon>102</icon>
</button>
<button>
<description>My Files</description>
<label>7</label>
<execute>XBMC.ActivateWindow(3)</execute>
<icon>106</icon>
</button>
<button>
<description>My Pictures</description>
<label>1</label>
<execute>XBMC.ActivateWindow(2)</execute>
<icon>104</icon>
</button>
<button>
<description>My Music</description>
<label>2</label>
<execute>XBMC.ActivateWindow(501)</execute>
<icon>103</icon>
</button>
<button>
<description>My Videos</description>
<label>3</label>
<execute>XBMC.ActivateWindow(6)</execute>
<icon>105</icon>
</button>
<button>
<description>Weather</description>
<label>8</label>
<execute>XBMC.ActivateWindow(2600)</execute>
<icon>107</icon>
</button>
<button>
<description>Settings</description>
<label>5</label>
<execute>XBMC.ActivateWindow(4)</execute>
<icon>109</icon>
</button>
<default>0</default>
</homebuttons>

</xboxmediacenter>

ursäkta jätteposten men vill inte utesluta nånting om jag har klantat mig nånstans där det är orelevant för smb

*Que?*

Trädvy Permalänk
Medlem
Plats
Slottsbron
Registrerad
Jan 2002

varför använder du en såndära address istället för ett ip? det är väl från ditt lokala nätverk du ska streama? ska funka med datornamnet tror ja, men en såndär address funkar nog inte riktigt som det ska tror jag.

peter@server ~ $ uptime
22:26:14 up 30 days, 21:28, 4 users, load average: 21.77, 42.33, 26.94

Trädvy Permalänk
Medlem
Plats
sundsvall
Registrerad
Dec 2003

aha så jag behöver bara ange domän?

men det finns ju inget alternativ för att bara ange domän? isf måste jag ange domän, anvnamn,lösen,ip, och share dvs att man kommer till bara en enda mapp, jag vill ha det som när jag servade med windows, dvs att jag kommer till grunden för nätverket å sen får välja arbetsgrupp med mer ?

*Que?*

Trädvy Permalänk
Medlem
Plats
Slottsbron
Registrerad
Jan 2002

skriv då bara "<path>smb://</path>" så tror ja det ska funka..

peter@server ~ $ uptime
22:26:14 up 30 days, 21:28, 4 users, load average: 21.77, 42.33, 26.94

Trädvy Permalänk
Medlem
Plats
sundsvall
Registrerad
Dec 2003

såsant så fungerade ju prima.. det var sharen från linux det var fel på, eller rättare sagt ett otilåtet tecken i servernamnet

*Que?*